1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 15:03:53 +01:00

boards/msbiot: Fix kconfig clk tree

This commit is contained in:
MrKevinWeiss 2022-02-03 11:16:38 +01:00
parent 58097a20aa
commit 04a235933d
No known key found for this signature in database
GPG Key ID: 3514539D7808D123
3 changed files with 8 additions and 8 deletions

View File

@ -30,4 +30,12 @@ config BOARD_MSBIOT
select HAVE_MPU9150
select HAVE_SAUL_GPIO
config CLOCK_PLL_M
default 16
config CLOCK_PLL_N
default 336 if MODULE_PERIPH_USBDEV && TEST_KCONFIG
default 360
source "$(RIOTBOARD)/common/stm32/Kconfig"

View File

@ -10,6 +10,3 @@ FEATURES_PROVIDED += periph_pwm
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
# msbiot provides a custom default Kconfig clock configuration
KCONFIG_BOARD_CONFIG += $(RIOTBOARD)/msbiot/clock.config

View File

@ -1,5 +0,0 @@
# msbiot provides a 16MHz HSE so its needs a custom PLL config to output a
# 180MHz clock.
CONFIG_CUSTOM_PLL_PARAMS=y
CONFIG_CLOCK_PLL_M=16
CONFIG_CLOCK_PLL_N=360