2020-07-15 16:57:45 +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 "stm32f3discovery" if BOARD_STM32F3DISCOVERY
|
|
|
|
|
|
|
|
config BOARD_STM32F3DISCOVERY
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
select CPU_MODEL_STM32F303VC
|
|
|
|
|
|
|
|
# Put defined MCU peripherals here (in alphabetical order)
|
|
|
|
select HAS_PERIPH_DAC
|
|
|
|
select HAS_PERIPH_I2C
|
|
|
|
select HAS_PERIPH_PWM
|
|
|
|
select HAS_PERIPH_RTC
|
|
|
|
select HAS_PERIPH_SPI
|
|
|
|
select HAS_PERIPH_TIMER
|
|
|
|
select HAS_PERIPH_UART
|
2020-08-31 15:29:48 +02:00
|
|
|
|
|
|
|
# Clock configuration
|
|
|
|
select BOARD_HAS_HSE
|
|
|
|
|
2021-12-14 16:23:59 +01:00
|
|
|
select HAVE_SAUL_GPIO
|
|
|
|
select HAVE_LSM303DLHC
|
|
|
|
|
2021-11-07 23:42:16 +01:00
|
|
|
# L3Gxxxx gyro
|
|
|
|
select HAVE_L3GXXXX_SPI
|
|
|
|
select HAVE_I3G4250D
|
|
|
|
select HAVE_L3GD20
|
|
|
|
|
2020-08-31 15:29:48 +02:00
|
|
|
source "$(RIOTBOARD)/common/stm32/Kconfig"
|