aboutsummaryrefslogtreecommitdiffstats
path: root/boards/OLIMEX_STM32_P103/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'boards/OLIMEX_STM32_P103/board.h')
-rw-r--r--boards/OLIMEX_STM32_P103/board.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/boards/OLIMEX_STM32_P103/board.h b/boards/OLIMEX_STM32_P103/board.h
index 7ad0ffa7e..31fa3419c 100644
--- a/boards/OLIMEX_STM32_P103/board.h
+++ b/boards/OLIMEX_STM32_P103/board.h
@@ -37,6 +37,12 @@
#define STM32_HSECLK 8000000
/*
+ * MCU type, this macro is used by both the ST library and the ChibiOS/RT
+ * native STM32 HAL.
+ */
+#define STM32F10X_MD
+
+/*
* IO pins assignments.
*/
#define GPIOA_BUTTON 0