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:
parent
96b79c21f0
commit
551eb80498
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
5
boards/stm32f723e-disco/clock.config
Normal file
5
boards/stm32f723e-disco/clock.config
Normal 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
|
@ -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"
|
||||
|
@ -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
|
||||
|
5
boards/stm32f769i-disco/clock.config
Normal file
5
boards/stm32f769i-disco/clock.config
Normal 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
|
Loading…
Reference in New Issue
Block a user