-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
65 lines (46 loc) · 1.55 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# name of your application
APPLICATION = range_test
# If no BOARD is found in the environment, use this default:
BOARD ?= native
# enable PA
CFLAGS += -DCONFIG_IEEE802154_DEFAULT_TXPOWER=3
# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../RIOT
# use the default network interface for the board
USEMODULE += netdev_default
USEMODULE += auto_init_gnrc_netif
USEMODULE += gnrc_ipv6_default
USEMODULE += gnrc_udp
USEMODULE += gnrc_icmpv6_echo
USEMODULE += sema_inv
USEMODULE += ztimer_no_periph_rtt
# USEMODULE += periph_uart_nonblocking
ifeq (same54-xpro, $(BOARD))
USEMODULE += at86rf215
USEMODULE += vfs_default
endif
USEMODULE += shell
USEMODULE += shell_commands
USEMODULE += ps
USEMODULE += periph_rtt
USEMODULE += xtimer
USEMODULE += rtt_rtc
# enable to only test sub-GHz radio
#USEMODULE += at86rf215_subghz
# selectively disable modulations to test
#DISABLE_MODULE += netdev_ieee802154_oqpsk
#DISABLE_MODULE += netdev_ieee802154_mr_oqpsk
#DISABLE_MODULE += netdev_ieee802154_mr_ofdm
#DISABLE_MODULE += netdev_ieee802154_mr_fsk
# blocking send can lead to hangs
DISABLE_MODULE += at86rf215_blocking_send
# 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
# CFLAGS += -DIEEE802154_DEFAULT_PANID=$(DEFAULT_PAN_ID)
include $(RIOTBASE)/Makefile.include
# Set a custom channel if needed
include $(RIOTMAKE)/default-radio-settings.inc.mk