diff --git a/configs/lpcxpresso-lpc1768/README.txt b/configs/lpcxpresso-lpc1768/README.txt index 1ccd7f623c3..ca5de5ef587 100755 --- a/configs/lpcxpresso-lpc1768/README.txt +++ b/configs/lpcxpresso-lpc1768/README.txt @@ -140,7 +140,8 @@ USB Device PIO0_3-VBUS_SENSE** 39 P0.5 These jumper settings are listed for information only. They are *not* - required for use with NuttX and LPCXpresso. + required for use with NuttX and LPCXpresso. The configurable pins + (P0.21 and P0.5) are not used! *J14 must be set to permit GPIO control of the USB connect pin **J12 must be set to permit GPIO control of the USB vbus sense pin @@ -163,7 +164,7 @@ USB Device P0.5/I2SRX-WS/TD2/CAP2.1 P0[5] | 39 | PIO0_3-VBUS_SENSE VBUS via J12 ------------------------------ --------------+------+------------------- --------------------------- - *P2.9 Connect to a transistor driven USB-D+ pullup on the LPCXpresso board. + *P2.9 connects to a transistor driven USB-D+ pullup on the LPCXpresso board. 96x64 White OLED with I2C/SPI interface --------------------------------------- @@ -719,6 +720,9 @@ Where is one of the following: (for execution from FLASH.) See apps/examples/README.txt for information about the dhcpd example. + Jumpers: Nothing special. Use the default base board jumper + settings. + nsh: Configures the NuttShell (nsh) located at apps/examples/nsh. The Configuration enables both the serial and telnet NSH interfaces. @@ -730,9 +734,28 @@ Where is one of the following: removes the problem. TODO: Tune this frequency to some optimal value. + Jumpers: J55 must be set to provide chip select PIO1_11 signal as + the SD slot chip select. + + nx: + And example using the NuttX graphics system (NX). This example + uses the UG-9664HSWAG01 driver. + + Jumpers: There are several jumper settings needed by the OLED. + All are the default settings: + + J42: Close to select the SPI interface (Default: closed) + J43: Close to support OLED command/data select (Default: closed) + J44: Close to allow control of OLED voltage (Default: closed) + J45: Close to select SPI clock (Default: closed) + J46: Close SPI data input (MOSI) (Default:closed) + ostest: This configuration directory, performs a simple OS test using apps/examples/ostest. + + Jumpers: Nothing special. Use the default base board jumper + settings. thttpd: This builds the THTTPD web server example using the THTTPD and @@ -741,6 +764,9 @@ Where is one of the following: NOTE: You will need to build the NXFLAT toolchain as described above in order to use this example. + Jumpers: Nothing special. Use the default base board jumper + settings. + usbstorage: This configuration directory exercises the USB mass storage class driver at apps/examples/usbstorage. See apps/examples/README.txt @@ -750,3 +776,7 @@ Where is one of the following: high and the SD will fail. Setting that frequency to 400000 removes the problem. TODO: Tune this frequency to some optimal value. + + Jumpers: J55 must be set to provide chip select PIO1_11 signal as + the SD slot chip select. + diff --git a/configs/lpcxpresso-lpc1768/dhcpd/defconfig b/configs/lpcxpresso-lpc1768/dhcpd/defconfig index cb20930ec21..a638ba538aa 100755 --- a/configs/lpcxpresso-lpc1768/dhcpd/defconfig +++ b/configs/lpcxpresso-lpc1768/dhcpd/defconfig @@ -76,7 +76,7 @@ CONFIG_ARCH_CHIP=lpc17xx CONFIG_ARCH_CHIP_LPC1768=y CONFIG_ARCH_BOARD=lpcxpresso-lpc1768 CONFIG_ARCH_BOARD_LPCXPRESSO=y -CONFIG_BOARD_LOOPSPERMSEC=7982 +CONFIG_BOARD_LOOPSPERMSEC=8079 CONFIG_DRAM_SIZE=(32*1024) CONFIG_DRAM_START=0x10000000 CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE) diff --git a/configs/lpcxpresso-lpc1768/nsh/defconfig b/configs/lpcxpresso-lpc1768/nsh/defconfig index 76ca6d88b5c..6a2dfb006e7 100755 --- a/configs/lpcxpresso-lpc1768/nsh/defconfig +++ b/configs/lpcxpresso-lpc1768/nsh/defconfig @@ -76,7 +76,7 @@ CONFIG_ARCH_CHIP=lpc17xx CONFIG_ARCH_CHIP_LPC1768=y CONFIG_ARCH_BOARD=lpcxpresso-lpc1768 CONFIG_ARCH_BOARD_LPCXPRESSO=y -CONFIG_BOARD_LOOPSPERMSEC=7982 +CONFIG_BOARD_LOOPSPERMSEC=8079 CONFIG_DRAM_SIZE=(32*1024) CONFIG_DRAM_START=0x10000000 CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE) diff --git a/configs/lpcxpresso-lpc1768/nx/defconfig b/configs/lpcxpresso-lpc1768/nx/defconfig index db720580488..f06875b35ec 100755 --- a/configs/lpcxpresso-lpc1768/nx/defconfig +++ b/configs/lpcxpresso-lpc1768/nx/defconfig @@ -76,7 +76,7 @@ CONFIG_ARCH_CHIP=lpc17xx CONFIG_ARCH_CHIP_LPC1768=y CONFIG_ARCH_BOARD=lpcxpresso-lpc1768 CONFIG_ARCH_BOARD_LPCXPRESSO=y -CONFIG_BOARD_LOOPSPERMSEC=7982 +CONFIG_BOARD_LOOPSPERMSEC=8079 CONFIG_DRAM_SIZE=(32*1024) CONFIG_DRAM_START=0x10000000 CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE) diff --git a/configs/lpcxpresso-lpc1768/ostest/defconfig b/configs/lpcxpresso-lpc1768/ostest/defconfig index 85315674327..718766c45f8 100755 --- a/configs/lpcxpresso-lpc1768/ostest/defconfig +++ b/configs/lpcxpresso-lpc1768/ostest/defconfig @@ -76,7 +76,7 @@ CONFIG_ARCH_CHIP=lpc17xx CONFIG_ARCH_CHIP_LPC1768=y CONFIG_ARCH_BOARD=lpcxpresso-lpc1768 CONFIG_ARCH_BOARD_LPCXPRESSO=y -CONFIG_BOARD_LOOPSPERMSEC=7982 +CONFIG_BOARD_LOOPSPERMSEC=8079 CONFIG_DRAM_SIZE=(32*1024) CONFIG_DRAM_START=0x10000000 CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE) diff --git a/configs/lpcxpresso-lpc1768/src/up_oled.c b/configs/lpcxpresso-lpc1768/src/up_oled.c index 84d099153f8..f3d884bb396 100755 --- a/configs/lpcxpresso-lpc1768/src/up_oled.c +++ b/configs/lpcxpresso-lpc1768/src/up_oled.c @@ -151,7 +151,7 @@ FAR struct lcd_dev_s *up_nxdrvinit(unsigned int devno) return NULL; } -/****************************************************************************** +/**************************************************************************** * Name: lpc17_ssp1cmddata * * Description: @@ -172,7 +172,7 @@ FAR struct lcd_dev_s *up_nxdrvinit(unsigned int devno) * Returned Value: * None * - ******************************************************************************/ + ****************************************************************************/ int lpc17_ssp1cmddata(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool cmd) { @@ -203,12 +203,12 @@ int lpc17_ssp1cmddata(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool cmd) * Returned Value: * None * - **************************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_UG9664HSWAG01_POWER void ug_power(unsigned int devno, bool on) { - gllvdbg("on: \n", on ? "TRUE" : "FALSE"); + gllvdbg("power %s\n", on ? "ON" : "OFF"); (void)lpc17_gpiowrite(LPCXPRESSO_OLED_POWER, on); } #endif diff --git a/configs/lpcxpresso-lpc1768/thttpd/defconfig b/configs/lpcxpresso-lpc1768/thttpd/defconfig index dc7dba9376e..8816c7fdcec 100755 --- a/configs/lpcxpresso-lpc1768/thttpd/defconfig +++ b/configs/lpcxpresso-lpc1768/thttpd/defconfig @@ -76,7 +76,7 @@ CONFIG_ARCH_CHIP=lpc17xx CONFIG_ARCH_CHIP_LPC1768=y CONFIG_ARCH_BOARD=lpcxpresso-lpc1768 CONFIG_ARCH_BOARD_LPCXPRESSO=y -CONFIG_BOARD_LOOPSPERMSEC=7982 +CONFIG_BOARD_LOOPSPERMSEC=8079 CONFIG_DRAM_SIZE=(32*1024) CONFIG_DRAM_START=0x10000000 CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE) diff --git a/configs/lpcxpresso-lpc1768/usbstorage/defconfig b/configs/lpcxpresso-lpc1768/usbstorage/defconfig index e8f9d62867a..04ce1472cc5 100755 --- a/configs/lpcxpresso-lpc1768/usbstorage/defconfig +++ b/configs/lpcxpresso-lpc1768/usbstorage/defconfig @@ -76,7 +76,7 @@ CONFIG_ARCH_CHIP=lpc17xx CONFIG_ARCH_CHIP_LPC1768=y CONFIG_ARCH_BOARD=lpcxpresso-lpc1768 CONFIG_ARCH_BOARD_LPCXPRESSO=y -CONFIG_BOARD_LOOPSPERMSEC=7982 +CONFIG_BOARD_LOOPSPERMSEC=8079 CONFIG_DRAM_SIZE=(32*1024) CONFIG_DRAM_START=0x10000000 CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE)