-
Notifications
You must be signed in to change notification settings - Fork 69
/
kendryte-package.json
97 lines (97 loc) · 2.3 KB
/
kendryte-package.json
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
{
"$schema": "vscode://schemas/CMakeLists",
"name": "kendryte/freertos-sdk",
"version": "develop",
"type": "library",
"extraList": "cmake/ide.cmake",
"include": [
"lib/arch/include",
"lib/bsp/include",
"lib/bsp/syscalls",
"lib/drivers/include",
"lib/freertos/conf",
"lib/freertos/include",
"lib/freertos/kernel",
"lib/freertos/portable",
"lib/hal/include",
"lib/posix",
"lib/posix/include",
"lib/utils/include",
"third_party",
"third_party/lwip/src/include",
"third_party/fatfs/source"
],
"source": [
"lib/**/*.S",
"lib/**/*.c",
"lib/**/*.cpp"
],
"c_flags": [
"-std=gnu11",
"-Wno-pointer-to-int-cast",
"-Wno-old-style-declaration"
],
"cpp_flags": [
"-std=gnu++17"
],
"c_cpp_flags": [
"-mcmodel=medany",
"-fno-common",
"-ffunction-sections",
"-fdata-sections",
"-fstrict-volatile-bitfields",
"-fno-zero-initialized-in-bss",
"-O0",
"-ggdb",
"-Wall",
"-Werror=all",
"-Wno-error=unused-function",
"-Wno-error=unused-but-set-variable",
"-Wno-error=unused-variable",
"-Wno-error=deprecated-declarations",
"-Wextra",
"-Werror=frame-larger-than=65536",
"-Wno-unused-parameter",
"-Wno-sign-compare",
"-Wno-error=missing-braces",
"-Wno-error=return-type",
"-Wno-error=pointer-sign",
"-Wno-missing-braces",
"-Wno-strict-aliasing",
"-Wno-implicit-fallthrough",
"-Wno-missing-field-initializers"
],
"link_flags": [
"-static",
"-Wl,-static",
"-Wl,-EL",
"-mcmodel=medany"
],
"ld_file": "lds/kendryte.ld",
"properties": {
"LINKER_LANGUAGE": "C"
},
"dependency": {},
"definitions": {
"KENDRYTE_SDK:raw": "2"
},
"header": [],
"localDependency": [
"third_party"
],
"systemLibrary": [
"gcc",
"m",
"c",
"atomic",
"stdc++",
"fatfs",
"lwipcore"
],
"linkArgumentPrefix": [
"-Wl,--whole-archive"
],
"linkArgumentSuffix": [
"-Wl,--no-whole-archive"
]
}