-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
75 lines (53 loc) · 1.5 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
66
67
68
69
70
71
72
73
74
RIOTBASE= ./RIOT
BOARD ?= stm32f746g-disco
APPLICATION = U-TOE
# WERROR ?= 0
# DEVELHELP ?= 1
# CFLAGS += -fstack-usage
# CFLAGS += -fcallgraph-info
# CFLAGS += -fdump-rtl-expand
# CFLAGS += -fdump-tree-optimized
EXTERNAL_PKG_DIRS += models
USEPKG += default
USEMODULE += xtimer random stdin
UTOE_RANDOM_SEED ?= 42
UTOE_TRIAL_NUM ?= 10
UTOE_GRANULARITY ?= 0
UTOE_ONLY ?= 0
CFLAGS += -DUTOE_RANDOM_SEED=$(UTOE_RANDOM_SEED) -DUTOE_TRIAL_NUM=$(UTOE_TRIAL_NUM)
CFLAGS += -DUTOE_GRANULARITY=$(UTOE_GRANULARITY) -DCONFIG_SKIP_BOOT_MSG=1
INCLUDES += -I$(CURDIR)/utvm_runtime/include
ifeq ($(UTOE_GRANULARITY), 1)
CFLAGS += -DTHREAD_STACKSIZE_DEFAULT=2048
EXTERNAL_PKG_DIRS += $(CURDIR)
USEPKG += utvm_runtime
endif
ifeq ($(UTOE_ONLY), 1)
CFLAGS += -DUTOE_ONLY
USE_SUIT = 0
else
USEMODULE += mlmodel_coap
endif
USEMODULE += mlmci
EXTERNAL_MODULE_DIRS += $(CURDIR)
USE_SUIT ?= 0
SUIT_COAP_FSROOT ?= $(CURDIR)/coaproot
ifeq ($(USE_SUIT), 1)
# FEATURES_PROVIDED += riotboot
USEMODULE += suit_helpers
include $(CURDIR)/suit.mk
# DIRS += suit_helpers
CFLAGS += -DUSE_SUIT
else
include $(RIOTBASE)/Makefile.include
endif
CFLAGS += -Wno-strict-prototypes
# CFLAGS += -Wno-missing-include-dirs
CFLAGS += -Wno-discarded-qualifiers
IOTLAB_ARCHI_openmote-b = openmoteb
include iotlab.site.mk
include $(RIOTBASE)/dist/testbed-support/makefile.iotlab.archi.inc.mk
include $(RIOTBASE)/dist/testbed-support/Makefile.iotlab
override BINARY := $(ELFFILE)
list-ttys-json:
$(Q) python $(RIOTTOOLS)/usb-serial/ttys.py --format json