aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-06-02 09:38:09 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-06-02 09:38:09 +0000
commit26ba1c43bbc3202354525a8e6c573d2a9f34fc50 (patch)
tree97cb642851ca0ce824e0a0ad946325377068d4e6 /demos
parent97177506043af367d3da1f165903f0721ba7120a (diff)
downloadChibiOS-26ba1c43bbc3202354525a8e6c573d2a9f34fc50.tar.gz
ChibiOS-26ba1c43bbc3202354525a8e6c573d2a9f34fc50.tar.bz2
ChibiOS-26ba1c43bbc3202354525a8e6c573d2a9f34fc50.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1012 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/ARMCM3-STM32F103-GCC/board.h7
-rw-r--r--demos/ARMCM3-STM32F103-GCC/main.c1
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"
/*