From c8e90688b0e7a4b92a5f5067f3d74b085cc8e82b Mon Sep 17 00:00:00 2001 From: px4dev Date: Fri, 2 Nov 2012 22:46:10 -0700 Subject: Fix px4fmu build. --- nuttx/configs/px4fmu/include/board.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 ************************************************/ /* -- cgit v1.2.3