2023-05-16 17:12:10 +02:00
|
|
|
BOARD_WHITELIST = native derfmega256 avr-rss2 atmega256rfr2-xpro nrf52840dongle
|
2019-04-15 17:54:37 +02:00
|
|
|
|
2023-05-12 11:31:32 +02:00
|
|
|
include ../Makefile.net_common
|
2019-04-15 17:54:37 +02:00
|
|
|
|
2023-05-16 17:12:10 +02:00
|
|
|
ifeq (native, $(BOARD))
|
|
|
|
USEMODULE += socket_zep
|
|
|
|
TERMFLAGS ?= -z "0.0.0.0:17755,localhost:17754"
|
|
|
|
USEMODULE += netdev
|
|
|
|
# somehow this breaks the test
|
|
|
|
DISABLE_MODULE += test_utils_print_stack_usage
|
|
|
|
else
|
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += shell_cmds_default
|
|
|
|
USEMODULE += ps
|
|
|
|
# use the default network interface for the board
|
|
|
|
USEMODULE += netdev_default
|
|
|
|
# shell command to send L2 packets with a simple string
|
|
|
|
USEMODULE += gnrc_txtsnd
|
|
|
|
# module to test rx timestamp
|
|
|
|
USEMODULE += gnrc_netif_timestamp
|
|
|
|
endif
|
2019-04-15 17:54:37 +02:00
|
|
|
|
2023-05-16 17:12:10 +02:00
|
|
|
# gnrc is a meta module including all required, basic gnrc networking modules
|
2019-04-15 17:54:37 +02:00
|
|
|
USEMODULE += gnrc
|
2023-05-16 17:12:10 +02:00
|
|
|
# automatically initialize the network interface
|
|
|
|
USEMODULE += auto_init_gnrc_netif
|
|
|
|
# use GNRC IEEE 802.15.4 as link-layer protocol
|
2019-04-15 17:54:37 +02:00
|
|
|
USEMODULE += gnrc_netif_ieee802154
|
2023-05-16 17:12:10 +02:00
|
|
|
# the application dumps received packets to stdout
|
2019-04-15 17:54:37 +02:00
|
|
|
USEMODULE += gnrc_pktdump
|
|
|
|
|
|
|
|
TEST_ON_CI_WHITELIST += native
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|