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:
parent
58097a20aa
commit
04a235933d
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user