mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
56947834f9
It turns out this is really a board specific setting and should always and only be used when the onboard module is being used...
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
# 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)
|
|
select HAS_ARDUINO
|
|
select HAS_PERIPH_GPIO_IRQ
|
|
select HAS_RIOTBOOT
|
|
select HAVE_SX126X_STM32WL
|
|
|
|
# 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
|
|
|
|
select MODULE_PERIPH_LPUART if MODULE_STDIO_UART && HAS_PERIPH_LPUART
|
|
|
|
config CLOCK_HSE
|
|
default 32000000
|
|
|
|
source "$(RIOTBOARD)/common/nucleo64/Kconfig"
|