aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/ports/ARMCMx/devices
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt/ports/ARMCMx/devices')
-rw-r--r--os/rt/ports/ARMCMx/devices/STM32F4xx/cmparams.h2
-rw-r--r--os/rt/ports/ARMCMx/devices/STM32F4xx/stm32f4xx.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/ports/ARMCMx/devices/STM32F4xx/cmparams.h b/os/rt/ports/ARMCMx/devices/STM32F4xx/cmparams.h
index bb3d99ce4..3a3e8ad68 100644
--- a/os/rt/ports/ARMCMx/devices/STM32F4xx/cmparams.h
+++ b/os/rt/ports/ARMCMx/devices/STM32F4xx/cmparams.h
@@ -66,7 +66,7 @@
/* Including the device CMSIS header. Note, we are not using the definitions
from this header because we need this file to be usable also from
assembler source files. We verify that the info matches instead.*/
-#include "stm32f0xx.h"
+#include "stm32f4xx.h"
#if !CORTEX_HAS_MPU != !__MPU_PRESENT
#error "CMSIS __MPU_PRESENT mismatch"
diff --git a/os/rt/ports/ARMCMx/devices/STM32F4xx/stm32f4xx.h b/os/rt/ports/ARMCMx/devices/STM32F4xx/stm32f4xx.h
index d98436814..11f40e8dc 100644
--- a/os/rt/ports/ARMCMx/devices/STM32F4xx/stm32f4xx.h
+++ b/os/rt/ports/ARMCMx/devices/STM32F4xx/stm32f4xx.h
@@ -66,7 +66,7 @@
*/
#if !defined (STM32F4XX) && !defined (STM32F40XX) && !defined (STM32F427X)
- /* #define STM32F40XX */ /*!< STM32F40xx/41xx Devices */
+ #define STM32F40XX /*!< STM32F40xx/41xx Devices */
/* #define STM32F427X */ /*!< STM32F427x/437x Devices*/
#endif