mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 22:52:45 +01:00
boards/common/samdx1-arduino-bootloader: use any CDC ACM interface
This commit is contained in:
parent
cdbc9e01e7
commit
0fbe9f6dfd
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
config MODULE_BOARDS_COMMON_SAMDX1-ARDUINO-BOOTLOADER
|
config MODULE_BOARDS_COMMON_SAMDX1-ARDUINO-BOOTLOADER
|
||||||
bool
|
bool
|
||||||
default y if MODULE_STDIO_CDC_ACM
|
default y if MODULE_USBUS_CDC_ACM
|
||||||
imply MODULE_USB_BOARD_RESET
|
imply MODULE_USB_BOARD_RESET
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
help
|
help
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
include $(RIOTBOARD)/common/makefiles/stdio_cdc_acm.dep.mk
|
include $(RIOTBOARD)/common/makefiles/stdio_cdc_acm.dep.mk
|
||||||
|
|
||||||
# USB Board reset only works if CDC ACM is used
|
# USB Board reset only works if CDC ACM is used
|
||||||
ifneq (,$(filter stdio_cdc_acm,$(USEMODULE)))
|
ifneq (,$(filter usbus_cdc_acm,$(USEMODULE)))
|
||||||
USEMODULE += boards_common_samdx1-arduino-bootloader
|
USEMODULE += boards_common_samdx1-arduino-bootloader
|
||||||
USEMODULE += usb_board_reset
|
USEMODULE += usb_board_reset
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user