first commit
This commit is contained in:
31
.eide/debug.files.options.yml
Normal file
31
.eide/debug.files.options.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
##########################################################################################
|
||||
# Append Compiler Options For Source Files
|
||||
#
|
||||
# syntax:
|
||||
# <your matcher expr>: <your compiler command>
|
||||
#
|
||||
# examples:
|
||||
# 'main.cpp': --cpp11 -Og ...
|
||||
# 'src/*.c': -gnu -O2 ...
|
||||
# 'src/lib/**/*.cpp': --cpp11 -Os ...
|
||||
# '!Application/*.c': -O0
|
||||
# '**/*.c': -O2 -gnu ...
|
||||
#
|
||||
# For more syntax, please refer to: https://www.npmjs.com/package/micromatch
|
||||
#
|
||||
##########################################################################################
|
||||
|
||||
version: '1.0'
|
||||
|
||||
#
|
||||
# for source files with filesystem paths
|
||||
#
|
||||
files:
|
||||
# './test/**/*.c': --c99
|
||||
|
||||
#
|
||||
# for source files with virtual paths
|
||||
#
|
||||
virtualPathFiles:
|
||||
# 'virtual_folder/**/*.c': --c99
|
||||
|
||||
30
.eide/debug.riscv.gcc.options.json
Normal file
30
.eide/debug.riscv.gcc.options.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
69
.eide/eide.json
Normal file
69
.eide/eide.json
Normal file
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"name": "violet_firmware_zf",
|
||||
"type": "RISC-V",
|
||||
"dependenceList": [],
|
||||
"srcDirs": [
|
||||
"app",
|
||||
"libraries/sdk",
|
||||
"libraries/zf_common",
|
||||
"libraries/zf_device",
|
||||
"libraries/zf_driver"
|
||||
],
|
||||
"virtualFolder": {
|
||||
"name": "<virtual_root>",
|
||||
"files": [],
|
||||
"folders": []
|
||||
},
|
||||
"outDir": "build",
|
||||
"deviceName": null,
|
||||
"packDir": null,
|
||||
"miscInfo": {
|
||||
"uid": "69341645eb5f07c48df11ef1dfcd69cb"
|
||||
},
|
||||
"targets": {
|
||||
"Debug": {
|
||||
"excludeList": [],
|
||||
"toolchain": "RISCV_GCC",
|
||||
"compileConfig": {
|
||||
"linkerScriptPath": "libraries\\sdk\\Ld\\Link.ld",
|
||||
"options": "null"
|
||||
},
|
||||
"uploader": "Custom",
|
||||
"uploadConfig": {
|
||||
"bin": "${ExecutableName}.bin",
|
||||
"commandLine": "${ProjectRoot}/tools/download.cmd ${programFile}",
|
||||
"eraseChipCommand": "${ProjectRoot}/tools/erase.cmd"
|
||||
},
|
||||
"uploadConfigMap": {
|
||||
"JLink": {
|
||||
"bin": "",
|
||||
"baseAddr": "",
|
||||
"cpuInfo": {
|
||||
"vendor": "null",
|
||||
"cpuName": "null"
|
||||
},
|
||||
"proType": 1,
|
||||
"speed": 8000,
|
||||
"otherCmds": ""
|
||||
}
|
||||
},
|
||||
"custom_dep": {
|
||||
"name": "default",
|
||||
"incList": [
|
||||
"app",
|
||||
"libraries/sdk/Peripheral",
|
||||
"libraries/sdk/Core",
|
||||
"libraries/zf_common",
|
||||
"libraries/zf_device",
|
||||
"libraries/zf_driver"
|
||||
],
|
||||
"libList": [
|
||||
"libraries/zf_device"
|
||||
],
|
||||
"sourceDirList": [],
|
||||
"defineList": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "3.3"
|
||||
}
|
||||
Reference in New Issue
Block a user