diff --git a/.vscode/launch.json b/.vscode/launch.json index bb4d2d7d75..80ebdb8ab7 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -66,9 +66,22 @@ "executable": "${workspaceRoot}/firmware/build/rusefi.elf", "device": "STM32F767V", "v1": false, - "svdFile": "${workspaceRoot}/firmware/ext/cmsis-svd/data/STMicro/STM32F7x6.svd", + "svdFile": "${workspaceRoot}/firmware/ext/cmsis-svd/data/STMicro/STM32F7x7.svd", "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 } ] diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 1d85349c8f..58c6f3b1ff 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -24,6 +24,45 @@ "cwd": "${workspaceRoot}/firmware" }, "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": { "kind": "build", "isDefault": true @@ -37,6 +76,19 @@ "cwd": "${workspaceRoot}/firmware" }, "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": { "kind": "build", "isDefault": true