1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/usbus_cdc_ecm/Makefile
Gunar Schorcht 735cb2474e tests/usbus_cdc_ecm: remove stm32f429i-disco from blacklist
Since the stm32f429i-disco uses the USB OTG HS instead of USB OTG FS peripheral, the number of available EPs is sufficient for this application. With the change of defining the largest number of available EPs for USBUS instead of the smallest number, the board can use all EPs of the USB OTG HS peripheral.
2023-03-16 07:47:18 +01:00

38 lines
1.1 KiB
Makefile

BOARD ?= samr21-xpro
include ../Makefile.tests_common
USEMODULE += auto_init_gnrc_netif
USEMODULE += gnrc_ipv6_router_default
USEMODULE += gnrc_icmpv6_echo
USEMODULE += usbus_cdc_ecm
USEMODULE += shell
USEMODULE += shell_cmds_default
USEMODULE += ps
# Boards that don't have enough endpoints to use CDC ACM together with CDC ECM
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