summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/arm/lpc24xx/include/bsp.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h b/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h
index 79fc077493..210f2ab862 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h
+++ b/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h
@@ -25,14 +25,6 @@
#include <bspopts.h>
-#include <rtems.h>
-#include <rtems/console.h>
-#include <rtems/clockdrv.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
#define BSP_FEATURE_IRQ_EXTENSION
#define LPC24XX_PCLK (LPC24XX_CCLK / LPC24XX_PCLKDIV)
@@ -49,6 +41,16 @@ extern "C" {
#ifndef ASM
+#include <rtems.h>
+#include <rtems/console.h>
+#include <rtems/clockdrv.h>
+
+#include <bsp/default-initial-extension.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
struct rtems_bsdnet_ifconfig;
/**
@@ -111,10 +113,10 @@ void bsp_restart(void *addr);
/** @} */
-#endif /* ASM */
-
#ifdef __cplusplus
}
#endif /* __cplusplus */
+#endif /* ASM */
+
#endif /* LIBBSP_ARM_LPC24XX_BSP_H */