1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/nucleo-*: put Kconfig HSE/LSE clock config in common

This commit is contained in:
Alexandre Abadie 2020-12-15 12:23:41 +01:00
parent f0606b0a73
commit de37259c64
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
39 changed files with 13 additions and 132 deletions

View File

@ -9,4 +9,8 @@ config BOARD_COMMON_NUCLEO144
bool
select HAS_ARDUINO
# Clock configuration
select BOARD_HAS_HSE if !CPU_FAM_L4 && !CPU_FAM_L5
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/stm32/Kconfig"

View File

@ -9,4 +9,7 @@ config BOARD_COMMON_NUCLEO32
bool
select HAS_ARDUINO
# Clock configuration
select BOARD_HAS_LSE if (CPU_FAM_L0 || CPU_FAM_L4) && !BOARD_NUCLEO_L011K4
source "$(RIOTBOARD)/common/stm32/Kconfig"

View File

@ -9,4 +9,8 @@ config BOARD_COMMON_NUCLEO64
bool
select HAS_ARDUINO
# Clock configuration
select BOARD_HAS_HSE if !CPU_FAM_G0 && !CPU_FAM_L0 && !CPU_FAM_L1 && !CPU_FAM_L4
select BOARD_HAS_LSE if !BOARD_NUCLE0_L152RE
source "$(RIOTBOARD)/common/stm32/Kconfig"

View File

@ -21,8 +21,4 @@ config BOARD_NUCLEO_F030R8
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -22,8 +22,4 @@ config BOARD_NUCLEO_F070RB
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -23,8 +23,4 @@ config BOARD_NUCLEO_F072RB
select HAS_PERIPH_UART
select HAS_PERIPH_SPI
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -22,8 +22,4 @@ config BOARD_NUCLEO_F091RC
select HAS_PERIPH_UART
select HAS_PERIPH_SPI
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -22,8 +22,4 @@ config BOARD_NUCLEO_F103RB
select HAS_PERIPH_UART
select HAS_PERIPH_SPI
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -28,8 +28,4 @@ config BOARD_NUCLEO_F207ZG
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"
source "$(RIOTBOARD)/common/nucleo144/Kconfig"

View File

@ -26,8 +26,4 @@ config BOARD_NUCLEO_F302R8
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -26,8 +26,4 @@ config BOARD_NUCLEO_F303RE
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -25,8 +25,4 @@ config BOARD_NUCLEO_F303ZE
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"
source "$(RIOTBOARD)/common/nucleo144/Kconfig"

View File

@ -26,8 +26,4 @@ config BOARD_NUCLEO_F334R8
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -25,8 +25,4 @@ config BOARD_NUCLEO_F401RE
select HAS_PERIPH_UART
select HAS_PERIPH_QDEC
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -23,8 +23,4 @@ config BOARD_NUCLEO_F410RB
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -24,8 +24,4 @@ config BOARD_NUCLEO_F411RE
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -25,8 +25,4 @@ config BOARD_NUCLEO_F412ZG
select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo144/Kconfig"

View File

@ -28,8 +28,4 @@ config BOARD_NUCLEO_F413ZH
select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo144/Kconfig"

View File

@ -25,8 +25,4 @@ config BOARD_NUCLEO_F429ZI
select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo144/Kconfig"

View File

@ -30,8 +30,4 @@ config BOARD_NUCLEO_F446RE
select HAS_MOTOR_DRIVER
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -25,8 +25,4 @@ config BOARD_NUCLEO_F446ZE
select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo144/Kconfig"

View File

@ -25,8 +25,4 @@ config BOARD_NUCLEO_F722ZE
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo144/Kconfig"

View File

@ -29,8 +29,4 @@ config BOARD_NUCLEO_F746ZG
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo144/Kconfig"

View File

@ -31,8 +31,4 @@ config BOARD_NUCLEO_F767ZI
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo144/Kconfig"

View File

@ -23,7 +23,4 @@ config BOARD_NUCLEO_G070RB
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -23,7 +23,5 @@ config BOARD_NUCLEO_G071RB
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -26,8 +26,4 @@ config BOARD_NUCLEO_G431RB
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -26,8 +26,4 @@ config BOARD_NUCLEO_G474RE
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -24,7 +24,4 @@ config BOARD_NUCLEO_L031K6
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
# Clock configuration
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo32/Kconfig"

View File

@ -22,7 +22,4 @@ config BOARD_NUCLEO_L053R8
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
# Clock configuration
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -32,7 +32,4 @@ config BOARD_NUCLEO_L073RZ
# introduced after Jun 8, 2017 - v0.10.0-1-20170607-2132-dev.
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -28,7 +28,4 @@ config BOARD_NUCLEO_L412KB
# https://github.com/RIOT-OS/RIOT/pull/12144#issuecomment-527090161
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo32/Kconfig"

View File

@ -30,7 +30,4 @@ config BOARD_NUCLEO_L432KC
# https://github.com/ntfreak/openocd/commit/a4d50544de07f13e3f9644d2b48e41ebdc91a7a3
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo32/Kconfig"

View File

@ -31,7 +31,4 @@ config BOARD_NUCLEO_L433RC
# https://github.com/ntfreak/openocd/commit/a4d50544de07f13e3f9644d2b48e41ebdc91a7a3
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -26,7 +26,4 @@ config BOARD_NUCLEO_L452RE
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -29,7 +29,4 @@ config BOARD_NUCLEO_L476RG
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo64/Kconfig"

View File

@ -27,7 +27,4 @@ config BOARD_NUCLEO_L496ZG
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo144/Kconfig"

View File

@ -26,7 +26,4 @@ config BOARD_NUCLEO_L4R5ZI
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo144/Kconfig"

View File

@ -24,7 +24,4 @@ config BOARD_NUCLEO_L552ZE_Q
# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
# Clock configuration
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/nucleo144/Kconfig"