summaryrefslogtreecommitdiff
path: root/nuttx/configs/olimex-lpc1766stk/include/board.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-02 14:43:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-02 14:43:28 +0000
commitdd2673f8ec1cb07aae5e94c44eaf1118491a8d64 (patch)
tree51dd8141e5501ca2532309aafbd047cf1ff3121c /nuttx/configs/olimex-lpc1766stk/include/board.h
parentdec7f69cce6af4bf8131c13467907477ffdc6500 (diff)
downloadpx4-nuttx-dd2673f8ec1cb07aae5e94c44eaf1118491a8d64.tar.gz
px4-nuttx-dd2673f8ec1cb07aae5e94c44eaf1118491a8d64.tar.bz2
px4-nuttx-dd2673f8ec1cb07aae5e94c44eaf1118491a8d64.zip
Add logic to sleep in lpc17xx idle loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3329 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/olimex-lpc1766stk/include/board.h')
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/include/board.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/nuttx/configs/olimex-lpc1766stk/include/board.h b/nuttx/configs/olimex-lpc1766stk/include/board.h
index 275714da0..33c44b885 100755
--- a/nuttx/configs/olimex-lpc1766stk/include/board.h
+++ b/nuttx/configs/olimex-lpc1766stk/include/board.h
@@ -136,11 +136,12 @@
#define LED_HEAPALLOCATE 0 /* OFF OFF = Still initializing */
#define LED_IRQSENABLED 0 /* OFF OFF = Still initializing */
#define LED_STACKCREATED 1 /* ON OFF = Initialization complete */
-#define LED_INIRQ 2 /* NC ON = In an interrupt handler */
-#define LED_SIGNAL 2 /* NC ON = In a signal handler */
-#define LED_ASSERTION 2 /* NC ON = In an assertion */
-#define LED_PANIC 2 /* NC ON = Oops! We crashed. (flashing) */
-
+#define LED_INIRQ 2 /* N/C ON = In an interrupt handler */
+#define LED_SIGNAL 2 /* N/C ON = In a signal handler (glowing) */
+#define LED_ASSERTION 2 /* N/C ON = In an assertion */
+#define LED_PANIC 2 /* N/C ON = Oops! We crashed. (flashing) */
+#define LED_IDLE 3 /* OFF N/C = LPC17 in sleep mode (LED1 glowing) */
+
/* Alternate pin selections *********************************************************/
/* CAN1 GPIO PIN SIGNAL NAME