Allow for overriding clocks on F4xx. (#12886)
This commit is contained in:
parent
9633f9a60f
commit
a2412e3f4c
2 changed files with 14 additions and 4 deletions
|
@ -17,8 +17,13 @@
|
||||||
|
|
||||||
#define BOARD_OTG_NOVBUSSENS 1
|
#define BOARD_OTG_NOVBUSSENS 1
|
||||||
|
|
||||||
|
#ifndef STM32_LSECLK
|
||||||
# define STM32_LSECLK 32768U
|
# define STM32_LSECLK 32768U
|
||||||
|
#endif // STM32_LSECLK
|
||||||
|
|
||||||
|
#ifndef STM32_HSECLK
|
||||||
# define STM32_HSECLK 25000000U
|
# define STM32_HSECLK 25000000U
|
||||||
|
#endif // STM32_HSECLK
|
||||||
|
|
||||||
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
|
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
|
||||||
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
|
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
|
||||||
|
|
|
@ -17,8 +17,13 @@
|
||||||
|
|
||||||
#define BOARD_OTG_NOVBUSSENS 1
|
#define BOARD_OTG_NOVBUSSENS 1
|
||||||
|
|
||||||
|
#ifndef STM32_LSECLK
|
||||||
# define STM32_LSECLK 32768U
|
# define STM32_LSECLK 32768U
|
||||||
|
#endif // STM32_LSECLK
|
||||||
|
|
||||||
|
#ifndef STM32_HSECLK
|
||||||
# define STM32_HSECLK 25000000U
|
# define STM32_HSECLK 25000000U
|
||||||
|
#endif // STM32_HSECLK
|
||||||
|
|
||||||
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
|
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
|
||||||
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
|
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
|
||||||
|
|
Loading…
Reference in a new issue