2014-02-10 15:28:55 +01:00
|
|
|
# name of your application
|
2014-05-05 21:54:10 +02:00
|
|
|
APPLICATION = default
|
2014-01-06 10:10:47 +01:00
|
|
|
|
2014-01-13 11:12:14 +01:00
|
|
|
# If no BOARD is found in the environment, use this default:
|
2014-05-05 21:54:10 +02:00
|
|
|
BOARD ?= native
|
2014-01-13 11:05:52 +01:00
|
|
|
|
|
|
|
# This has to be the absolute path to the RIOT base directory:
|
2014-05-05 21:54:10 +02:00
|
|
|
RIOTBASE ?= $(CURDIR)/../..
|
2014-01-06 10:10:47 +01:00
|
|
|
|
2014-01-13 11:05:52 +01:00
|
|
|
# Uncomment these lines if you want to use platform support from external
|
|
|
|
# repositories:
|
2014-05-05 21:54:10 +02:00
|
|
|
#RIOTCPU ?= $(CURDIR)/../../RIOT/thirdparty_cpu
|
2020-04-15 22:27:09 +02:00
|
|
|
#EXTERNAL_BOARD_DIRS ?= $(CURDIR)/../../RIOT/thirdparty_boards
|
2014-01-06 10:10:47 +01:00
|
|
|
|
2014-01-13 11:05:52 +01:00
|
|
|
# Uncomment this to enable scheduler statistics for ps:
|
2017-05-03 12:00:07 +02:00
|
|
|
#USEMODULE += schedstatistics
|
2014-01-06 10:10:47 +01:00
|
|
|
|
2014-02-08 19:42:54 +01:00
|
|
|
# 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
|
2014-01-06 10:10:47 +01:00
|
|
|
|
2014-08-01 18:48:16 +02:00
|
|
|
# Comment this out to disable code in RIOT that does safety checking
|
2014-01-13 11:05:52 +01:00
|
|
|
# which is not needed in a production environment but helps in the
|
|
|
|
# development process:
|
2017-11-19 14:12:25 +01:00
|
|
|
DEVELHELP ?= 1
|
2014-01-13 11:05:52 +01:00
|
|
|
|
|
|
|
# Change this to 0 show compiler invocation lines by default:
|
2014-05-05 21:54:10 +02:00
|
|
|
QUIET ?= 1
|
2014-01-13 11:05:52 +01:00
|
|
|
|
2014-01-13 11:12:14 +01:00
|
|
|
# Modules to include:
|
2014-01-06 10:10:47 +01:00
|
|
|
USEMODULE += shell
|
2022-08-16 16:35:20 +02:00
|
|
|
USEMODULE += shell_cmds_default
|
2014-01-06 10:10:47 +01:00
|
|
|
USEMODULE += ps
|
2015-11-18 16:20:58 +01:00
|
|
|
# include and auto-initialize all available sensors
|
|
|
|
USEMODULE += saul_default
|
2014-02-03 15:58:18 +01:00
|
|
|
|
2024-05-21 21:22:01 +02:00
|
|
|
# Use a network interface, if available. The handling is done in
|
|
|
|
# Makefile.board.dep, which is processed recursively as part of the dependency
|
|
|
|
# resolution.
|
|
|
|
FEATURES_OPTIONAL += netif
|
2015-09-09 11:35:50 +02:00
|
|
|
|
2014-11-20 18:26:48 +01:00
|
|
|
FEATURES_OPTIONAL += periph_rtc
|
2014-10-26 23:18:58 +01:00
|
|
|
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter msba2,$(BOARD)))
|
2015-09-19 13:27:23 +02:00
|
|
|
USEMODULE += mci
|
|
|
|
USEMODULE += random
|
2014-01-06 10:10:47 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
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
|