mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
tests/usbus_cdc_ecm: add blacklist info
This commit is contained in:
parent
b4d39db8d5
commit
cc2fedb396
@ -10,12 +10,29 @@ USEMODULE += shell_cmds_default
|
||||
USEMODULE += ps
|
||||
|
||||
# Boards that don't have enough endpoints to use CDC ACM together with CDC ECM
|
||||
BOARD_BLACKLIST += \
|
||||
stm32f429i-disco \
|
||||
stm32f4discovery \
|
||||
weact-f401cc \
|
||||
weact-f401ce \
|
||||
weact-f411ce \
|
||||
#
|
||||
ifeq (,$(filter stdio_%,$(filter-out stdio_cdc_acm,$(USEMODULE))))
|
||||
BOARD_BLACKLIST += \
|
||||
stm32f429i-disco \
|
||||
stm32f4discovery \
|
||||
weact-f401cc \
|
||||
weact-f401ce \
|
||||
weact-f411ce \
|
||||
#
|
||||
endif
|
||||
|
||||
define _usbus_cdc_ecm_blacklist_info
|
||||
Warning:
|
||||
The board is blacklisted because it uses `stdio_cdc_acm` as STDIO, which needs
|
||||
a CDC ACM interface in addition to the CDC ECM interface, but the number of
|
||||
available endpoints is not sufficient for this. To use this application you
|
||||
have to use `stdio_uart` or any other `stdio_*` module, for example:
|
||||
|
||||
USEMODULE=stdio_uart BOARD=$(BOARD) make -C tests/usbus_cdc_ecm
|
||||
|
||||
endef
|
||||
|
||||
ifneq (,$(filter $(BOARD),$(BOARD_BLACKLIST)))
|
||||
$(info $(_usbus_cdc_ecm_blacklist_info))
|
||||
endif
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
Loading…
Reference in New Issue
Block a user