diff options
author | px4dev <px4@purgatory.org> | 2012-11-02 22:46:10 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-11-03 01:14:24 -0700 |
commit | c8e90688b0e7a4b92a5f5067f3d74b085cc8e82b (patch) | |
tree | bf5e4f1791a694c3ae10a1c134f02e596b3c24db | |
parent | ad7db2892924786e07e72c4bb80785affc8303bd (diff) | |
download | px4-firmware-c8e90688b0e7a4b92a5f5067f3d74b085cc8e82b.tar.gz px4-firmware-c8e90688b0e7a4b92a5f5067f3d74b085cc8e82b.tar.bz2 px4-firmware-c8e90688b0e7a4b92a5f5067f3d74b085cc8e82b.zip |
Fix px4fmu build.
-rwxr-xr-x | nuttx/configs/px4fmu/include/board.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nuttx/configs/px4fmu/include/board.h b/nuttx/configs/px4fmu/include/board.h index 2ee616c26..3f0f26ba1 100755 --- a/nuttx/configs/px4fmu/include/board.h +++ b/nuttx/configs/px4fmu/include/board.h @@ -188,6 +188,18 @@ # define HRT_TIMER_CHANNEL 1 /* use capture/compare channel */ #endif +/* LED definitions ******************************************************************/ +/* PX4 has two LEDs that we will encode as: */ + +#define LED_STARTED 0 /* LED? */ +#define LED_HEAPALLOCATE 1 /* LED? */ +#define LED_IRQSENABLED 2 /* LED? + LED? */ +#define LED_STACKCREATED 3 /* LED? */ +#define LED_INIRQ 4 /* LED? + LED? */ +#define LED_SIGNAL 5 /* LED? + LED? */ +#define LED_ASSERTION 6 /* LED? + LED? + LED? */ +#define LED_PANIC 7 /* N/C + N/C + N/C + LED? */ + /* Alternate function pin selections ************************************************/ /* |