-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Makefile
94 lines (86 loc) · 1.69 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
include ../Makefile.tests_common
USEMODULE += xtimer
# this test uses 1000 timers by default. for boards that boards don't have
# enough memory, reduce that to 100 or 20, unless NUMOF_TIMERS has been overridden.
LOW_MEMORY_BOARDS += \
airfy-beacon \
arduino-mega2560 \
arduino-mkr1000 \
arduino-mkrfox1200 \
arduino-mkrwan1300 \
arduino-mkrzero \
atmega1284p \
b-l072z-lrwan1 \
blackpill \
blackpill-128kib \
bluepill \
bluepill-128kib \
calliope-mini \
cc1312-launchpad \
cc1352-launchpad \
cc2650-launchpad \
cc2650stk \
e104-bt5010a-tb \
derfmega128 \
feather-m0 \
feather-m0-wifi \
feather-m0-lora \
hifive1 \
hifive1b \
i-nucleo-lrwan1 \
lsn50 \
maple-mini \
mega-xplained \
microbit \
microduino-corerf \
msb-430 \
msb-430h \
nrf51dongle \
nrf6310 \
nucleo-f030r8 \
nucleo-f042k6 \
nucleo-f070rb \
nucleo-f072rb \
nucleo-f103rb \
nucleo-f303k8 \
nucleo-f334r8 \
nucleo-l031k6 \
nucleo-l053r8 \
nucleo-l073rz \
opencm904 \
saml10-xpro \
saml11-xpro \
serpente \
sodaq-autonomo \
sodaq-explorer \
sodaq-one \
sodaq-sara-aff \
sodaq-sara-sff \
spark-core \
stm32f0discovery \
stm32l0538-disco \
telosb \
waspmote-pro \
wemos-zero \
yarm \
yunjia-nrf51822 \
z1 \
#
SUPER_LOW_MEMORY_BOARDS += \
arduino-duemilanove \
arduino-leonardo \
arduino-nano \
arduino-uno \
atmega328p \
nucleo-f031k6 \
stm32f030f4-demo \
#
ifneq (, $(filter $(BOARD), $(LOW_MEMORY_BOARDS)))
NUMOF_TIMERS ?= 100
endif
ifneq (, $(filter $(BOARD), $(SUPER_LOW_MEMORY_BOARDS)))
NUMOF_TIMERS ?= 12
endif
NUMOF_TIMERS ?= 1000
CFLAGS += -DNUMOF_TIMERS=$(NUMOF_TIMERS)
include $(RIOTBASE)/Makefile.include