2023-05-12 11:31:32 +02:00
|
|
|
include ../Makefile.net_common
|
2019-11-15 18:12:58 +01:00
|
|
|
|
|
|
|
USEMODULE += gnrc_ipv6_router_default
|
|
|
|
USEMODULE += gnrc_sixlowpan_frag_sfr
|
|
|
|
USEMODULE += gnrc_sixlowpan_iphc
|
|
|
|
USEMODULE += gnrc_ipv6_nib
|
|
|
|
USEMODULE += gnrc_netif
|
|
|
|
USEMODULE += embunit
|
|
|
|
USEMODULE += netdev_ieee802154
|
|
|
|
USEMODULE += netdev_test
|
|
|
|
|
|
|
|
CFLAGS += -DTEST_SUITES
|
|
|
|
|
2024-01-11 13:16:17 +01:00
|
|
|
INCLUDES += -I$(RIOTBASE)/sys/net/gnrc/pktbuf_static/include
|
|
|
|
|
2022-04-01 12:21:20 +02:00
|
|
|
# microbit qemu failing currently
|
|
|
|
TEST_ON_CI_BLACKLIST += microbit
|
|
|
|
|
2019-11-15 18:12:58 +01:00
|
|
|
include $(RIOTBASE)/Makefile.include
|
|
|
|
|
|
|
|
ifndef CONFIG_GNRC_IPV6_NIB_NO_RTR_SOL
|
|
|
|
# disable router solicitations so they don't interfere with the tests
|
|
|
|
CFLAGS += -DCONFIG_GNRC_IPV6_NIB_NO_RTR_SOL=1
|
|
|
|
endif
|
|
|
|
# SFR parameters
|
|
|
|
ifndef CONFIG_GNRC_SIXLOWPAN_SFR_OPT_WIN_SIZE
|
|
|
|
# fix window size
|
|
|
|
CFLAGS += -DCONFIG_GNRC_SIXLOWPAN_SFR_OPT_WIN_SIZE=3U
|
|
|
|
endif
|
|
|
|
ifndef CONFIG_GNRC_SIXLOWPAN_SFR_INTER_FRAME_GAP_US
|
|
|
|
# decrease inter frame gap
|
|
|
|
CFLAGS += -DCONFIG_GNRC_SIXLOWPAN_SFR_INTER_FRAME_GAP_US=5U
|
|
|
|
endif
|
|
|
|
ifndef CONFIG_GNRC_SIXLOWPAN_SFR_MIN_ARQ_TIMEOUT_MS
|
|
|
|
# decrease minimal ARQ timeout
|
|
|
|
CFLAGS += -DCONFIG_GNRC_SIXLOWPAN_SFR_MIN_ARQ_TIMEOUT_MS=100U
|
|
|
|
endif
|
|
|
|
ifndef CONFIG_GNRC_SIXLOWPAN_SFR_OPT_ARQ_TIMEOUT_MS
|
|
|
|
# decrease initial ARQ timeout
|
|
|
|
CFLAGS += -DCONFIG_GNRC_SIXLOWPAN_SFR_OPT_ARQ_TIMEOUT_MS=100U
|
|
|
|
endif
|