From 727a52cacb16d269884d532a444c5482612ec052 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 19 Apr 2011 01:16:40 +0000 Subject: [PATCH] Finish integration of the LPCXpresso OLED NX example git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3523 42af7a65-404d-4744-a932-0658087f49c3 --- configs/lpcxpresso-lpc1768/README.txt | 2 +- configs/lpcxpresso-lpc1768/nx/defconfig | 10 ++++++---- configs/nucleus2g/README.txt | 4 ++-- configs/olimex-lpc1766stk/README.txt | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/configs/lpcxpresso-lpc1768/README.txt b/configs/lpcxpresso-lpc1768/README.txt index ca5de5ef587..4a9280a0e9c 100755 --- a/configs/lpcxpresso-lpc1768/README.txt +++ b/configs/lpcxpresso-lpc1768/README.txt @@ -515,7 +515,7 @@ LEDs intialialized, but is not takint interrupts. - If a fatal assertion or a fatal unhandled exception occurs, the LED will flash - strongly as a slow, 1Hz rate. + strongly as a slow, 2Hz rate. LPCXpresso Configuration Options ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/configs/lpcxpresso-lpc1768/nx/defconfig b/configs/lpcxpresso-lpc1768/nx/defconfig index f06875b35ec..69b497b9a09 100755 --- a/configs/lpcxpresso-lpc1768/nx/defconfig +++ b/configs/lpcxpresso-lpc1768/nx/defconfig @@ -791,9 +791,9 @@ CONFIG_LCD_MAXPOWER=2 CONFIG_LCD_MAXCONTRAST=255 CONFIG_NX_MOUSE=y CONFIG_NX_KBD=y -#CONFIG_NXTK_BORDERWIDTH=4 -CONFIG_NXTK_BORDERCOLOR1=8 -CONFIG_NXTK_BORDERCOLOR2=4 +CONFIG_NXTK_BORDERWIDTH=2 +CONFIG_NXTK_BORDERCOLOR1=1 +CONFIG_NXTK_BORDERCOLOR2=0 CONFIG_NXTK_AUTORAISE=n CONFIG_NXFONT_SANS=y CONFIG_NXFONTS_CHARBITS=7 @@ -826,7 +826,7 @@ CONFIG_NX_MXCLIENTMSGS=16 # CONFIG_SPI_CMDDATA - Include support for cmd/data selection. # CONFIG_LCD_UG9664HSWAG01=y -CONFIG_UG9664HSWAG01_SPIMODE=2 +CONFIG_UG9664HSWAG01_SPIMODE=0 CONFIG_UG9664HSWAG01_FREQUENCY=3500000 CONFIG_UG9664HSWAG01_NINTERFACES=1 CONFIG_UG9664HSWAG01_POWER=y @@ -1011,6 +1011,7 @@ CONFIG_EXAMPLES_USBSTRG_TRACEINTERRUPTS=n # buffer driver for use in the test. Default: 0 # CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD # driver for use in the test: Default: 0 +# CONFIG_EXAMPLES_NX_TOOLBAR_HEIGHT - The height of the toolbar in rows. # CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on # CONFIG_EXAMPLES_NX_BPP. # CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on @@ -1033,6 +1034,7 @@ CONFIG_EXAMPLES_USBSTRG_TRACEINTERRUPTS=n # nx_eventnotify(). Default: 4 CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 +CONFIG_EXAMPLES_NX_TOOLBAR_HEIGHT=4 CONFIG_EXAMPLES_NX_BGCOLOR=0 CONFIG_EXAMPLES_NX_COLOR1=1 CONFIG_EXAMPLES_NX_COLOR2=1 diff --git a/configs/nucleus2g/README.txt b/configs/nucleus2g/README.txt index 1a3b8d659bb..2353fe34b4d 100755 --- a/configs/nucleus2g/README.txt +++ b/configs/nucleus2g/README.txt @@ -249,7 +249,7 @@ LEDs #define LED_INIRQ 4 /* NC NC ON (momentary) */ #define LED_SIGNAL 5 /* NC NC ON (momentary) */ #define LED_ASSERTION 6 /* NC NC ON (momentary) */ - #define LED_PANIC 7 /* NC NC ON (0.5Hz flashing) */ + #define LED_PANIC 7 /* NC NC ON (2Hz flashing) */ #undef LED_IDLE /* Sleep mode indication not supported */ After the system is booted, this logic will no longer use LEDs 1 and 2. They @@ -269,7 +269,7 @@ LEDs The heartbeat LED is illuminated during all interrupt and signal procressing. Normally, it will glow dimly to inicate that the LPC17xx is taking interrupts. - On an assertion PANIC, it will flash at 1Hz. + On an assertion PANIC, it will flash at 2Hz. Nucleus 2G Configuration Options ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/configs/olimex-lpc1766stk/README.txt b/configs/olimex-lpc1766stk/README.txt index 056b5aa36a6..b85d2a87a23 100755 --- a/configs/olimex-lpc1766stk/README.txt +++ b/configs/olimex-lpc1766stk/README.txt @@ -337,7 +337,7 @@ LEDs - ON/OFF toggles means that various events are happening. - GLowing: LED2 is turned on and off on every interrupt so even timer interrupts should cause LED2 to glow faintly in the normal case. - - Flashing. If the LED2 is flashing at about 0.5Hz, that means that a crash + - Flashing. If the LED2 is flashing at about 2Hz, that means that a crash has occurred. If CONFIG_ARCH_STACKDUMP=y, you will get some diagnostic information on the console to help debug what happened.