Skip to content

Commit

Permalink
tests/usbus_cdc_ecm: add blacklist info
Browse files Browse the repository at this point in the history
  • Loading branch information
gschorcht committed Mar 14, 2023
1 parent 5820806 commit 82a520e
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions tests/usbus_cdc_ecm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,28 @@ USEMODULE += shell_cmds_default
USEMODULE += ps

# Boards that don't have enough endpoints to use CDC ACM together with CDC ECM
BOARD_BLACKLIST += \
stm32f4discovery \
weact-f401cc \
weact-f401ce \
weact-f411ce \
#
ifeq (,$(filter stdio_%,$(filter-out stdio_cdc_acm,$(USEMODULE))))
BOARD_BLACKLIST += \
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

0 comments on commit 82a520e

Please sign in to comment.