mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
464f57b4a3
Since we know the HSE speed, manual overrides are not needed anymore
46 lines
996 B
Plaintext
46 lines
996 B
Plaintext
# Copyright (c) 2020 Inria
|
|
#
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
# directory for more details.
|
|
#
|
|
|
|
config BOARD
|
|
default "pyboard" if BOARD_PYBOARD
|
|
|
|
config BOARD_PYBOARD
|
|
bool
|
|
default y
|
|
select CPU_MODEL_STM32F405RG
|
|
|
|
# Put defined MCU peripherals here (in alphabetical order)
|
|
select HAS_PERIPH_DMA
|
|
select HAS_PERIPH_I2C
|
|
select HAS_PERIPH_RTC
|
|
select HAS_PERIPH_SPI
|
|
select HAS_PERIPH_TIMER
|
|
select HAS_PERIPH_UART
|
|
select HAS_PERIPH_USBDEV
|
|
|
|
# Put other features for this board (in alphabetical order)
|
|
select HAS_TINYUSB_DEVICE
|
|
|
|
# Clock configuration
|
|
select BOARD_HAS_HSE
|
|
select BOARD_HAS_LSE
|
|
|
|
select HAVE_SAUL_GPIO
|
|
|
|
config CLOCK_HSE
|
|
default 12000000
|
|
|
|
config CLOCK_PLL_M
|
|
default 12
|
|
|
|
config CLOCK_PLL_N
|
|
default 336 if MODULE_PERIPH_USBDEV_CLK && TEST_KCONFIG
|
|
default 360
|
|
|
|
|
|
source "$(RIOTBOARD)/common/stm32/Kconfig"
|