diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-06-13 15:42:11 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-06-13 15:42:11 +0000 |
commit | 0798efef0c881858173d0001682526195e5a6b85 (patch) | |
tree | e2b97434559900a1a4589b7506e5e9a64a143ebf /nuttx/configs/nucleus2g | |
parent | 4223c35adc0674a935a028b603cbe42c54b1a244 (diff) | |
download | px4-nuttx-0798efef0c881858173d0001682526195e5a6b85.tar.gz px4-nuttx-0798efef0c881858173d0001682526195e5a6b85.tar.bz2 px4-nuttx-0798efef0c881858173d0001682526195e5a6b85.zip |
Add USB device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2743 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/nucleus2g')
-rwxr-xr-x | nuttx/configs/nucleus2g/src/up_leds.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/nuttx/configs/nucleus2g/src/up_leds.c b/nuttx/configs/nucleus2g/src/up_leds.c index 6ac41ff41..a3babda36 100755 --- a/nuttx/configs/nucleus2g/src/up_leds.c +++ b/nuttx/configs/nucleus2g/src/up_leds.c @@ -89,6 +89,24 @@ * Private Data ****************************************************************************/ +/* The Nucleus2G has 3 LEDs... two on the Babel CAN board and a "heartbeat" LED." + * The LEDs on the Babel CAN board are capabl of OFF/GREEN/RED/AMBER status. + * In normal usage, the two LEDs on the Babel CAN board would show CAN status, but if + * CONFIG_ARCH_LEDS is defined, these LEDs will be controlled as follows for NuttX + * debug functionality (where NC means "No Change"). + * + * LED1 LED2 HEARTBEAT + * +------- ------ ----------------------- + * LED_STARTED | OFF OFF OFF + * LED_HEAPALLOCATE | GREEN OFF OFF + * LED_IRQSENABLED | OFF GREEN OFF + * LED_STACKCREATED | GREEN GREEN OFF + * LED_INIRQ | NC NC ON + * LED_SIGNAL | NC RED NC + * LED_ASSERTION | RED NC NC + * LED_PANIC | RED RED NC (1Hz flashing) + */ + static const uint8_t g_led1on[8] = { LED_OFF, LED_GREEN, LED_OFF, LED_GREEN, |