Allow for overriding clocks on F4xx. (#12886)

This commit is contained in:
Nick Brassel 2021-05-13 12:29:28 +10:00 committed by GitHub
parent 9633f9a60f
commit a2412e3f4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 4 deletions

View File

@ -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

View File

@ -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