summaryrefslogtreecommitdiff
path: root/nuttx/arch/c5471/src/up_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/c5471/src/up_internal.h')
-rw-r--r--nuttx/arch/c5471/src/up_internal.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/nuttx/arch/c5471/src/up_internal.h b/nuttx/arch/c5471/src/up_internal.h
index c50a78483..60cc25273 100644
--- a/nuttx/arch/c5471/src/up_internal.h
+++ b/nuttx/arch/c5471/src/up_internal.h
@@ -40,6 +40,14 @@
* Included Files
************************************************************/
+#include <nuttx/config.h>
+
+#if defined(CONFIG_BOARD_C5471EVM)
+# include <arch/board/c5471evm.h>
+#else
+# warning "Undefined C5471 Board"
+#endif
+
/************************************************************
* Definitions
************************************************************/
@@ -55,17 +63,6 @@
#undef CONFIG_SUPPRESS_UART_CONFIG /* Do not reconfig UART */
#undef CONFIG_DUMP_ON_EXIT /* Dump task state on exit */
-/* LED definitions */
-
-#define LED_STARTED 0
-#define LED_HEAPALLOCATE 1
-#define LED_IRQSENABLED 2
-#define LED_STACKCREATED 3
-#define LED_INIRQ 4
-#define LED_SIGNAL 5
-#define LED_ASSERTION 6
-#define LED_PANIC 7
-
/************************************************************
* Public Types
************************************************************/