mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/stm32/kconfigs: select cpu fam/lines without mco prescaler
This commit is contained in:
parent
49cd7be1fc
commit
5e719816d2
@ -5,6 +5,11 @@
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config CLOCK_HAS_NO_MCO_PRE
|
||||
bool
|
||||
help
|
||||
Indicates that the CPU has no MCO prescaler
|
||||
|
||||
menu "STM32 clock configuration"
|
||||
depends on !CPU_FAM_F2 && !CPU_FAM_F4 && !CPU_FAM_F7
|
||||
|
||||
|
@ -17,6 +17,7 @@ config CPU_LINE_STM32F030X6
|
||||
config CPU_LINE_STM32F030X8
|
||||
bool
|
||||
select CPU_FAM_F0
|
||||
select CLOCK_HAS_NO_MCO_PRE
|
||||
|
||||
config CPU_LINE_STM32F030XC
|
||||
bool
|
||||
@ -41,10 +42,12 @@ config CPU_LINE_STM32F048XX
|
||||
config CPU_LINE_STM32F051X8
|
||||
bool
|
||||
select CPU_FAM_F0
|
||||
select CLOCK_HAS_NO_MCO_PRE
|
||||
|
||||
config CPU_LINE_STM32F058XX
|
||||
bool
|
||||
select CPU_FAM_F0
|
||||
select CLOCK_HAS_NO_MCO_PRE
|
||||
|
||||
config CPU_LINE_STM32F070X6
|
||||
bool
|
||||
|
@ -15,6 +15,7 @@ config CPU_FAM_F1
|
||||
select HAS_PERIPH_FLASHPAGE_RAW
|
||||
select HAS_PERIPH_WDT
|
||||
select HAS_BOOTLOADER_STM32
|
||||
select CLOCK_HAS_NO_MCO_PRE
|
||||
|
||||
config CPU_FAM
|
||||
default "f1" if CPU_FAM_F1
|
||||
|
@ -21,6 +21,7 @@ config CPU_LINE_STM32F302X8
|
||||
config CPU_LINE_STM32F302XC
|
||||
bool
|
||||
select CPU_FAM_F3
|
||||
select CLOCK_HAS_NO_MCO_PRE
|
||||
|
||||
config CPU_LINE_STM32F302XE
|
||||
bool
|
||||
@ -34,6 +35,7 @@ config CPU_LINE_STM32F303XC
|
||||
bool
|
||||
select CPU_FAM_F3
|
||||
select HAS_CORTEXM_MPU
|
||||
select CLOCK_HAS_NO_MCO_PRE
|
||||
|
||||
config CPU_LINE_STM32F303XE
|
||||
bool
|
||||
@ -55,14 +57,17 @@ config CPU_LINE_STM32F334X8
|
||||
config CPU_LINE_STM32F358XX
|
||||
bool
|
||||
select CPU_FAM_F3
|
||||
select CLOCK_HAS_NO_MCO_PRE
|
||||
|
||||
config CPU_LINE_STM32F373XC
|
||||
bool
|
||||
select CPU_FAM_F3
|
||||
select CLOCK_HAS_NO_MCO_PRE
|
||||
|
||||
config CPU_LINE_STM32F378XX
|
||||
bool
|
||||
select CPU_FAM_F3
|
||||
select CLOCK_HAS_NO_MCO_PRE
|
||||
|
||||
config CPU_LINE_STM32F398XX
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user