mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
boards/saml21-based: model Kconfig
This commit is contained in:
parent
e44ff31560
commit
dbb57ca9c2
@ -21,3 +21,6 @@ config BOARD_BASTWAN
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_RIOTBOOT
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_SX1276
|
||||
|
@ -15,3 +15,9 @@ FEATURES_PROVIDED += periph_usbdev
|
||||
# Put other features for this board (in alphabetical order)
|
||||
FEATURES_PROVIDED += riotboot
|
||||
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
|
||||
|
3
boards/bastwan/bastwan.config
Normal file
3
boards/bastwan/bastwan.config
Normal file
@ -0,0 +1,3 @@
|
||||
CONFIG_MODULE_USBUS=y
|
||||
CONFIG_MODULE_USBUS_CDC_ACM=y
|
||||
CONFIG_MODULE_STDIO_CDC_ACM=y
|
@ -22,3 +22,5 @@ config BOARD_SAML21_XPRO
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
@ -20,3 +20,5 @@ config BOARD_SAMR30_XPRO
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
@ -20,3 +20,6 @@ config BOARD_SAMR34_XPRO
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
select HAVE_SX1276
|
||||
select HAVE_SAUL_GPIO
|
||||
|
@ -14,3 +14,9 @@ FEATURES_PROVIDED += periph_usbdev
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
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
3
boards/yarm/yarm.config
Normal file
@ -0,0 +1,3 @@
|
||||
CONFIG_MODULE_USBUS=y
|
||||
CONFIG_MODULE_USBUS_CDC_ACM=y
|
||||
CONFIG_MODULE_STDIO_CDC_ACM=y
|
Loading…
Reference in New Issue
Block a user