forked from hamilton-mote/Apps
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathMakefile
47 lines (39 loc) · 1.23 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
APPLICATION = bcast_sensor_data
RIOTBASE ?= $(CURDIR)/../..
BOARD ?= hamilton
USEMODULE += xtimer
USEMODULE += rtt_stdio
#CFLAGS += -DRTT_STDIO_ENABLE_BLOCKING_STDOUT
# Radio
USEMODULE += at86rf233
# Sensors
USEMODULE += at30ts74 # temperature sensor
USEMODULE += mma7660 # accelerometer
# networking
USEMODULE += gnrc_netdev_default
USEMODULE += auto_init_gnrc_netif
# Specify the mandatory networking modules for IPv6 and UDP
USEMODULE += gnrc_ipv6_router_default
USEMODULE += gnrc_udp
# Add a routing protocol
USEMODULE += gnrc_rpl
USEMODULE += auto_init_gnrc_rpl
# This application dumps received packets to STDIO using the pktdump module
USEMODULE += gnrc_pktdump
# Additional networking modules that can be dropped if not needed
USEMODULE += gnrc_icmpv6_echo
# Add also the shell, some shell commands
USEMODULE += shell
USEMODULE += shell_commands
USEMODULE += ps
USEMODULE += netstats_l2
USEMODULE += netstats_ipv6
# 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:
CFLAGS += -DDEVELHELP
DEFAULT_CHANNEL ?= 22
CFLAGS += -DDEFAULT_CHANNEL=$(DEFAULT_CHANNEL)
QUIET ?= 1
FEATURES_REQUIRED += periph_timer
include $(RIOTBASE)/Makefile.include