30 lines
1018 B
JSON
30 lines
1018 B
JSON
{
|
|
"version": 2,
|
|
"beforeBuildTasks": [],
|
|
"afterBuildTasks": [],
|
|
"global": {
|
|
"output-debug-info": "enable",
|
|
"arch": "rv32imafc",
|
|
"abi": "ilp32f",
|
|
"code-model": "medlow",
|
|
"misc-control": "-fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wunused -Wuninitialized -msave-restore -fno-common"
|
|
},
|
|
"c/cpp-compiler": {
|
|
"language-c": "c11",
|
|
"language-cpp": "c++11",
|
|
"optimization": "level-debug",
|
|
"warnings": "all-warnings",
|
|
"one-elf-section-per-function": true,
|
|
"one-elf-section-per-data": true,
|
|
"C_FLAGS": "-Wl,-Bstatic -std=gnu99"
|
|
},
|
|
"asm-compiler": {
|
|
"ASM_FLAGS": "-Wl,-Bstatic"
|
|
},
|
|
"linker": {
|
|
"output-format": "elf",
|
|
"remove-unused-input-sections": true,
|
|
"LD_FLAGS": "-nostartfiles -Xlinker --gc-sections -Wl,-Map,\"firmware_violet_zf.map\" --specs=nano.specs --specs=nosys.specs",
|
|
"LIB_FLAGS": "-lm -lzf_device_config"
|
|
}
|
|
} |