1
0
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:
MrKevinWeiss 2022-02-03 11:16:51 +01:00
parent 199d10ae05
commit 2fc75177c3
No known key found for this signature in database
GPG Key ID: 3514539D7808D123
3 changed files with 8 additions and 8 deletions

View File

@ -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"

View File

@ -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

View File

@ -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