generated from RoboMaster-Club/Control-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1740eea
commit 4fde0c7
Showing
3 changed files
with
127 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,60 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "CMSIS-DAP", | ||
"cwd": "${workspaceRoot}", | ||
"executable": "${workspaceRoot}${/}build${/}control-template.elf", | ||
"request": "launch", | ||
"type": "cortex-debug", | ||
"svdFile": "STM32F407.svd", | ||
"servertype": "openocd", | ||
"configFiles": [ | ||
"${workspaceRoot}${/}control-base${/}config${/}openocd_cmsis_dap.cfg" | ||
], | ||
"rtos": "FreeRTOS", | ||
"liveWatch": { | ||
"enabled": true, | ||
"samplesPerSecond": 4 | ||
}, | ||
"preLaunchTask": "build" | ||
}, | ||
{ | ||
"name": "ST-LINK", | ||
"cwd": "${workspaceRoot}", | ||
"executable": "${workspaceRoot}${/}build${/}control-template.elf", | ||
"request": "launch", | ||
"type": "cortex-debug", | ||
"svdFile": "STM32F407.svd", | ||
"servertype": "openocd", | ||
"configFiles": [ | ||
"${workspaceRoot}${/}control-base${/}config${/}openocd_stlink.cfg" | ||
], | ||
"rtos": "FreeRTOS", | ||
"liveWatch": { | ||
"enabled": true, | ||
"samplesPerSecond": 4 | ||
}, | ||
"preLaunchTask": "build" | ||
}, | ||
{ | ||
"name": "C/C++ Runner: Debug Session", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"externalConsole": true, | ||
"cwd": "c:/Users/wehne/Documents/RoboMasters/Sentry/app/src", | ||
"program": "c:/Users/wehne/Documents/RoboMasters/Sentry/app/src/build/Debug/outDebug", | ||
"MIMode": "gdb", | ||
"miDebuggerPath": "gdb", | ||
"setupCommands": [ | ||
{ | ||
"name": "CMSIS-DAP", | ||
"cwd": "${workspaceRoot}", | ||
"executable": "${workspaceRoot}${/}build${/}control-template.elf", | ||
"request": "launch", | ||
"type": "cortex-debug", | ||
"svdFile": "STM32F407.svd", | ||
"servertype": "openocd", //GDB server | ||
"configFiles": [ | ||
"${workspaceRoot}${/}control-base${/}config${/}openocd_cmsis_dap.cfg" // config | ||
], | ||
//"runToEntryPoint": "main", // stop at main | ||
//"showDevDebugOutput": "raw", // enable debug output | ||
"rtos": "FreeRTOS", | ||
"liveWatch": { | ||
"enabled": true, | ||
"samplesPerSecond": 4 | ||
}, | ||
"preLaunchTask": "build" // build before debug | ||
}, | ||
{ | ||
"name": "ST-LINK", | ||
"cwd": "${workspaceRoot}", | ||
"executable": "${workspaceRoot}${/}build${/}control-template.elf", | ||
"request": "launch", | ||
"type": "cortex-debug", | ||
"svdFile": "STM32F407.svd", | ||
"servertype": "openocd", //GDB server | ||
"configFiles": [ | ||
"${workspaceRoot}${/}control-base${/}config${/}openocd_stlink.cfg" // config | ||
], | ||
//"runToEntryPoint": "main", // stop at main | ||
//"showDevDebugOutput": "raw", // enable debug output | ||
"rtos": "FreeRTOS", | ||
"liveWatch": { | ||
"enabled": true, | ||
"samplesPerSecond": 4 | ||
}, | ||
"preLaunchTask": "build" // build before debug | ||
"description": "Enable pretty-printing for gdb", | ||
"text": "-enable-pretty-printing", | ||
"ignoreFailures": true | ||
} | ||
] | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,6 @@ | |
|
||
void Launch_Task_Init(void); | ||
void Launch_Ctrl_Loop(void); | ||
void Launch_Speed_Test(void); | ||
|
||
#endif // LAUNCH_TASK_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters