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
This commit is contained in:
patacongo 2011-04-19 01:16:40 +00:00
parent 187d15ace9
commit 727a52cacb
4 changed files with 10 additions and 8 deletions

View File

@ -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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -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

View File

@ -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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -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.