1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 22:52:45 +01:00

boards/saml21-based: model Kconfig

This commit is contained in:
Leandro Lanzieri 2021-11-25 10:52:37 +01:00
parent e44ff31560
commit dbb57ca9c2
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
8 changed files with 28 additions and 0 deletions

View File

@ -21,3 +21,6 @@ config BOARD_BASTWAN
select HAS_PERIPH_USBDEV select HAS_PERIPH_USBDEV
select HAS_RIOTBOOT select HAS_RIOTBOOT
select HAS_HIGHLEVEL_STDIO select HAS_HIGHLEVEL_STDIO
select HAVE_SAUL_GPIO
select HAVE_SX1276

View File

@ -15,3 +15,9 @@ FEATURES_PROVIDED += periph_usbdev
# Put other features for this board (in alphabetical order) # Put other features for this board (in alphabetical order)
FEATURES_PROVIDED += riotboot FEATURES_PROVIDED += riotboot
FEATURES_PROVIDED += highlevel_stdio FEATURES_PROVIDED += highlevel_stdio
# This configuration enables modules that are only available when using Kconfig
# module modelling
ifeq (1, $(TEST_KCONFIG))
KCONFIG_ADD_CONFIG += $(BOARDDIR)/bastwan.config
endif

View File

@ -0,0 +1,3 @@
CONFIG_MODULE_USBUS=y
CONFIG_MODULE_USBUS_CDC_ACM=y
CONFIG_MODULE_STDIO_CDC_ACM=y

View File

@ -22,3 +22,5 @@ config BOARD_SAML21_XPRO
select HAS_PERIPH_UART select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV select HAS_PERIPH_USBDEV
select HAS_RIOTBOOT select HAS_RIOTBOOT
select HAVE_SAUL_GPIO

View File

@ -20,3 +20,5 @@ config BOARD_SAMR30_XPRO
select HAS_PERIPH_UART select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV select HAS_PERIPH_USBDEV
select HAS_RIOTBOOT select HAS_RIOTBOOT
select HAVE_SAUL_GPIO

View File

@ -20,3 +20,6 @@ config BOARD_SAMR34_XPRO
select HAS_PERIPH_UART select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV select HAS_PERIPH_USBDEV
select HAS_RIOTBOOT select HAS_RIOTBOOT
select HAVE_SX1276
select HAVE_SAUL_GPIO

View File

@ -14,3 +14,9 @@ FEATURES_PROVIDED += periph_usbdev
# Put other features for this board (in alphabetical order) # Put other features for this board (in alphabetical order)
FEATURES_PROVIDED += riotboot FEATURES_PROVIDED += riotboot
# This configuration enables modules that are only available when using Kconfig
# module modelling
ifeq (1, $(TEST_KCONFIG))
KCONFIG_ADD_CONFIG += $(BOARDDIR)/yarm.config
endif

3
boards/yarm/yarm.config Normal file
View File

@ -0,0 +1,3 @@
CONFIG_MODULE_USBUS=y
CONFIG_MODULE_USBUS_CDC_ACM=y
CONFIG_MODULE_STDIO_CDC_ACM=y