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
45 lines
941 B
Plaintext
45 lines
941 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 "msbiot" if BOARD_MSBIOT
|
|
|
|
config BOARD_MSBIOT
|
|
bool
|
|
default y
|
|
select CPU_MODEL_STM32F415RG
|
|
|
|
# Put defined MCU peripherals here (in alphabetical order)
|
|
select HAS_PERIPH_ADC
|
|
select HAS_PERIPH_DMA
|
|
select HAS_PERIPH_DAC
|
|
select HAS_PERIPH_I2C
|
|
select HAS_PERIPH_PWM
|
|
select HAS_PERIPH_SPI
|
|
select HAS_PERIPH_TIMER
|
|
select HAS_PERIPH_UART
|
|
|
|
# Clock configuration
|
|
select BOARD_HAS_HSE
|
|
select BOARD_HAS_LSE
|
|
|
|
select HAVE_MPU9150
|
|
select HAVE_SAUL_GPIO
|
|
|
|
config CLOCK_HSE
|
|
default 16000000
|
|
|
|
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"
|