2021-03-30 14:14:37 +02:00
|
|
|
# Copyright (c) 2021 Freie Universität Berlin
|
|
|
|
#
|
|
|
|
# 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 "nucleo-wl55jc" if BOARD_NUCLEO_WL55JC
|
|
|
|
|
|
|
|
config BOARD_NUCLEO_WL55JC
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
select BOARD_COMMON_NUCLEO64
|
|
|
|
select CPU_MODEL_STM32WL55JC
|
|
|
|
|
|
|
|
# Put defined MCU peripherals here (in alphabetical order)
|
|
|
|
select HAS_PERIPH_I2C
|
|
|
|
select HAS_PERIPH_LPUART
|
|
|
|
select HAS_PERIPH_RTT
|
|
|
|
select HAS_PERIPH_SPI
|
|
|
|
select HAS_PERIPH_TIMER
|
|
|
|
select HAS_PERIPH_UART
|
|
|
|
|
|
|
|
# Put other features for this board (in alphabetical order)
|
2021-04-20 19:00:18 +02:00
|
|
|
select HAS_ARDUINO
|
2023-01-24 10:20:42 +01:00
|
|
|
select HAS_PERIPH_GPIO_IRQ
|
2023-01-25 08:47:26 +01:00
|
|
|
select HAS_RIOTBOOT
|
2023-01-24 10:20:42 +01:00
|
|
|
select HAVE_SX126X_STM32WL
|
2023-01-25 08:47:26 +01:00
|
|
|
|
|
|
|
# This board must use the MODULE_SX126X_RF_SWITCH module if the on-board
|
|
|
|
# lora module is being used.
|
|
|
|
imply MODULE_SX126X_RF_SWITCH if MODULE_SX126X_STM32WL
|
2021-03-30 14:14:37 +02:00
|
|
|
|
2021-12-14 16:23:59 +01:00
|
|
|
select MODULE_PERIPH_LPUART if MODULE_STDIO_UART && HAS_PERIPH_LPUART
|
|
|
|
|
2022-10-26 11:57:02 +02:00
|
|
|
config CLOCK_HSE
|
|
|
|
default 32000000
|
2022-10-26 11:43:40 +02:00
|
|
|
|
2021-03-30 14:14:37 +02:00
|
|
|
source "$(RIOTBOARD)/common/nucleo64/Kconfig"
|