summaryrefslogtreecommitdiff
path: root/nuttx/configs/mx1ads/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-04-10 22:07:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-04-10 22:07:20 +0000
commit7b7fc55ce2dcc9adae56185d40e62e6c2276c98f (patch)
tree759bc03e7ba223c70abd7c3311ed3ffadf168bbb /nuttx/configs/mx1ads/include
parent6a80bc8280dfdd98426010f986928a142debddfd (diff)
downloadpx4-nuttx-7b7fc55ce2dcc9adae56185d40e62e6c2276c98f.tar.gz
px4-nuttx-7b7fc55ce2dcc9adae56185d40e62e6c2276c98f.tar.bz2
px4-nuttx-7b7fc55ce2dcc9adae56185d40e62e6c2276c98f.zip
Basic i.MX1 low-level boot
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1695 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/mx1ads/include')
-rw-r--r--nuttx/configs/mx1ads/include/board.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/nuttx/configs/mx1ads/include/board.h b/nuttx/configs/mx1ads/include/board.h
index a71905566..6be596e47 100644
--- a/nuttx/configs/mx1ads/include/board.h
+++ b/nuttx/configs/mx1ads/include/board.h
@@ -48,6 +48,20 @@
/************************************************************************************
* Definitions
************************************************************************************/
+
+/* LED definitions ******************************************************************/
+
+/* The MX1ADS has only one usable LED: Port A, bit 2 */
+
+ /* ON OFF */
+#define LED_STARTED 0 /* OFF OFF */
+#define LED_HEAPALLOCATE 1 /* OFF OFF */
+#define LED_IRQSENABLED 2 /* OFF OFF */
+#define LED_STACKCREATED 3 /* OFF OFF */
+#define LED_INIRQ 4 /* ON OFF */
+#define LED_SIGNAL 5 /* ON OFF */
+#define LED_ASSERTION 6 /* ON OFF */
+#define LED_PANIC 7 /* ON OFF */
/************************************************************************************
* Inline Functions