mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/arduino-zero: move tinusb_device feature
The `tinyusb_device` feature introduced with PR #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.
This commit is contained in:
parent
71a606a1db
commit
0b1b7e8408
@ -11,6 +11,7 @@ config BOARD
|
|||||||
config BOARD_ARDUINO_ZERO
|
config BOARD_ARDUINO_ZERO
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
select HAS_TINYUSB_DEVICE
|
||||||
select BOARD_COMMON_ARDUINO_ZERO
|
select BOARD_COMMON_ARDUINO_ZERO
|
||||||
|
|
||||||
source "$(RIOTBOARD)/common/arduino-zero/Kconfig"
|
source "$(RIOTBOARD)/common/arduino-zero/Kconfig"
|
||||||
|
@ -1 +1,3 @@
|
|||||||
include $(RIOTBOARD)/common/arduino-zero/Makefile.features
|
include $(RIOTBOARD)/common/arduino-zero/Makefile.features
|
||||||
|
|
||||||
|
FEATURES_PROVIDED += tinyusb_device
|
||||||
|
@ -18,7 +18,6 @@ config BOARD_COMMON_ARDUINO_ZERO
|
|||||||
select HAS_PERIPH_USBDEV
|
select HAS_PERIPH_USBDEV
|
||||||
select HAS_ARDUINO
|
select HAS_ARDUINO
|
||||||
select HAS_ARDUINO_PWM
|
select HAS_ARDUINO_PWM
|
||||||
select HAS_TINYUSB_DEVICE
|
|
||||||
|
|
||||||
select HAVE_SAUL_GPIO
|
select HAVE_SAUL_GPIO
|
||||||
|
|
||||||
|
@ -15,4 +15,3 @@ FEATURES_PROVIDED += periph_usbdev
|
|||||||
# Various other features (if any)
|
# Various other features (if any)
|
||||||
FEATURES_PROVIDED += arduino
|
FEATURES_PROVIDED += arduino
|
||||||
FEATURES_PROVIDED += arduino_pwm
|
FEATURES_PROVIDED += arduino_pwm
|
||||||
FEATURES_PROVIDED += tinyusb_device
|
|
||||||
|
Loading…
Reference in New Issue
Block a user