stm32f4: Make using the internal clock source a low level option

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-07-28 22:42:41 -04:00
parent 9bc3a29ee4
commit e6ffef9a9f
2 changed files with 11 additions and 7 deletions

View File

@@ -50,12 +50,16 @@ config STACK_SIZE
default 512
choice
prompt "Clock Reference"
config STM32F4_CLOCK_REF_8M
prompt "Clock Reference" if LOW_LEVEL_OPTIONS
config STM32_CLOCK_REF_8M
bool "8Mhz crystal"
config STM32F4_CLOCK_REF_INTERNAL
config STM32_CLOCK_REF_INTERNAL
bool "Internal clock"
endchoice
config CLOCK_REF_8M
bool
default n if STM32_CLOCK_REF_INTERNAL
default y
config SERIAL
bool