Allow for overriding clocks on F4xx. (#12886)
parent
9633f9a60f
commit
a2412e3f4c
|
@ -17,8 +17,13 @@
|
||||||
|
|
||||||
#define BOARD_OTG_NOVBUSSENS 1
|
#define BOARD_OTG_NOVBUSSENS 1
|
||||||
|
|
||||||
#define STM32_LSECLK 32768U
|
#ifndef STM32_LSECLK
|
||||||
#define STM32_HSECLK 25000000U
|
# define STM32_LSECLK 32768U
|
||||||
|
#endif // STM32_LSECLK
|
||||||
|
|
||||||
|
#ifndef STM32_HSECLK
|
||||||
|
# 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
|
||||||
|
|
||||||
#define STM32_LSECLK 32768U
|
#ifndef STM32_LSECLK
|
||||||
#define STM32_HSECLK 25000000U
|
# define STM32_LSECLK 32768U
|
||||||
|
#endif // STM32_LSECLK
|
||||||
|
|
||||||
|
#ifndef STM32_HSECLK
|
||||||
|
# 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 New Issue