Skip to content

Commit

Permalink
boards/arduino-zero: move tinusb_device feature
Browse files Browse the repository at this point in the history
The `tinyusb_device` feature introduced with PR RIOT-OS#18689 has to be moved from `common/arduino-zero` definition to the `arduino-zero` definition because the common `arduino-zero` features are also used by `wemos-zero` which uses `highlevel_stdio` feature via the `stdio_cdc_acm` module.
  • Loading branch information
gschorcht authored and dylad committed Feb 3, 2023
1 parent 0d3e813 commit 02fde47
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions boards/arduino-zero/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ config BOARD
config BOARD_ARDUINO_ZERO
bool
default y
select HAS_TINYUSB_DEVICE
select BOARD_COMMON_ARDUINO_ZERO

source "$(RIOTBOARD)/common/arduino-zero/Kconfig"
2 changes: 2 additions & 0 deletions boards/arduino-zero/Makefile.features
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
include $(RIOTBOARD)/common/arduino-zero/Makefile.features

FEATURES_PROVIDED += tinyusb_device
1 change: 0 additions & 1 deletion boards/common/arduino-zero/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ config BOARD_COMMON_ARDUINO_ZERO
select HAS_PERIPH_USBDEV
select HAS_ARDUINO
select HAS_ARDUINO_PWM
select HAS_TINYUSB_DEVICE

select HAVE_SAUL_GPIO

Expand Down
1 change: 0 additions & 1 deletion boards/common/arduino-zero/Makefile.features
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ FEATURES_PROVIDED += periph_usbdev
# Various other features (if any)
FEATURES_PROVIDED += arduino
FEATURES_PROVIDED += arduino_pwm
FEATURES_PROVIDED += tinyusb_device

0 comments on commit 02fde47

Please sign in to comment.