-
Notifications
You must be signed in to change notification settings - Fork 6
/
mdepx.conf
160 lines (130 loc) · 2.07 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
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;
nrf_modem {
# Note: use libmodem_log.a for logging
objects lib/cellular/nrf9160/hard-float/libmodem.a
};
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;
append-search-path ../nrfxlib/nrf_modem/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
nrf_wifi;
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;
};
};
};
};