2020-12-01 12:29:40 +01:00
|
|
|
BOARD ?= samr21-xpro
|
|
|
|
|
2023-05-05 10:09:15 +02:00
|
|
|
include ../Makefile.pkg_common
|
2020-12-01 12:29:40 +01:00
|
|
|
|
|
|
|
USEPKG += openwsn
|
|
|
|
USEMODULE += openwsn_openstack
|
|
|
|
USEMODULE += openwsn_scheduler
|
|
|
|
USEMODULE += sock_udp
|
|
|
|
|
|
|
|
# Mock OpenWSN scheduler to handle the udp_transmit task.
|
|
|
|
USEMODULE += openwsn_scheduler_mock
|
2021-03-02 15:11:53 +01:00
|
|
|
EXTERNAL_MODULE_DIRS += external_modules
|
2020-12-01 12:29:40 +01:00
|
|
|
|
|
|
|
# Explicitly include ztimer to enable timeout
|
|
|
|
USEMODULE += ztimer_usec
|
|
|
|
DISABLE_MODULE += auto_init_openwsn
|
|
|
|
|
|
|
|
CFLAGS +=-DCONFIG_OPENWSN_NETIF_ID=31
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|