-
Notifications
You must be signed in to change notification settings - Fork 2
/
mdepx.conf
126 lines (107 loc) · 1.72 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
modules mdepx;
modules src;
link src/ldscript obj/neodenyy1.elf;
set-build-flags -mthumb
-mcpu=cortex-m4
-mfpu=fpv5-sp-d16
-mfloat-abi=hard
-O -g
-nostdlib
-pipe
-nostdinc
-fno-pic
-fno-builtin-printf
-fno-omit-frame-pointer
-fno-optimize-sibling-calls
-ffreestanding
-fwrapv
-fdiagnostics-show-option
-fms-extensions;
set-build-flags -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual
-Wundef -Wno-pointer-sign -Wno-format
-Wmissing-include-dirs -Wno-unknown-pragmas -Werror;
src {
append-search-path
../mdepx/arch
../mdepx/include
../mdepx/lib
../mdepx/;
objects board.o
gcode.o
gpio.o
main.o
pnp.o
trig.o;
};
mdepx {
modules arch;
modules dev;
modules kernel;
modules lib;
arch {
modules arm;
arm {
intr_stack_size 16384;
options stm32f4;
options swd_debug;
options vfp;
};
};
dev {
modules intc;
};
kernel {
modules cpu;
modules thread;
modules callout;
modules systm;
modules sched;
modules malloc;
callout {
options usec_to_ticks;
};
malloc {
debug_enomem;
options fl fl_wrapper;
};
cpu {
max 1;
};
systm {
options console;
};
thread {
stack_size 16384;
options dynamic_alloc;
};
};
lib {
modules aeabi_softfloat;
modules ftoa;
modules gdtoa;
modules libaeabi;
modules libc;
modules softfloat;
modules msun;
msun {
options arm;
objects src/e_asin.o
src/e_sqrt.o;
};
gdtoa {
append-cflags -Wno-error=maybe-uninitialized;
};
libc {
modules arm gen stdio string stdlib;
};
softfloat {
modules source;
source {
modules ARM-VFPv2;
};
options armvfpv2;
};
};
};