aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platforms/chibios/BLACKPILL_STM32_F401/configs/config.h9
-rw-r--r--platforms/chibios/BLACKPILL_STM32_F411/configs/config.h9
2 files changed, 14 insertions, 4 deletions
diff --git a/platforms/chibios/BLACKPILL_STM32_F401/configs/config.h b/platforms/chibios/BLACKPILL_STM32_F401/configs/config.h
index 1c9d9c612..e181422eb 100644
--- a/platforms/chibios/BLACKPILL_STM32_F401/configs/config.h
+++ b/platforms/chibios/BLACKPILL_STM32_F401/configs/config.h
@@ -17,8 +17,13 @@
17 17
18#define BOARD_OTG_NOVBUSSENS 1 18#define BOARD_OTG_NOVBUSSENS 1
19 19
20#define STM32_LSECLK 32768U 20#ifndef STM32_LSECLK
21#define STM32_HSECLK 25000000U 21# define STM32_LSECLK 32768U
22#endif // STM32_LSECLK
23
24#ifndef STM32_HSECLK
25# define STM32_HSECLK 25000000U
26#endif // STM32_HSECLK
22 27
23#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP 28#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
24# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE 29# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
diff --git a/platforms/chibios/BLACKPILL_STM32_F411/configs/config.h b/platforms/chibios/BLACKPILL_STM32_F411/configs/config.h
index 1c9d9c612..e181422eb 100644
--- a/platforms/chibios/BLACKPILL_STM32_F411/configs/config.h
+++ b/platforms/chibios/BLACKPILL_STM32_F411/configs/config.h
@@ -17,8 +17,13 @@
17 17
18#define BOARD_OTG_NOVBUSSENS 1 18#define BOARD_OTG_NOVBUSSENS 1
19 19
20#define STM32_LSECLK 32768U 20#ifndef STM32_LSECLK
21#define STM32_HSECLK 25000000U 21# define STM32_LSECLK 32768U
22#endif // STM32_LSECLK
23
24#ifndef STM32_HSECLK
25# define STM32_HSECLK 25000000U
26#endif // STM32_HSECLK
22 27
23#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP 28#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
24# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE 29# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE