boards/p-nucleo-wb55: model features in Kconfig

This commit is contained in:
Alexandre Abadie 2020-07-15 17:00:25 +02:00
parent 847af73500
commit b3f8dc1a72
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -0,0 +1,27 @@
# 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
# Put other features for this board (in alphabetical order)
select HAS_ARDUINO
select HAS_RIOTBOOT