mirror of
https://github.com/andreili/katapult.git
synced 2025-08-23 19:34:06 +02:00
stm32/Kconfig: Add option for 32MHz crystals
Certain STM32 Nucleo development boards (eg. F429Zi) come pre-installed with a 32MHz quartz crystal, which is now exposed as an option when selecting STM32 chips. Signed-off-by: Ella Fox <ella@fox.gal>
This commit is contained in:
parent
90eb71b610
commit
081918ad76
@ -298,11 +298,14 @@ choice
|
|||||||
bool "20 MHz crystal"
|
bool "20 MHz crystal"
|
||||||
config STM32_CLOCK_REF_25M
|
config STM32_CLOCK_REF_25M
|
||||||
bool "25 MHz crystal"
|
bool "25 MHz crystal"
|
||||||
|
config STM32_CLOCK_REF_32M
|
||||||
|
bool "32 MHz crystal"
|
||||||
config STM32_CLOCK_REF_INTERNAL
|
config STM32_CLOCK_REF_INTERNAL
|
||||||
bool "Internal clock"
|
bool "Internal clock"
|
||||||
endchoice
|
endchoice
|
||||||
config CLOCK_REF_FREQ
|
config CLOCK_REF_FREQ
|
||||||
int
|
int
|
||||||
|
default 32000000 if STM32_CLOCK_REF_32M
|
||||||
default 25000000 if STM32_CLOCK_REF_25M
|
default 25000000 if STM32_CLOCK_REF_25M
|
||||||
default 20000000 if STM32_CLOCK_REF_20M
|
default 20000000 if STM32_CLOCK_REF_20M
|
||||||
default 16000000 if STM32_CLOCK_REF_16M
|
default 16000000 if STM32_CLOCK_REF_16M
|
||||||
|
Loading…
x
Reference in New Issue
Block a user