mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/pyboard: Fix kconfig clk tree
This commit is contained in:
parent
199d10ae05
commit
2fc75177c3
@ -28,4 +28,12 @@ config BOARD_PYBOARD
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
config CLOCK_PLL_M
|
||||
default 12
|
||||
|
||||
config CLOCK_PLL_N
|
||||
default 336 if MODULE_PERIPH_USBDEV && TEST_KCONFIG
|
||||
default 360
|
||||
|
||||
|
||||
source "$(RIOTBOARD)/common/stm32/Kconfig"
|
||||
|
@ -9,6 +9,3 @@ FEATURES_PROVIDED += periph_spi
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
FEATURES_PROVIDED += periph_uart
|
||||
FEATURES_PROVIDED += periph_usbdev
|
||||
|
||||
# pyboard provides a custom default Kconfig clock configuration
|
||||
KCONFIG_BOARD_CONFIG += $(RIOTBOARD)/pyboard/clock.config
|
||||
|
@ -1,5 +0,0 @@
|
||||
# pyboard provides a 12MHz HSE so its needs a custom PLL config to output a
|
||||
# 48MHz clock for USB.
|
||||
CONFIG_CUSTOM_PLL_PARAMS=y
|
||||
CONFIG_CLOCK_PLL_M=12
|
||||
CONFIG_CLOCK_PLL_N=336
|
Loading…
Reference in New Issue
Block a user