Vscode build/debug configs (#2394)
* f7/h7 debug config * build configs
This commit is contained in:
parent
4e7e40ae00
commit
70c28a58b1
|
@ -66,9 +66,22 @@
|
||||||
"executable": "${workspaceRoot}/firmware/build/rusefi.elf",
|
"executable": "${workspaceRoot}/firmware/build/rusefi.elf",
|
||||||
"device": "STM32F767V",
|
"device": "STM32F767V",
|
||||||
"v1": false,
|
"v1": false,
|
||||||
"svdFile": "${workspaceRoot}/firmware/ext/cmsis-svd/data/STMicro/STM32F7x6.svd",
|
"svdFile": "${workspaceRoot}/firmware/ext/cmsis-svd/data/STMicro/STM32F7x7.svd",
|
||||||
"servertype": "openocd",
|
"servertype": "openocd",
|
||||||
"configFiles": ["board/stm32f7discovery.cfg"],
|
"configFiles": ["interface/stlink.cfg", "target/stm32f7x.cfg"],
|
||||||
|
"runToMain": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Debug H743",
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"executable": "${workspaceRoot}/firmware/build/rusefi.elf",
|
||||||
|
"device": "STM32H743V",
|
||||||
|
"v1": false,
|
||||||
|
"svdFile": "${workspaceRoot}/firmware/ext/cmsis-svd/data/STMicro/STM32H743x.svd",
|
||||||
|
"servertype": "openocd",
|
||||||
|
"configFiles": ["interface/stlink.cfg", "target/stm32h7x.cfg"],
|
||||||
"runToMain": true
|
"runToMain": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -24,6 +24,45 @@
|
||||||
"cwd": "${workspaceRoot}/firmware"
|
"cwd": "${workspaceRoot}/firmware"
|
||||||
},
|
},
|
||||||
"problemMatcher": [],
|
"problemMatcher": [],
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Build Firmware (Proteus F7)",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "make -j16 PROJECT_BOARD=proteus PROJECT_CPU=ARCH_STM32F7",
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceRoot}/firmware"
|
||||||
|
},
|
||||||
|
"problemMatcher": [],
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Build Firmware (Proteus H7) EXPERIMENTAL",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "make -j16 PROJECT_BOARD=proteus PROJECT_CPU=ARCH_STM32H7",
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceRoot}/firmware"
|
||||||
|
},
|
||||||
|
"problemMatcher": [],
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Build Firmware (hellen72)",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "make -j16 PROJECT_BOARD=hellen/hellen72",
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceRoot}/firmware"
|
||||||
|
},
|
||||||
|
"problemMatcher": [],
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
"isDefault": true
|
"isDefault": true
|
||||||
|
@ -37,6 +76,19 @@
|
||||||
"cwd": "${workspaceRoot}/firmware"
|
"cwd": "${workspaceRoot}/firmware"
|
||||||
},
|
},
|
||||||
"problemMatcher": [],
|
"problemMatcher": [],
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Build Firmware (microRusEfi F7)",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "make -j12 PROJECT_BOARD=microrusefi PROJECT_CPU=ARCH_STM32F7",
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceRoot}/firmware"
|
||||||
|
},
|
||||||
|
"problemMatcher": [],
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
"isDefault": true
|
"isDefault": true
|
||||||
|
|
Loading…
Reference in New Issue