[BC2D-POS] initial commit

This commit is contained in:
bmy
2024-05-10 10:54:06 +08:00
parent c9da340c46
commit 1c83cbc70a
12 changed files with 155 additions and 50 deletions

View File

@@ -0,0 +1,29 @@
{
"version": 5,
"beforeBuildTasks": [],
"afterBuildTasks": [],
"global": {
"$float-abi-type": "softfp",
"output-debug-info": "enable",
"misc-control": "--specs=nosys.specs --specs=nano.specs"
},
"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": "",
"CXX_FLAGS": ""
},
"asm-compiler": {
"ASM_FLAGS": ""
},
"linker": {
"output-format": "elf",
"remove-unused-input-sections": true,
"LD_FLAGS": "",
"LIB_FLAGS": "-lm"
}
}

View 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

View File

@@ -1,24 +0,0 @@
{
"version": 4,
"beforeBuildTasks": [],
"afterBuildTasks": [],
"global": {
"use-microLIB": true,
"output-debug-info": "enable"
},
"c/cpp-compiler": {
"optimization": "level-0",
"one-elf-section-per-function": true,
"c99-mode": true,
"C_FLAGS": "--diag_suppress=1 --diag_suppress=1295",
"CXX_FLAGS": "--diag_suppress=1 --diag_suppress=1295",
"warnings": "all-warnings"
},
"asm-compiler": {},
"linker": {
"output-format": "elf",
"xo-base": "",
"ro-base": "0x08000000",
"rw-base": "0x20000000"
}
}

View File

@@ -1,5 +1,5 @@
{
"name": "BC2D",
"name": "BC2D-POS",
"type": "ARM",
"dependenceList": [],
"srcDirs": [
@@ -89,7 +89,7 @@
"uid": "9d909db3024271625a98879e53e2d396"
},
"targets": {
"BC2D": {
"BC2D-POS": {
"excludeList": [],
"toolchain": "GCC",
"compileConfig": {
@@ -131,7 +131,6 @@
"libraries/cmsis/cm4/device_support",
"project/inc",
".cmsis/include",
"project/MDK_V5/RTE/_BC2D",
".eide/deps",
"3rd-part/dwt_delay",
"3rd-part/PID-Library",