aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/OLIMEX_STM32_E407
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/boards/OLIMEX_STM32_E407')
-rw-r--r--os/hal/boards/OLIMEX_STM32_E407/board.h4
-rw-r--r--os/hal/boards/OLIMEX_STM32_E407/cfg/board.chcfg1
2 files changed, 3 insertions, 2 deletions
diff --git a/os/hal/boards/OLIMEX_STM32_E407/board.h b/os/hal/boards/OLIMEX_STM32_E407/board.h
index 505f30f7d..fa326a08c 100644
--- a/os/hal/boards/OLIMEX_STM32_E407/board.h
+++ b/os/hal/boards/OLIMEX_STM32_E407/board.h
@@ -52,9 +52,9 @@
#define STM32_VDD 330
/*
- * MCU type as defined in the ST header file stm32f4xx.h.
+ * MCU type as defined in the ST header.
*/
-#define STM32F4XX
+#define STM32F401xx
/*
* IO pins assignments.
diff --git a/os/hal/boards/OLIMEX_STM32_E407/cfg/board.chcfg b/os/hal/boards/OLIMEX_STM32_E407/cfg/board.chcfg
index 4d4abeb04..f55bd1471 100644
--- a/os/hal/boards/OLIMEX_STM32_E407/cfg/board.chcfg
+++ b/os/hal/boards/OLIMEX_STM32_E407/cfg/board.chcfg
@@ -22,6 +22,7 @@
<identifier>MII_KS8721_ID</identifier>
<bus_type>RMII</bus_type>
</ethernet_phy>
+ <subtype>STM32F40_41xxx</subtype>
<clocks HSEFrequency="12000000" HSEBypass="false" LSEFrequency="32768"
VDD="330" />
<ports>