summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/arm/lpc32xx/include/bsp.h')
-rw-r--r--c/src/lib/libbsp/arm/lpc32xx/include/bsp.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h b/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h
index 43e0d9036a..5d9d18ac3b 100644
--- a/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h
+++ b/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h
@@ -25,20 +25,21 @@
#include <bspopts.h>
+#define BSP_FEATURE_IRQ_EXTENSION
+
+#ifndef ASM
+
#include <rtems.h>
#include <rtems/console.h>
#include <rtems/clockdrv.h>
#include <bsp/lpc32xx.h>
+#include <bsp/default-initial-extension.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-#define BSP_FEATURE_IRQ_EXTENSION
-
-#ifndef ASM
-
struct rtems_bsdnet_ifconfig;
/**
@@ -247,10 +248,10 @@ extern uint32_t lpc32xx_magic_zero_size [];
* @brief LPC support package.
*/
-#endif /* ASM */
-
#ifdef __cplusplus
}
#endif /* __cplusplus */
+#endif /* ASM */
+
#endif /* LIBBSP_ARM_LPC32XX_BSP_H */