forked from Git_test/Git_TEST
初始化项目:红灯闪烁
This commit is contained in:
353
不同颜色LED/VSC_Project/.eide/eide.json
Normal file
353
不同颜色LED/VSC_Project/.eide/eide.json
Normal file
@@ -0,0 +1,353 @@
|
||||
{
|
||||
"name": "STM32_Project_DEMO",
|
||||
"type": "ARM",
|
||||
"dependenceList": [],
|
||||
"srcDirs": [],
|
||||
"virtualFolder": {
|
||||
"name": "<virtual_root>",
|
||||
"files": [],
|
||||
"folders": [
|
||||
{
|
||||
"name": "CMSIS_Support",
|
||||
"files": [
|
||||
{
|
||||
"path": "../CMSIS_Support/core_cm3.c"
|
||||
},
|
||||
{
|
||||
"path": "../CMSIS_Support/core_cm3.h"
|
||||
},
|
||||
{
|
||||
"path": "../CMSIS_Support/startup_stm32f10x_md.s"
|
||||
},
|
||||
{
|
||||
"path": "../CMSIS_Support/stm32f10x.h"
|
||||
},
|
||||
{
|
||||
"path": "../CMSIS_Support/stm32f10x_conf.h"
|
||||
},
|
||||
{
|
||||
"path": "../CMSIS_Support/stm32f10x_it.c"
|
||||
},
|
||||
{
|
||||
"path": "../CMSIS_Support/stm32f10x_it.h"
|
||||
},
|
||||
{
|
||||
"path": "../CMSIS_Support/system_stm32f10x.c"
|
||||
},
|
||||
{
|
||||
"path": "../CMSIS_Support/system_stm32f10x.h"
|
||||
}
|
||||
],
|
||||
"folders": []
|
||||
},
|
||||
{
|
||||
"name": "DOCS",
|
||||
"files": [
|
||||
{
|
||||
"path": "../DOCS/Note.md"
|
||||
},
|
||||
{
|
||||
"path": "../DOCS/Project_Readme.md"
|
||||
}
|
||||
],
|
||||
"folders": []
|
||||
},
|
||||
{
|
||||
"name": "FWLIB",
|
||||
"files": [
|
||||
{
|
||||
"path": "../FWLIB/src/misc.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_adc.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_bkp.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_can.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_cec.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_crc.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_dac.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_dbgmcu.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_dma.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_exti.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_flash.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_fsmc.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_gpio.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_i2c.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_iwdg.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_pwr.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_rcc.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_rtc.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_sdio.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_spi.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_tim.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_usart.c"
|
||||
},
|
||||
{
|
||||
"path": "../FWLIB/src/stm32f10x_wwdg.c"
|
||||
}
|
||||
],
|
||||
"folders": []
|
||||
},
|
||||
{
|
||||
"name": "OUTPUT",
|
||||
"files": [],
|
||||
"folders": []
|
||||
},
|
||||
{
|
||||
"name": "DEVICE",
|
||||
"files": [
|
||||
{
|
||||
"path": "../DEVICE/Led_Init.c"
|
||||
}
|
||||
],
|
||||
"folders": []
|
||||
},
|
||||
{
|
||||
"name": "APP",
|
||||
"files": [
|
||||
{
|
||||
"path": "../APP/Delay.c"
|
||||
},
|
||||
{
|
||||
"path": "../APP/Run_Led.c"
|
||||
}
|
||||
],
|
||||
"folders": []
|
||||
},
|
||||
{
|
||||
"name": "USER",
|
||||
"files": [
|
||||
{
|
||||
"path": "../USER/main.c"
|
||||
}
|
||||
],
|
||||
"folders": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"outDir": "build",
|
||||
"deviceName": null,
|
||||
"packDir": null,
|
||||
"miscInfo": {
|
||||
"uid": "ceabbe32841b5c3ead11c0c87bb1fc8c"
|
||||
},
|
||||
"targets": {
|
||||
"Target 1": {
|
||||
"excludeList": [],
|
||||
"toolchain": "AC5",
|
||||
"compileConfig": {
|
||||
"cpuType": "Cortex-M3",
|
||||
"archExtensions": "",
|
||||
"floatingPointHardware": "none",
|
||||
"scatterFilePath": "",
|
||||
"useCustomScatterFile": false,
|
||||
"storageLayout": {
|
||||
"RAM": [
|
||||
{
|
||||
"tag": "RAM",
|
||||
"id": 1,
|
||||
"mem": {
|
||||
"startAddr": "0x0",
|
||||
"size": "0x0"
|
||||
},
|
||||
"isChecked": false,
|
||||
"noInit": false
|
||||
},
|
||||
{
|
||||
"tag": "RAM",
|
||||
"id": 2,
|
||||
"mem": {
|
||||
"startAddr": "0x0",
|
||||
"size": "0x0"
|
||||
},
|
||||
"isChecked": false,
|
||||
"noInit": false
|
||||
},
|
||||
{
|
||||
"tag": "RAM",
|
||||
"id": 3,
|
||||
"mem": {
|
||||
"startAddr": "0x0",
|
||||
"size": "0x0"
|
||||
},
|
||||
"isChecked": false,
|
||||
"noInit": false
|
||||
},
|
||||
{
|
||||
"tag": "IRAM",
|
||||
"id": 1,
|
||||
"mem": {
|
||||
"startAddr": "0x20000000",
|
||||
"size": "0x5000"
|
||||
},
|
||||
"isChecked": true,
|
||||
"noInit": false
|
||||
},
|
||||
{
|
||||
"tag": "IRAM",
|
||||
"id": 2,
|
||||
"mem": {
|
||||
"startAddr": "0x0",
|
||||
"size": "0x0"
|
||||
},
|
||||
"isChecked": false,
|
||||
"noInit": false
|
||||
}
|
||||
],
|
||||
"ROM": [
|
||||
{
|
||||
"tag": "ROM",
|
||||
"id": 1,
|
||||
"mem": {
|
||||
"startAddr": "0x0",
|
||||
"size": "0x0"
|
||||
},
|
||||
"isChecked": false,
|
||||
"isStartup": false
|
||||
},
|
||||
{
|
||||
"tag": "ROM",
|
||||
"id": 2,
|
||||
"mem": {
|
||||
"startAddr": "0x0",
|
||||
"size": "0x0"
|
||||
},
|
||||
"isChecked": false,
|
||||
"isStartup": false
|
||||
},
|
||||
{
|
||||
"tag": "ROM",
|
||||
"id": 3,
|
||||
"mem": {
|
||||
"startAddr": "0x0",
|
||||
"size": "0x0"
|
||||
},
|
||||
"isChecked": false,
|
||||
"isStartup": false
|
||||
},
|
||||
{
|
||||
"tag": "IROM",
|
||||
"id": 1,
|
||||
"mem": {
|
||||
"startAddr": "0x8000000",
|
||||
"size": "0x10000"
|
||||
},
|
||||
"isChecked": true,
|
||||
"isStartup": true
|
||||
},
|
||||
{
|
||||
"tag": "IROM",
|
||||
"id": 2,
|
||||
"mem": {
|
||||
"startAddr": "0x0",
|
||||
"size": "0x0"
|
||||
},
|
||||
"isChecked": false,
|
||||
"isStartup": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": "null"
|
||||
},
|
||||
"uploader": "JLink",
|
||||
"uploadConfig": {
|
||||
"bin": "",
|
||||
"baseAddr": "",
|
||||
"cpuInfo": {
|
||||
"vendor": "null",
|
||||
"cpuName": "null"
|
||||
},
|
||||
"proType": 1,
|
||||
"speed": 8000,
|
||||
"otherCmds": ""
|
||||
},
|
||||
"uploadConfigMap": {},
|
||||
"custom_dep": {
|
||||
"name": "default",
|
||||
"incList": [
|
||||
"../CMSIS_Support",
|
||||
"../FWLIB/inc",
|
||||
"../APP",
|
||||
"../DEVICE",
|
||||
".cmsis/include",
|
||||
"../Project/RTE/_Target 1"
|
||||
],
|
||||
"libList": [],
|
||||
"defineList": [
|
||||
"USE_STDPERIPH_DRIVER",
|
||||
"STM32F1_MD"
|
||||
]
|
||||
},
|
||||
"builderOptions": {
|
||||
"AC5": {
|
||||
"version": 4,
|
||||
"beforeBuildTasks": [],
|
||||
"afterBuildTasks": [],
|
||||
"global": {
|
||||
"use-microLIB": false,
|
||||
"output-debug-info": "enable"
|
||||
},
|
||||
"c/cpp-compiler": {
|
||||
"optimization": "level-1",
|
||||
"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",
|
||||
"gnu-extensions": true
|
||||
},
|
||||
"asm-compiler": {},
|
||||
"linker": {
|
||||
"$outputTaskExcludes": [
|
||||
".bin"
|
||||
],
|
||||
"output-format": "elf",
|
||||
"xo-base": "",
|
||||
"ro-base": "0x08000000",
|
||||
"rw-base": "0x20000000"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "3.6"
|
||||
}
|
||||
2
不同颜色LED/VSC_Project/.eide/env.ini
Normal file
2
不同颜色LED/VSC_Project/.eide/env.ini
Normal file
@@ -0,0 +1,2 @@
|
||||
[Target 1]
|
||||
KEIL_OUTPUT_DIR=..\OUTPUT
|
||||
20
不同颜色LED/VSC_Project/.eide/files.options.yml
Normal file
20
不同颜色LED/VSC_Project/.eide/files.options.yml
Normal file
@@ -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.1"
|
||||
options:
|
||||
Target 1:
|
||||
files: {}
|
||||
virtualPathFiles: {}
|
||||
Reference in New Issue
Block a user