diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-07-28 14:40:41 -0400 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2019-08-05 11:25:40 -0400 |
commit | 7efc53ff59111061908405dae889a38cc6e60dbb (patch) | |
tree | d9034e66fb34629203fb278b381af8af8ebf980c /src/stm32f4/internal.h | |
parent | 485164b8b3fcb973a8766264e1c1e9e190ea80af (diff) | |
download | kutter-7efc53ff59111061908405dae889a38cc6e60dbb.tar.gz kutter-7efc53ff59111061908405dae889a38cc6e60dbb.tar.xz kutter-7efc53ff59111061908405dae889a38cc6e60dbb.zip |
stm32f4: Add support for STM32F103
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32f4/internal.h')
-rw-r--r-- | src/stm32f4/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stm32f4/internal.h b/src/stm32f4/internal.h index 22720a96..d19a0b98 100644 --- a/src/stm32f4/internal.h +++ b/src/stm32f4/internal.h @@ -2,7 +2,13 @@ #define __STM32F4_INTERNAL_H // Local definitions for STM32F4 code +#include "autoconf.h" // CONFIG_MACH_STM32F1xx + +#if CONFIG_MACH_STM32F1xx +#include "stm32f1xx.h" +#else #include "stm32f4xx.h" +#endif extern GPIO_TypeDef * const digital_regs[]; |