cpu/stm32/kconfig: fix rtt:rtc error symbol
It only exists conflict between the usage of RTC and RTT on the F1 family, but the error symbol was being set for all of them. This fixes the issue.
This commit is contained in:
parent
e1052f0152
commit
e5aca465bd
@ -30,10 +30,6 @@ config HAS_BOOTLOADER_STM32
|
||||
help
|
||||
Indicates that the stm32 bootloader is being used.
|
||||
|
||||
config ERROR_MODULES_CONFLICT
|
||||
default "On STM32, the RTC and RTT map to the same hardware peripheral." if MODULE_PERIPH_RTC && MODULE_PERIPH_RTT
|
||||
depends on CPU_STM32
|
||||
|
||||
orsource "kconfigs/Kconfig.clk"
|
||||
orsource "kconfigs/*/Kconfig"
|
||||
orsource "kconfigs/*/Kconfig.lines"
|
||||
|
||||
@ -17,8 +17,15 @@ config CPU_FAM_F1
|
||||
select HAS_BOOTLOADER_STM32
|
||||
select CLOCK_HAS_NO_MCO_PRE
|
||||
|
||||
if CPU_FAM_F1
|
||||
|
||||
config CPU_FAM
|
||||
default "f1" if CPU_FAM_F1
|
||||
default "f1"
|
||||
|
||||
config ERROR_MODULES_CONFLICT
|
||||
default "On STM32F1, the RTC and RTT map to the same hardware peripheral." if MODULE_PERIPH_RTC && MODULE_PERIPH_RTT
|
||||
|
||||
endif # CPU_FAM_F1
|
||||
|
||||
config HAS_CPU_STM32F1
|
||||
bool
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user