2020-07-15 16:58:15 +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 "b-l475e-iot01a" if BOARD_B_L475E_IOT01A
|
|
|
|
|
|
|
|
config BOARD_B_L475E_IOT01A
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
select CPU_MODEL_STM32L475VG
|
|
|
|
|
|
|
|
# Put defined MCU peripherals here (in alphabetical order)
|
|
|
|
select HAS_PERIPH_DMA
|
|
|
|
select HAS_PERIPH_I2C
|
|
|
|
select HAS_PERIPH_PWM
|
|
|
|
select HAS_PERIPH_RTC
|
|
|
|
select HAS_PERIPH_RTT
|
|
|
|
select HAS_PERIPH_SPI
|
|
|
|
select HAS_PERIPH_TIMER
|
|
|
|
select HAS_PERIPH_UART
|
2019-10-24 17:14:15 +02:00
|
|
|
select HAS_PERIPH_USBDEV
|
2020-07-15 16:58:15 +02:00
|
|
|
|
|
|
|
# Put other features for this board (in alphabetical order)
|
|
|
|
select HAS_RIOTBOOT
|
2022-09-14 09:29:48 +02:00
|
|
|
select HAS_TINYUSB_DEVICE
|
2020-08-26 19:55:56 +02:00
|
|
|
|
|
|
|
# Clock configuration
|
|
|
|
select BOARD_HAS_LSE
|
|
|
|
|
2021-12-14 16:23:59 +01:00
|
|
|
select HAVE_SAUL_GPIO
|
|
|
|
select HAVE_HTS221
|
|
|
|
select HAVE_LIS3MDL
|
|
|
|
select HAVE_LPS22HB
|
|
|
|
select HAVE_LSM6DSL
|
|
|
|
|
2022-01-28 13:28:20 +01:00
|
|
|
config MODULE_PERIPH_INIT_LED0
|
|
|
|
default n if MODULE_PERIPH_SPI
|
|
|
|
|
2020-08-26 19:55:56 +02:00
|
|
|
source "$(RIOTBOARD)/common/stm32/Kconfig"
|