2020-07-15 17:00:25 +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 "p-nucleo-wb55" if BOARD_P_NUCLEO_WB55
|
|
|
|
|
|
|
|
config BOARD_P_NUCLEO_WB55
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
select CPU_MODEL_STM32WB55RG
|
|
|
|
|
|
|
|
# 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_TIMER
|
|
|
|
select HAS_PERIPH_UART
|
2021-12-01 20:36:41 +01:00
|
|
|
select HAS_PERIPH_USBDEV
|
2021-09-17 10:19:01 +02:00
|
|
|
select MODULE_PERIPH_LPUART if MODULE_STDIO_UART && HAS_PERIPH_LPUART
|
2020-07-15 17:00:25 +02:00
|
|
|
|
|
|
|
# Put other features for this board (in alphabetical order)
|
2023-06-23 15:42:08 +02:00
|
|
|
select HAS_ARDUINO_ANALOG
|
2023-11-15 09:56:45 +01:00
|
|
|
select HAS_ARDUINO_I2C
|
2023-06-23 15:42:08 +02:00
|
|
|
select HAS_ARDUINO_PINS
|
|
|
|
select HAS_ARDUINO_SHIELD_UNO
|
2023-11-15 09:56:45 +01:00
|
|
|
select HAS_ARDUINO_SPI
|
|
|
|
select HAS_ARDUINO_UART
|
2020-07-15 17:00:25 +02:00
|
|
|
select HAS_RIOTBOOT
|
2022-10-20 18:26:56 +02:00
|
|
|
select HAS_TINYUSB_DEVICE
|
2020-08-26 19:55:56 +02:00
|
|
|
|
|
|
|
# Clock configuration
|
|
|
|
select BOARD_HAS_HSE
|
|
|
|
select BOARD_HAS_LSE
|
|
|
|
|
2022-10-26 11:57:02 +02:00
|
|
|
config CLOCK_HSE
|
|
|
|
default 32000000
|
2022-10-26 11:43:40 +02:00
|
|
|
|
2021-09-17 10:22:22 +02:00
|
|
|
source "$(RIOTBOARD)/common/nucleo/Kconfig"
|