2020-07-15 11:54:24 +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
|
2021-10-18 11:22:27 +02:00
|
|
|
default "nucleo-l152re" if BOARD_NUCLEO_L152RE
|
2020-07-15 11:54:24 +02:00
|
|
|
|
2021-10-18 11:22:27 +02:00
|
|
|
config BOARD_NUCLEO_L152RE
|
2020-07-15 11:54:24 +02:00
|
|
|
bool
|
|
|
|
default y
|
|
|
|
select BOARD_COMMON_NUCLEO64
|
|
|
|
select CPU_MODEL_STM32L152RE
|
|
|
|
|
|
|
|
# Put defined MCU peripherals here (in alphabetical order)
|
|
|
|
select HAS_PERIPH_ADC
|
|
|
|
select HAS_PERIPH_DAC
|
|
|
|
select HAS_PERIPH_DMA
|
|
|
|
select HAS_PERIPH_I2C
|
|
|
|
select HAS_PERIPH_PWM
|
|
|
|
select HAS_PERIPH_RTC
|
|
|
|
select HAS_PERIPH_SPI
|
|
|
|
select HAS_PERIPH_SPI_GPIO_MODE
|
|
|
|
select HAS_PERIPH_TIMER
|
|
|
|
select HAS_PERIPH_UART
|
|
|
|
|
|
|
|
# Put other features for this board (in alphabetical order)
|
|
|
|
select HAS_RIOTBOOT
|
|
|
|
|
|
|
|
source "$(RIOTBOARD)/common/nucleo64/Kconfig"
|