-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
18156: pkg/opendsme: add initial support for IEEE 802.15.4 DSME time-slotted MAC r=chrysn a=jia200x Co-authored-by: Jose Alamos <jose@alamos.cc>
- Loading branch information
Showing
31 changed files
with
3,314 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# name of your application | ||
APPLICATION = opendsme_example | ||
|
||
# If no BOARD is found in the environment, use this default: | ||
BOARD ?= nrf52840dk | ||
|
||
# DSME uses beacon transmission, which are usually filtered out in current drivers. | ||
# So far, nrf802154 is the only driver that supports beacons, which means openDSME | ||
# will run only in nrf802154-based CPUs. | ||
FEATURES_REQUIRED += cpu_nrf52 | ||
|
||
# This has to be the absolute path to the RIOT base directory: | ||
RIOTBASE ?= $(CURDIR)/../.. | ||
|
||
# Uncomment these lines if you want to use platform support from external | ||
# repositories: | ||
#RIOTCPU ?= $(CURDIR)/../../../thirdparty_cpu | ||
#EXTERNAL_BOARD_DIRS ?= $(CURDIR)/../../../thirdparty_boards | ||
|
||
# Uncomment this to enable scheduler statistics for ps: | ||
#CFLAGS += -DSCHEDSTATISTICS | ||
|
||
# If you want to use native with valgrind, you should recompile native | ||
# with the target all-valgrind instead of all: | ||
# make -B clean all-valgrind | ||
|
||
# Comment this out to disable code in RIOT that does safety checking | ||
# which is not needed in a production environment but helps in the | ||
# development process: | ||
DEVELHELP ?= 1 | ||
|
||
# Change this to 0 show compiler invocation lines by default: | ||
QUIET ?= 1 | ||
|
||
USEMODULE += ps | ||
USEMODULE += shell | ||
USEMODULE += shell_cmds_default | ||
|
||
USEPKG += opendsme | ||
USEMODULE += auto_init_gnrc_netif | ||
USEMODULE += l2util | ||
USEMODULE += gnrc_pktdump | ||
USEMODULE += gnrc_txtsnd | ||
|
||
USEMODULE += netdev_default | ||
|
||
# Some boards (e.g nrf52840dongle) require a higher CCA threshold to avoid | ||
# false positives. | ||
CFLAGS += -DCONFIG_IEEE802154_CCA_THRESH_DEFAULT=-30 | ||
|
||
include $(RIOTBASE)/Makefile.include |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
BOARD_INSUFFICIENT_MEMORY := \ | ||
nrf52dk \ | ||
nrf52840dk \ | ||
nrf52840dongle \ | ||
# |
Oops, something went wrong.