summaryrefslogtreecommitdiff
path: root/nuttx/configs/open1788/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-12 21:27:51 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-12 21:27:51 +0000
commitef68b800bb88f5226ab778d5f434c9b746a2e930 (patch)
treeb5d90776974c595a3bd29fef9c694a24b033158c /nuttx/configs/open1788/README.txt
parentc278caf8a84f8a5b2861a2240be7eccd10e6160b (diff)
downloadpx4-nuttx-ef68b800bb88f5226ab778d5f434c9b746a2e930.tar.gz
px4-nuttx-ef68b800bb88f5226ab778d5f434c9b746a2e930.tar.bz2
px4-nuttx-ef68b800bb88f5226ab778d5f434c9b746a2e930.zip
Add LED, button definition, and more EMC logic for the LPC1788
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5646 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/open1788/README.txt')
-rw-r--r--nuttx/configs/open1788/README.txt49
1 files changed, 49 insertions, 0 deletions
diff --git a/nuttx/configs/open1788/README.txt b/nuttx/configs/open1788/README.txt
index 154d4b2f7..c207254ca 100644
--- a/nuttx/configs/open1788/README.txt
+++ b/nuttx/configs/open1788/README.txt
@@ -8,9 +8,58 @@ NXP LPC1788 MCU
CONTENTS
========
+ o LEDs
+ o Buttons
o FPU
o Configuration
+LEDs
+====
+
+The Open1788 base board has four user LEDs
+
+ LED1 : Connected to P1[14]
+ LED2 : Connected to P0[16]
+ LED3 : Connected to P1[13]
+ LED4 : Connected to P4[27]
+
+If CONFIG_ARCH_LEDS is not defined, then the user can control the LEDs in
+any way using the defitions provided in the board.h header file.
+
+If CONFIG_ARCH_LEDs is defined, then NuttX will control the 3 LEDs on the
+WaveShare Open1788K. The following definitions describe how NuttX controls
+the LEDs:
+ LED1 LED2 LED3 LED4
+ LED_STARTED OFF OFF OFF OFF
+ LED_HEAPALLOCATE ON OFF OFF OFF
+ LED_IRQSENABLED OFF ON OFF OFF
+ LED_STACKCREATED ON ON OFF OFF
+ LED_INIRQ LED3 glows, on while in interupt
+ LED_SIGNAL LED3 glows, on while in signal handler
+ LED_ASSERTION LED3 glows, on while in assertion
+ LED_PANIC LED3 Flashes at 2Hz
+ LED_IDLE LED glows, ON while sleeping
+
+Buttons
+=======
+
+The Open1788K supports several buttons:
+
+ USER1 : Connected to P4[26]
+ USER2 : Connected to P2[22]
+ USER3 : Connected to P0[10]
+
+And a Joystick
+
+ JOY_A : Connected to P2[25]
+ JOY_B : Connected to P2[26]
+ JOY_C : Connected to P2[23]
+ JOY_D : Connected to P2[19]
+ JOY_CTR : Connected to P0[14]
+
+These can be accessed using the definitions and interfaces defined in the
+board.h header file.
+
FPU
===