mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
cpu/stm32: show PLL params in menuconfig with CUSTOM_PLL_PARAMS
This commit is contained in:
parent
6e9a433c9a
commit
5d77b7d90d
@ -114,13 +114,13 @@ endif # CPU_FAM_G0 || CPU_FAM_G4 || CPU_FAM_L4 || CPU_FAM_L5 || CPU_FAM_WB
|
||||
|
||||
if CPU_FAM_F0
|
||||
config CLOCK_PLL_PREDIV
|
||||
int "PLLIN division factor" if USE_CLOCK_PLL && !CPU_LINE_STM32F031X6 && !CPU_LINE_STM32F042X6
|
||||
int "PLLIN division factor" if CUSTOM_PLL_PARAMS && !CPU_LINE_STM32F031X6 && !CPU_LINE_STM32F042X6
|
||||
default 2 if CPU_LINE_STM32F031X6 || CPU_LINE_STM32F042X6
|
||||
default 1
|
||||
range 1 16
|
||||
|
||||
config CLOCK_PLL_MUL
|
||||
int "PLLIN multiply factor" if USE_CLOCK_PLL
|
||||
int "PLLIN multiply factor" if CUSTOM_PLL_PARAMS
|
||||
default 12 if CPU_LINE_STM32F031X6 || CPU_LINE_STM32F042X6
|
||||
default 6
|
||||
range 2 16
|
||||
@ -128,12 +128,12 @@ endif
|
||||
|
||||
if CPU_FAM_L0 || CPU_FAM_L1
|
||||
config CLOCK_PLL_DIV
|
||||
int "Main PLL division factor" if USE_CLOCK_PLL
|
||||
int "Main PLL division factor" if CUSTOM_PLL_PARAMS
|
||||
default 2
|
||||
range 2 4
|
||||
|
||||
choice
|
||||
bool "Main PLL multiply factor" if USE_CLOCK_PLL
|
||||
bool "Main PLL multiply factor" if CUSTOM_PLL_PARAMS
|
||||
default PLL_MUL_4
|
||||
|
||||
config PLL_MUL_3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user