Files
player/.vscode/tasks.json
2025-10-12 17:11:51 +08:00

52 lines
1.4 KiB
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "python",
"args": [
"make.py"
],
"group": "build",
"options": {
"cwd": "${workspaceFolder}/Project"
},
},
{
"label": "download stlink",
"type": "shell",
"command": "openocd",
"args": [
"-f",
"interface/stlink.cfg",
"-f",
"target/stm32f4x.cfg",
"-c",
"program ./output/stm32.elf verify reset exit"
],
"group": "build",
"options": {
"cwd": "${workspaceFolder}/Project"
},
},
{
"label": "download jlink",
"type": "shell",
"command": "tools/v7.50a/JLink.exe",
"args": [
"-autoconnect", "1",
"-device", "stm32f429bi",
"-if", "swd",
"-speed", "4000",
"-commandfile", "download.jlink"
],
"group": "build",
"options": {
"cwd": "${workspaceFolder}/Project",
},
}
]
}