mirror of https://github.com/rusefi/wideband.git
BL task & launch
This commit is contained in:
parent
0e0281f372
commit
b5d3931f75
|
@ -2,7 +2,7 @@
|
|||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Debug F042",
|
||||
"name": "Debug F042 (firmware)",
|
||||
"type": "cortex-debug",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
|
@ -11,8 +11,19 @@
|
|||
"v1": false,
|
||||
"svdFile": "${workspaceRoot}/firmware/cmsis-svd/data/STMicro/STM32F042x.svd",
|
||||
"servertype": "openocd",
|
||||
"configFiles": ["interface/stlink.cfg", "target/stm32f0x.cfg"],
|
||||
"runToMain": true
|
||||
"configFiles": ["interface/stlink-v2.cfg", "target/stm32f0x.cfg"]
|
||||
},
|
||||
{
|
||||
"name": "Debug F042 (bootloader)",
|
||||
"type": "cortex-debug",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"executable": "${workspaceRoot}/firmware/bootloader/build/wideband_bootloader.elf",
|
||||
"device": "STM32F042K6",
|
||||
"v1": false,
|
||||
"svdFile": "${workspaceRoot}/firmware/cmsis-svd/data/STMicro/STM32F042x.svd",
|
||||
"servertype": "openocd",
|
||||
"configFiles": ["interface/stlink-v2.cfg", "target/stm32f0x.cfg"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "make",
|
||||
"label": "Build Firmware",
|
||||
"type": "shell",
|
||||
"command": "make -j8",
|
||||
"options": {
|
||||
|
@ -15,6 +15,19 @@
|
|||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Build Bootloader",
|
||||
"type": "shell",
|
||||
"command": "./build_bootloader.sh",
|
||||
"options": {
|
||||
"cwd": "${workspaceRoot}/firmware/bootloader"
|
||||
},
|
||||
"problemMatcher": [],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue