-
Notifications
You must be signed in to change notification settings - Fork 0
/
mdepx.conf
100 lines (82 loc) · 1.59 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
modules mdepx;
modules src;
link ldscript obj/stm32g0.elf;
set-search-path mdepx/include mdepx/kernel mdepx/lib mdepx/arch .;
set-search-path mdepx;
set-build-flags -mthumb
-mcpu=cortex-m0plus
-fno-pic
-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;
set-build-flags1 -mthumb -mcpu=cortex-m0plus -fno-pic
-O -nostdlib -fno-builtin-printf
-pipe -g -nostdinc -fno-omit-frame-pointer
-fno-optimize-sibling-calls -ffreestanding -fwrapv
-fdiagnostics-show-option -fms-extensions
-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 {
objects main.o board.o;
};
mdepx {
modules arch;
modules kernel;
modules lib;
modules dev;
arch {
modules arm;
arm {
options thumb_cm0;
objects stm/stm32l4_usart.o
stm/stm32f4_gpio.o
stm/stm32f4_timer.o
stm/stm32g0_rcc.o;
};
};
dev {
modules intc;
};
kernel {
modules cpu;
modules thread;
modules callout;
modules malloc;
modules systm;
modules nosched;
callout {
options tsleep usec_to_ticks;
};
malloc {
options fl fl_wrapper;
};
systm {
options panic console;
};
thread {
stack_size 1024;
};
};
lib {
modules libc;
modules libaeabi;
libc {
modules stdio string stdlib;
};
};
};