1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

boards/stm32f7*: add Kconfig clock configuration

This commit is contained in:
Alexandre Abadie 2020-09-06 22:00:06 +02:00
parent 96b79c21f0
commit 551eb80498
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
9 changed files with 40 additions and 0 deletions

View File

@ -25,4 +25,8 @@ 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,4 +29,8 @@ 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,4 +31,8 @@ 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

@ -21,3 +21,9 @@ config BOARD_STM32F723E_DISCO
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/stm32/Kconfig"

View File

@ -10,3 +10,6 @@ FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
FEATURES_PROVIDED += periph_usbdev
# stm32f723e-disco provides a custom default Kconfig clock configuration
KCONFIG_ADD_CONFIG += $(RIOTBOARD)/stm32f723e-disco/clock.config

View File

@ -0,0 +1,5 @@
# stm32f723e-disco provides a 25MHz HSE so they need a custom PLL config
# to remain in 216MHz max clock.
CONFIG_CUSTOM_PLL_PARAMS=y
CONFIG_CLOCK_PLL_M=25
CONFIG_CLOCK_PLL_N=432

View File

@ -19,3 +19,9 @@ config BOARD_STM32F769I_DISCO
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV
# Clock configuration
select BOARD_HAS_HSE
select BOARD_HAS_LSE
source "$(RIOTBOARD)/common/stm32/Kconfig"

View File

@ -7,3 +7,6 @@ FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
FEATURES_PROVIDED += periph_usbdev
# stm32f769i-disco provides a custom default Kconfig clock configuration
KCONFIG_ADD_CONFIG += $(RIOTBOARD)/stm32f769i-disco/clock.config

View File

@ -0,0 +1,5 @@
# stm32f769i-disco provides a 25MHz HSE so they need a custom PLL config
# to remain in 216MHz max clock.
CONFIG_CUSTOM_PLL_PARAMS=y
CONFIG_CLOCK_PLL_M=25
CONFIG_CLOCK_PLL_M=432