mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 09:52:45 +01:00
c1be18a002
`tests/gnrc_udp` was specifically introduced for testing the release specs. All of them ask the tester to check the packet buffer after the test. So it makes sense to include the module that allows for that per default for this test so the tester does not forget to include it ;-).
43 lines
1.6 KiB
Makefile
43 lines
1.6 KiB
Makefile
include ../Makefile.tests_common
|
|
|
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \
|
|
arduino-uno calliope-mini chronos hifive1 \
|
|
mega-xplained microbit msb-430 msb-430h \
|
|
nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \
|
|
nucleo-l031k6 nucleo-f030r8 nucleo-f070rb \
|
|
nucleo-f072rb nucleo-f103rb nucleo-f302r8 \
|
|
nucleo-f334r8 nucleo-l053r8 spark-core \
|
|
stm32f0discovery telosb waspmote-pro wsn430-v1_3b \
|
|
wsn430-v1_4 z1
|
|
|
|
USEMODULE += gnrc_netdev_default
|
|
USEMODULE += auto_init_gnrc_netif
|
|
USEMODULE += gnrc_ipv6_router_default
|
|
USEMODULE += gnrc_pktbuf_cmd
|
|
USEMODULE += gnrc_udp
|
|
USEMODULE += gnrc_rpl
|
|
USEMODULE += auto_init_gnrc_rpl
|
|
USEMODULE += od
|
|
USEMODULE += gnrc_icmpv6_echo
|
|
USEMODULE += shell
|
|
USEMODULE += shell_commands
|
|
USEMODULE += ps
|
|
USEMODULE += netstats_l2
|
|
USEMODULE += netstats_ipv6
|
|
|
|
include $(RIOTBASE)/Makefile.include
|
|
|
|
# Set a custom channel if needed
|
|
ifneq (,$(filter cc110x,$(USEMODULE))) # radio is cc110x sub-GHz
|
|
DEFAULT_CHANNEL ?= 0
|
|
CFLAGS += -DCC110X_DEFAULT_CHANNEL=$(DEFAULT_CHANNEL)
|
|
else
|
|
ifneq (,$(filter at86rf212b,$(USEMODULE))) # radio is IEEE 802.15.4 sub-GHz
|
|
DEFAULT_CHANNEL ?= 5
|
|
CFLAGS += -DIEEE802154_DEFAULT_SUBGHZ_CHANNEL=$(DEFAULT_CHANNEL)
|
|
else # radio is IEEE 802.15.4 2.4 GHz
|
|
DEFAULT_CHANNEL ?= 26
|
|
CFLAGS += -DIEEE802154_DEFAULT_CHANNEL=$(DEFAULT_CHANNEL)
|
|
endif
|
|
endif
|