2020-07-15 17:13: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
|
|
|
|
default "i-nucleo-lrwan1" if BOARD_I_NUCLEO_LRWAN1
|
|
|
|
|
|
|
|
config BOARD_I_NUCLEO_LRWAN1
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
select CPU_MODEL_STM32L052T8
|
|
|
|
|
|
|
|
# Put defined MCU peripherals here (in alphabetical order)
|
|
|
|
select HAS_PERIPH_I2C
|
|
|
|
select HAS_PERIPH_LPUART
|
|
|
|
select HAS_PERIPH_RTC
|
|
|
|
select HAS_PERIPH_RTT
|
|
|
|
select HAS_PERIPH_SPI
|
|
|
|
select HAS_PERIPH_SPI_GPIO_MODE
|
|
|
|
select HAS_PERIPH_TIMER
|
|
|
|
select HAS_PERIPH_UART
|
2020-08-28 20:20:24 +02:00
|
|
|
|
|
|
|
# Clock configuration
|
|
|
|
select BOARD_HAS_LSE
|
|
|
|
|
|
|
|
source "$(RIOTBOARD)/common/stm32/Kconfig"
|