-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (30 loc) · 1.25 KB
/
Makefile
File metadata and controls
41 lines (30 loc) · 1.25 KB
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
# The name of the LF application inside "./src" to build/run/flash etc.
LF_MAIN ?= HelloUc
# Increase the default stack-size
CFLAGS += -DTHREAD_STACKSIZE_MAIN=4096
# Make default debug output report only info and errors.
CFLAGS += -DLF_COLORIZE_LOGS=0
CFLAGS += -DLF_TIMESTAMP_LOGS=0
CFLAGS += -DLF_LOG_LEVEL_ALL=LF_LOG_LEVEL_ERROR
#CFLAGS += -DLF_LOG_LEVEL_PLATFORM=LF_LOG_LEVEL_DEBUG
#CFLAGS += -DLF_LOG_LEVEL_TRIG=LF_LOG_LEVEL_DEBUG
#CFLAGS += -DLF_LOG_LEVEL_SCHED=LF_LOG_LEVEL_INFO
# Enable reactor-uc features & configuration
EVENT_QUEUE_SIZE?=20
REACTION_QUEUE_SIZE?=20
# Execute the LF compiler if build target is "all"
ifeq ($(firstword $(MAKECMDGOALS)),all)
_ := $(shell $(REACTOR_UC_PATH)/lfc/bin/lfc-dev src/$(LF_MAIN).lf)
endif
# ---- RIOT specific configuration ----
# This has to be the absolute path to the RIOT base directory:
RIOTBASE = $(CURDIR)/RIOT
# If no BOARD is found in the environment, use this default:
BOARD ?= adafruit-feather-nrf52840-sense
# 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
include $(REACTOR_UC_PATH)/make/riot/riot-lfc.mk