2020-07-16 10:53:03 +02:00
|
|
|
# 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
|
2020-09-06 21:59:51 +02:00
|
|
|
|
|
|
|
# Clock configuration
|
|
|
|
select BOARD_HAS_HSE
|
|
|
|
select BOARD_HAS_LSE
|
|
|
|
|
2022-01-10 10:31:07 +01:00
|
|
|
select HAVE_MPU9150
|
|
|
|
select HAVE_SAUL_GPIO
|
|
|
|
|
2022-10-26 11:43:40 +02:00
|
|
|
choice CHOICE_CLOCK_HSE
|
|
|
|
default CLOCK_HSE_16MHZ
|
|
|
|
endchoice
|
|
|
|
|
2022-02-03 11:16:38 +01:00
|
|
|
config CLOCK_PLL_M
|
|
|
|
default 16
|
|
|
|
|
|
|
|
config CLOCK_PLL_N
|
|
|
|
default 336 if MODULE_PERIPH_USBDEV && TEST_KCONFIG
|
|
|
|
default 360
|
|
|
|
|
|
|
|
|
2020-09-06 21:59:51 +02:00
|
|
|
source "$(RIOTBOARD)/common/stm32/Kconfig"
|