diff options
-rw-r--r-- | demos/ARMCM3-STM32F103-GCC/board.h | 7 | ||||
-rw-r--r-- | demos/ARMCM3-STM32F103-GCC/main.c | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/demos/ARMCM3-STM32F103-GCC/board.h b/demos/ARMCM3-STM32F103-GCC/board.h index ef1ecbdaf..d2aaa19f7 100644 --- a/demos/ARMCM3-STM32F103-GCC/board.h +++ b/demos/ARMCM3-STM32F103-GCC/board.h @@ -32,6 +32,13 @@ #define FALSE 0
#define TRUE (!FALSE)
+/*
+ * This module requires the port driver. + */
+#ifndef _IOPORTS_LLD_H_
+#include "ioports.h"
+#endif
+
#define BOARD_OLIMEX_STM32_P103
/*
diff --git a/demos/ARMCM3-STM32F103-GCC/main.c b/demos/ARMCM3-STM32F103-GCC/main.c index 01e4eaab5..81a9af702 100644 --- a/demos/ARMCM3-STM32F103-GCC/main.c +++ b/demos/ARMCM3-STM32F103-GCC/main.c @@ -21,7 +21,6 @@ #include <test.h>
#include "board.h"
-#include "ioports.h"
#include "stm32_serial.h"
/*
|