diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-10-10 23:05:59 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-10-10 23:05:59 +0000 |
commit | ef5a403a600202cc899811ad933c70cc2df08d4b (patch) | |
tree | ac20e4a8767b2a674cf03f80b07f82bd8453f9fc /nuttx/configs/pic32-starterkit/src/up_leds.c | |
parent | f5ceed6eb99ef75a3943ff291ae75da5580eaef8 (diff) | |
download | px4-nuttx-ef5a403a600202cc899811ad933c70cc2df08d4b.tar.gz px4-nuttx-ef5a403a600202cc899811ad933c70cc2df08d4b.tar.bz2 px4-nuttx-ef5a403a600202cc899811ad933c70cc2df08d4b.zip |
Misc PIC32 clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4038 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/pic32-starterkit/src/up_leds.c')
-rw-r--r-- | nuttx/configs/pic32-starterkit/src/up_leds.c | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/nuttx/configs/pic32-starterkit/src/up_leds.c b/nuttx/configs/pic32-starterkit/src/up_leds.c index ff2fffa92..0dd89dc46 100644 --- a/nuttx/configs/pic32-starterkit/src/up_leds.c +++ b/nuttx/configs/pic32-starterkit/src/up_leds.c @@ -58,24 +58,19 @@ /**************************************************************************** * Definitions ****************************************************************************/ -/* The Sure PIC32MX board has five LEDs. One (D4, lablel "Power") is not - * controllable by software. Four are controllable by software: +/* The PIC32 starter kit has 3 user LEDs * - * D7 "USB" Yellow RD7 Low illuminates - * D8 "SD" Yellow RD6 Low illuminates - * D9 "Flash" Yellow RF0 Low illuminates - * D10 "Error" Red RF1 Low illuminates + * RD0 User LED D4 (high illuminates) + * RD2 User LED D5 (high illuminates) + * RD1 User LED D6 (high illuminates) * - * ON OFF - * USB SD FLASH ERROR USB SD FLASH ERROR - * LED_STARTED 0 OFF OFF OFF OFF --- --- --- --- - * LED_HEAPALLOCATE 1 ON OFF N/C N/C --- --- --- --- - * LED_IRQSENABLED 2 OFF ON N/C N/C --- --- --- --- - * LED_STACKCREATED 3 ON ON N/C N/C --- --- --- --- - * LED_INIRQ 4 N/C N/C ON N/C N/C N/C OFF N/C - * LED_SIGNAL 4 N/C N/C ON N/C N/C N/C OFF N/C - * LED_ASSERTION 4 N/C N/C ON N/C N/C N/C OFF N/C - * LED_PANIC 5 N/C N/C N/C ON N/C N/C N/C OFF + * There are 5 LEDs available on the MEB: + * + * RD1 LED1 + * RD2 LED2 + * RD3 LED3 + * RC1 LED4 + * RC2 LED5 */ /* Enables debug output from this file (needs CONFIG_DEBUG with |