2015-11-16 19:57:08 +01:00
|
|
|
# name of your application
|
|
|
|
APPLICATION = gnrc_minimal
|
|
|
|
|
|
|
|
# If no BOARD is found in the environment, use this default:
|
|
|
|
BOARD ?= native
|
|
|
|
|
|
|
|
# This has to be the absolute path to the RIOT base directory:
|
|
|
|
RIOTBASE ?= $(CURDIR)/../..
|
|
|
|
|
2019-10-24 14:02:30 +02:00
|
|
|
# Set this to 1 to enable code in RIOT that does safety checking
|
2017-01-18 14:29:23 +01:00
|
|
|
# which is not needed in a production environment but helps in the
|
|
|
|
# development process:
|
2019-10-24 14:02:30 +02:00
|
|
|
DEVELHELP ?= 0
|
2016-06-06 01:51:17 +02:00
|
|
|
|
2015-11-16 19:57:08 +01:00
|
|
|
# Include packages that pull up and auto-init the link layer.
|
|
|
|
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
2016-03-22 16:41:51 +01:00
|
|
|
USEMODULE += gnrc_netdev_default
|
2015-11-16 19:57:08 +01:00
|
|
|
USEMODULE += auto_init_gnrc_netif
|
|
|
|
# Specify the minimum networking modules for IPv6
|
|
|
|
USEMODULE += gnrc_ipv6
|
|
|
|
# Additional networking modules that can be dropped if not needed
|
|
|
|
USEMODULE += gnrc_icmpv6_echo
|
|
|
|
# Use minimal standard PRNG
|
|
|
|
USEMODULE += prng_minstd
|
|
|
|
|
2019-10-24 14:00:09 +02:00
|
|
|
CFLAGS += -DLOG_LEVEL=LOG_NONE # disable log output
|
2017-11-16 18:06:46 +01:00
|
|
|
CFLAGS += -DGNRC_PKTBUF_SIZE=512 -DGNRC_NETIF_IPV6_ADDRS_NUMOF=2 \
|
2017-11-30 16:39:56 +01:00
|
|
|
-DGNRC_NETIF_IPV6_GROUPS_NUMOF=2 -DGNRC_IPV6_NIB_NUMOF=1 \
|
|
|
|
-DGNRC_IPV6_NIB_OFFL_NUMOF=1 # be able to configure at least one route
|
2015-11-16 19:57:08 +01:00
|
|
|
|
|
|
|
# Change this to 0 show compiler invocation lines by default:
|
|
|
|
QUIET ?= 1
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|
2016-10-21 12:59:26 +02:00
|
|
|
|
|
|
|
# Set a custom channel if needed
|
2019-10-22 15:18:08 +02:00
|
|
|
include $(RIOTMAKE)/default-radio-settings.inc.mk
|