first commit
This commit is contained in:
@@ -0,0 +1,110 @@
|
||||
##############################################
|
||||
#
|
||||
# STM32 Option Bytes
|
||||
#
|
||||
# Usage: Uncomment to enable options
|
||||
#
|
||||
##############################################
|
||||
|
||||
# RDP = <Level>
|
||||
# BOR_LEV = <Level>
|
||||
|
||||
# WWDG_SW = <Value>
|
||||
# IWDG_SW = <Value>
|
||||
# IWDG_STOP = <Value>
|
||||
# IWDG_STDBY = <Value>
|
||||
# IWDG_ULP = <Value>
|
||||
|
||||
# FZ_IWDG_STOP = <Value>
|
||||
# FZ_IWDG_STDBY = <Value>
|
||||
|
||||
# nRST_STOP = <Value>
|
||||
# nRST_STDBY = <Value>
|
||||
|
||||
# nBOOT_SEL = <Value>
|
||||
# nRST_SHDW = <Value>
|
||||
# PCROP_RDP = <Value>
|
||||
|
||||
# nBFB2 = <Value>
|
||||
# BFB2 = <Value>
|
||||
|
||||
# nBoot1 = <Value>
|
||||
# Boot1 = <Value>
|
||||
# nBoot0 = <Value>
|
||||
# nBoot0_SW_Cfg = <Value>
|
||||
|
||||
# VDDA = <Value>
|
||||
# SDADC12_VDD = <Value>
|
||||
|
||||
# DB1M = <Value>
|
||||
# DUALBANK = <Value>
|
||||
# nDBANK = <Value>
|
||||
|
||||
# BOOT0_nSW_Config = <Value>
|
||||
# Data0 = <Value>
|
||||
# Data1 = <Value>
|
||||
|
||||
# nSRAM_Parity = <Value>
|
||||
# SRAM2_RST = <Value>
|
||||
# SRAM2_PE = <Value>
|
||||
|
||||
# DDS = <Value>
|
||||
# FSD = <Value>
|
||||
# SFSA = <Value>
|
||||
# C2OPT = <Value>
|
||||
# NBRSD = <Value>
|
||||
# SNBRSA = <Value>
|
||||
# SBRSA = <Value>
|
||||
# BRSD = <Value>
|
||||
# SBRV = <Value>
|
||||
|
||||
# DMEPB = <Value>
|
||||
# DMESB = <Value>
|
||||
|
||||
# Security = <Value>
|
||||
# CM7_BOOT_ADD0 = <Value>
|
||||
# CM7_BOOT_ADD1 = <Value>
|
||||
|
||||
# IWDG1 = <Value>
|
||||
# IWDG2 = <Value>
|
||||
|
||||
# nRST_STDBY_D2 = <Value>
|
||||
# BOOT_CM4 = <Value>
|
||||
|
||||
# nRST_STDBY_D1 = <Value>
|
||||
# BOOT_CM7 = <Value>
|
||||
|
||||
# CM7_BOOT_ADD0 = <Value>
|
||||
# CM7_BOOT_ADD1 = <Value>
|
||||
|
||||
# DMEPA = <Value>
|
||||
# DMESA = <Value>
|
||||
|
||||
# SECA_strt = <Value>
|
||||
# SECA_end = <Value>
|
||||
# SECB_strt = <Value>
|
||||
# SECB_end = <Value>
|
||||
|
||||
# DTCM_RAM = <Value>
|
||||
# SPRMOD = <Value>
|
||||
# WPRMOD = <Value>
|
||||
|
||||
# PCROPA_STRT = <Value>
|
||||
# PCROPA_END = <Value>
|
||||
# PCROPB_STRT = <Value>
|
||||
# PCROPB_END = <Value>
|
||||
|
||||
# WRP = <Value>
|
||||
# WRP2 = <Value>
|
||||
# WRP3 = <Value>
|
||||
# WRP4 = <Value>
|
||||
# WRP1A_STRT = <Value>
|
||||
# WRP1A_END = <Value>
|
||||
# WRP1B_STRT = <Value>
|
||||
# WRP1B_END = <Value>
|
||||
# WRP2A_STRT = <Value>
|
||||
# WRP2A_END = <Value>
|
||||
# WRP2B_STRT = <Value>
|
||||
# WRP2B_END = <Value>
|
||||
|
||||
# IPCCDBA = <Value>
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"name": "Application",
|
||||
"type": "ARM",
|
||||
"dependenceList": [],
|
||||
"srcDirs": [
|
||||
"../../../Bsp/Src",
|
||||
"../../../StdLib/Src",
|
||||
"../../../System/CMSIS",
|
||||
"../../../ThirdLib/LetterShell/Src",
|
||||
"../App/Src"
|
||||
],
|
||||
"virtualFolder": {
|
||||
"name": "<virtual_root>",
|
||||
"files": [
|
||||
{
|
||||
"path": "../../../System/Startup/TrueStudio/startup_stm32f10x_hd.s"
|
||||
},
|
||||
{
|
||||
"path": "../../../System/stm32f10x_it.c"
|
||||
},
|
||||
{
|
||||
"path": "../../../System/system_stm32f10x.c"
|
||||
}
|
||||
],
|
||||
"folders": []
|
||||
},
|
||||
"outDir": "build",
|
||||
"deviceName": "STM32F103ZE",
|
||||
"packDir": ".pack/Keil/STM32F1xx_DFP.2.3.0",
|
||||
"miscInfo": {
|
||||
"uid": "ecbbdd2006397faa870eccaf00bbaa03"
|
||||
},
|
||||
"targets": {
|
||||
"Debug": {
|
||||
"excludeList": [
|
||||
"../../../../System/LinkScripts",
|
||||
"../../../../System/Startup"
|
||||
],
|
||||
"toolchain": "GCC",
|
||||
"compileConfig": {
|
||||
"cpuType": "Cortex-M3",
|
||||
"floatingPointHardware": "none",
|
||||
"scatterFilePath": "../../../System/LinkScripts/TrueStudio/stm32_flash_ze.ld",
|
||||
"useCustomScatterFile": true,
|
||||
"storageLayout": {
|
||||
"RAM": [],
|
||||
"ROM": []
|
||||
},
|
||||
"options": "null"
|
||||
},
|
||||
"uploader": "OpenOCD",
|
||||
"uploadConfig": {
|
||||
"bin": "",
|
||||
"target": "stm32f1x",
|
||||
"interface": "stlink-v2-1",
|
||||
"baseAddr": "0x08000000"
|
||||
},
|
||||
"uploadConfigMap": {
|
||||
"JLink": {
|
||||
"bin": "",
|
||||
"baseAddr": "",
|
||||
"cpuInfo": {
|
||||
"vendor": "null",
|
||||
"cpuName": "null"
|
||||
},
|
||||
"proType": 1,
|
||||
"speed": 8000,
|
||||
"otherCmds": ""
|
||||
},
|
||||
"STLink": {
|
||||
"bin": "",
|
||||
"proType": "SWD",
|
||||
"resetMode": "default",
|
||||
"runAfterProgram": true,
|
||||
"speed": 4000,
|
||||
"address": "0x08000000",
|
||||
"elFile": "None",
|
||||
"optionBytes": ".eide/debug.st.option.bytes.ini",
|
||||
"otherCmds": ""
|
||||
},
|
||||
"OpenOCD": {
|
||||
"bin": "",
|
||||
"target": "stm32f1x",
|
||||
"interface": "stlink",
|
||||
"baseAddr": "0x08000000"
|
||||
}
|
||||
},
|
||||
"custom_dep": {
|
||||
"name": "default",
|
||||
"incList": [
|
||||
".",
|
||||
"../App/Inc",
|
||||
"../../../Bsp/Inc",
|
||||
"../../../System",
|
||||
"../../../StdLib/Inc",
|
||||
"../../../ThirdLib/LetterShell/Inc",
|
||||
"../../../System/CMSIS"
|
||||
],
|
||||
"libList": [],
|
||||
"defineList": [
|
||||
"DEBUG",
|
||||
"USE_STDPERIPH_DRIVER",
|
||||
"STM32F10X_HD"
|
||||
]
|
||||
},
|
||||
"builderOptions": {
|
||||
"GCC": {
|
||||
"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": "c99",
|
||||
"language-cpp": "c++11",
|
||||
"optimization": "level-debug",
|
||||
"warnings": "all-warnings",
|
||||
"one-elf-section-per-function": true,
|
||||
"one-elf-section-per-data": true
|
||||
},
|
||||
"asm-compiler": {},
|
||||
"linker": {
|
||||
"output-format": "elf",
|
||||
"remove-unused-input-sections": true,
|
||||
"LIB_FLAGS": "-lm",
|
||||
"$toolName": "auto"
|
||||
}
|
||||
},
|
||||
"AC5": {
|
||||
"version": 4,
|
||||
"beforeBuildTasks": [],
|
||||
"afterBuildTasks": [],
|
||||
"global": {
|
||||
"use-microLIB": false,
|
||||
"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"
|
||||
},
|
||||
"asm-compiler": {},
|
||||
"linker": {
|
||||
"output-format": "elf"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "3.5"
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
###########################################################
|
||||
# project environment variables
|
||||
###########################################################
|
||||
|
||||
# append command prefix for toolchain
|
||||
#COMPILER_CMD_PREFIX=
|
||||
|
||||
# mcu ram size (used to print memory usage)
|
||||
#MCU_RAM_SIZE=0x00
|
||||
|
||||
# mcu rom size (used to print memory usage)
|
||||
#MCU_ROM_SIZE=0x00
|
||||
|
||||
# put your global variables ...
|
||||
#GLOBAL_VAR=
|
||||
|
||||
[debug]
|
||||
# put your variables for 'debug' target ...
|
||||
#VAR=
|
||||
@@ -0,0 +1,20 @@
|
||||
##########################################################################################
|
||||
# Append Compiler Options For Source Files
|
||||
##########################################################################################
|
||||
|
||||
# syntax:
|
||||
# <your pattern>: <compiler options>
|
||||
# For get pattern syntax, please refer to: https://www.npmjs.com/package/micromatch
|
||||
#
|
||||
# examples:
|
||||
# 'main.cpp': --cpp11 -Og ...
|
||||
# 'src/*.c': -gnu -O2 ...
|
||||
# 'src/lib/**/*.cpp': --cpp11 -Os ...
|
||||
# '!Application/*.c': -O0
|
||||
# '**/*.c': -O2 -gnu ...
|
||||
|
||||
version: "2.0"
|
||||
options:
|
||||
Debug:
|
||||
files: {}
|
||||
virtualPathFiles: {}
|
||||
Reference in New Issue
Block a user