main
This commit is contained in:
8
USER/.eide/deps/RTE_Components.h
Normal file
8
USER/.eide/deps/RTE_Components.h
Normal file
@ -0,0 +1,8 @@
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* Auto generate by EIDE, don't modify this file, any changes will be overwritten ! */
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef RTE_COMPONENTS_H
|
||||
#define RTE_COMPONENTS_H
|
||||
|
||||
#endif
|
||||
329
USER/.eide/eide.json
Normal file
329
USER/.eide/eide.json
Normal file
@ -0,0 +1,329 @@
|
||||
{
|
||||
"name": "Template",
|
||||
"type": "ARM",
|
||||
"dependenceList": [],
|
||||
"srcDirs": [
|
||||
".eide/deps"
|
||||
],
|
||||
"virtualFolder": {
|
||||
"name": "<virtual_root>",
|
||||
"files": [],
|
||||
"folders": [
|
||||
{
|
||||
"name": "CORE",
|
||||
"files": [
|
||||
{
|
||||
"path": "../CORE/core_cm3.c"
|
||||
},
|
||||
{
|
||||
"path": "../CORE/startup_stm32f10x_hd.s"
|
||||
}
|
||||
],
|
||||
"folders": []
|
||||
},
|
||||
{
|
||||
"name": "FWLIB",
|
||||
"files": [
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/misc.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_adc.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_bkp.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_can.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_cec.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_crc.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_dac.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_dbgmcu.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_dma.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_exti.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_flash.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_fsmc.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_gpio.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_i2c.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_iwdg.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_pwr.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_rcc.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_rtc.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_sdio.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_spi.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_tim.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_usart.c"
|
||||
},
|
||||
{
|
||||
"path": "../STM32F10x_FWLib/src/stm32f10x_wwdg.c"
|
||||
}
|
||||
],
|
||||
"folders": []
|
||||
},
|
||||
{
|
||||
"name": "HARDWARE",
|
||||
"files": [
|
||||
{
|
||||
"path": "../HARDWARE/DAC/dac.c"
|
||||
},
|
||||
{
|
||||
"path": "../HARDWARE/TIMER/timer.c"
|
||||
}
|
||||
],
|
||||
"folders": []
|
||||
},
|
||||
{
|
||||
"name": "README",
|
||||
"files": [],
|
||||
"folders": []
|
||||
},
|
||||
{
|
||||
"name": "SYSTEM",
|
||||
"files": [
|
||||
{
|
||||
"path": "../SYSTEM/delay/delay.c"
|
||||
},
|
||||
{
|
||||
"path": "../SYSTEM/sys/sys.c"
|
||||
},
|
||||
{
|
||||
"path": "../SYSTEM/thb6128/thb6128.c"
|
||||
},
|
||||
{
|
||||
"path": "../SYSTEM/usart/usart.c"
|
||||
},
|
||||
{
|
||||
"path": "led.c"
|
||||
}
|
||||
],
|
||||
"folders": []
|
||||
},
|
||||
{
|
||||
"name": "USER",
|
||||
"files": [
|
||||
{
|
||||
"path": "main.c"
|
||||
},
|
||||
{
|
||||
"path": "motorstat.c"
|
||||
},
|
||||
{
|
||||
"path": "stm32f10x_it.c"
|
||||
},
|
||||
{
|
||||
"path": "system_stm32f10x.c"
|
||||
}
|
||||
],
|
||||
"folders": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"outDir": "build",
|
||||
"deviceName": null,
|
||||
"packDir": ".pack/Keil/STM32F1xx_DFP.2.3.0",
|
||||
"miscInfo": {
|
||||
"uid": "dafcc856a0debea024ae6ea7fa978494"
|
||||
},
|
||||
"targets": {
|
||||
"Template": {
|
||||
"excludeList": [],
|
||||
"toolchain": "AC5",
|
||||
"compileConfig": {
|
||||
"cpuType": "Cortex-M3",
|
||||
"floatingPointHardware": "none",
|
||||
"scatterFilePath": "",
|
||||
"useCustomScatterFile": true,
|
||||
"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": "0xc000"
|
||||
},
|
||||
"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": "0x40000"
|
||||
},
|
||||
"isChecked": true,
|
||||
"isStartup": true
|
||||
},
|
||||
{
|
||||
"tag": "IROM",
|
||||
"id": 2,
|
||||
"mem": {
|
||||
"startAddr": "0x0",
|
||||
"size": "0x0"
|
||||
},
|
||||
"isChecked": false,
|
||||
"isStartup": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": "null"
|
||||
},
|
||||
"uploader": "STLink",
|
||||
"uploadConfig": {
|
||||
"bin": "",
|
||||
"proType": "SWD",
|
||||
"resetMode": "default",
|
||||
"runAfterProgram": true,
|
||||
"speed": 4000,
|
||||
"address": "0x08000000",
|
||||
"elFile": "None",
|
||||
"optionBytes": ".eide/template.st.option.bytes.ini",
|
||||
"otherCmds": ""
|
||||
},
|
||||
"uploadConfigMap": {
|
||||
"JLink": {
|
||||
"bin": "",
|
||||
"baseAddr": "",
|
||||
"cpuInfo": {
|
||||
"vendor": "null",
|
||||
"cpuName": "null"
|
||||
},
|
||||
"proType": 1,
|
||||
"speed": 8000,
|
||||
"otherCmds": ""
|
||||
}
|
||||
},
|
||||
"custom_dep": {
|
||||
"name": "default",
|
||||
"incList": [
|
||||
".",
|
||||
"../CORE",
|
||||
"../STM32F10x_FWLib/inc",
|
||||
"../SYSTEM/delay",
|
||||
"../SYSTEM/sys",
|
||||
"../SYSTEM/usart",
|
||||
"../HARDWARE/TIMER",
|
||||
"../SYSTEM/thb6128",
|
||||
"../HARDWARE/DAC",
|
||||
"../HARDWARE/USMART"
|
||||
],
|
||||
"libList": [],
|
||||
"sourceDirList": [],
|
||||
"defineList": [
|
||||
"STM32F10X_HD",
|
||||
"USE_STDPERIPH_DRIVER"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "3.3"
|
||||
}
|
||||
24
USER/.eide/template.arm.options.v5.json
Normal file
24
USER/.eide/template.arm.options.v5.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
31
USER/.eide/template.files.options.yml
Normal file
31
USER/.eide/template.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
|
||||
|
||||
Reference in New Issue
Block a user