-
Notifications
You must be signed in to change notification settings - Fork 6
/
mdepx.conf
222 lines (183 loc) · 3.43 KB
/
mdepx.conf
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
modules mdepx nrfxlib src;
link ./src/ldscript obj/nrf9160.elf;
set-build-flags -mthumb
-mcpu=cortex-m33
-mfpu=fpv5-sp-d16
-mfloat-abi=hard
-g
-nostdlib -nostdinc
-fshort-enums
-fno-builtin-printf
-ffreestanding;
set-build-flags -Wredundant-decls
-Wnested-externs
-Wstrict-prototypes
-Wmissing-prototypes
-Wpointer-arith
-Winline
-Wcast-qual
-Wundef
-Wmissing-include-dirs
-Wall
-Werror;
nrfxlib {
modules nrf_modem crypto;
modules nrf_wifi;
nrf_modem {
# Note: use libmodem_log.a for logging
objects lib/cellular/nrf9160/hard-float/libmodem.a
};
nrf_wifi {
modules fw_if hw_if;
append-cflags -D__KERNEL__;
append-search-path
hw_if/hal/inc
hw_if/hal/inc/fw;
append-search-path
fw_if/umac_if/inc/default
fw_if/umac_if/inc/fw
fw_if/umac_if/inc;
append-search-path
os_if/inc
bus_if/bal/inc
bus_if/bus/qspi/inc
utils/inc;
append-search-path ../../mdepx/include;
append-search-path ../../src/wifi/include;
append-cflags -Wno-error=unused-but-set-variable;
append-cflags -Wno-error=missing-prototypes;
append-cflags -Wno-error=pointer-sign;
append-cflags -Wno-error=cast-qual;
append-cflags -Wno-error=int-conversion;
append-cflags -Wno-error=incompatible-pointer-types;
append-cflags -include ../../src/wifi/config.h;
fw_if {
objects umac_if/src/rx.o
umac_if/src/cmd.o
umac_if/src/event.o
umac_if/src/fmac_peer.o
umac_if/src/default/fmac_api.o
umac_if/src/tx.o
umac_if/src/fmac_api_common.o
umac_if/src/fmac_util.o
umac_if/src/fmac_ap.o
# umac_if/src/radio_test/fmac_api.o
umac_if/src/fmac_vif.o;
};
hw_if {
objects hal/src/pal.o
hal/src/hal_api.o
hal/src/hal_reg.o
hal/src/hal_mem.o
hal/src/hal_fw_patch_loader.o
hal/src/hpqm.o
hal/src/hal_interrupt.o;
};
objects bus_if/bal/src/bal.o
bus_if/bus/qspi/src/qspi.o
# bus_if/bus/spi/src/spi.o
utils/src/list.o
utils/src/queue.o
utils/src/util.o
os_if/src/osal.o;
};
crypto {
modules nrf_oberon;
nrf_oberon {
objects lib/cortex-m33/hard-float/liboberon_3.0.15.a;
};
};
};
src {
modules wifi;
append-build-flags -Wno-error=redundant-decls;
append-search-path ../mdepx/arch
../mdepx/include
../mdepx/kernel
../mdepx/lib
../mdepx/
../;
append-search-path ../mdepx/lib/mbedtls/include;
objects board.o
jump.o
gps.o
lcd.o
main.o
math.o
nrf_modem.o
nrfx_ipc.o
ntp.o;
wifi {
append-cflags -D__KERNEL__;
append-search-path include;
objects nrf_wifi.o;
};
};
mdepx {
modules arch dev kernel lib;
arch {
modules arm;
arm {
modules nordicsemi;
options vfp trustzone;
intr_stack_size 8192;
nordicsemi {
options nrf9160;
};
};
};
dev {
modules uart gpio intc;
};
kernel {
modules callout
clock
cpu
init
malloc
of
sched
systm
time
thread;
callout {
options usec_to_ticks_1mhz;
};
malloc {
options fl fl_wrapper;
};
systm {
options console;
};
thread {
stack_size 8192;
options dynamic_alloc;
};
};
lib {
modules aeabi_softfloat
ftoa
libaeabi
libc
libfdt
mbedtls
softfloat;
mbedtls {
# For the <mbedtls_config.h>
append-search-path ../../../src;
};
softfloat {
modules source;
source {
modules ARM-VFPv2;
};
options armvfpv2;
};
libc {
modules stdio string stdlib;
stdio {
objects scanf.o;
};
};
};
};