|
@@ -2,19 +2,16 @@
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
"version": "0.2.0",
|
|
"version": "0.2.0",
|
|
|
"inputs": [
|
|
"inputs": [
|
|
|
- // {
|
|
|
|
|
- // "id": "BLACKMAGIC",
|
|
|
|
|
- // "type": "command",
|
|
|
|
|
- // "command": "shellCommand.execute",
|
|
|
|
|
- // "args": {
|
|
|
|
|
- // "useSingleResult": true,
|
|
|
|
|
- // "env": {
|
|
|
|
|
- // "PATH": "${workspaceFolder};${env:PATH}"
|
|
|
|
|
- // },
|
|
|
|
|
- // "command": "./fbt get_blackmagic",
|
|
|
|
|
- // "description": "Get Blackmagic device",
|
|
|
|
|
- // }
|
|
|
|
|
- // },
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "BLACKMAGIC",
|
|
|
|
|
+ "type": "command",
|
|
|
|
|
+ "command": "shellCommand.execute",
|
|
|
|
|
+ "args": {
|
|
|
|
|
+ "description": "Get Blackmagic device",
|
|
|
|
|
+ "useSingleResult": true,
|
|
|
|
|
+ "command": "ufbt -s get_blackmagic",
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
],
|
|
],
|
|
|
"configurations": [
|
|
"configurations": [
|
|
|
{
|
|
{
|
|
@@ -57,26 +54,26 @@
|
|
|
],
|
|
],
|
|
|
// "showDevDebugOutput": "raw",
|
|
// "showDevDebugOutput": "raw",
|
|
|
},
|
|
},
|
|
|
- // {
|
|
|
|
|
- // "name": "Attach FW (blackmagic)",
|
|
|
|
|
- // "cwd": "${workspaceFolder}",
|
|
|
|
|
- // "executable": "@UFBT_FIRMWARE_ELF@",
|
|
|
|
|
- // "request": "attach",
|
|
|
|
|
- // "type": "cortex-debug",
|
|
|
|
|
- // "servertype": "external",
|
|
|
|
|
- // "gdbTarget": "${input:BLACKMAGIC}",
|
|
|
|
|
- // "svdFile": "@UFBT_DEBUG_DIR@/STM32WB55_CM4.svd",
|
|
|
|
|
- // "rtos": "FreeRTOS",
|
|
|
|
|
- // "postAttachCommands": [
|
|
|
|
|
- // "monitor swdp_scan",
|
|
|
|
|
- // "attach 1",
|
|
|
|
|
- // "set confirm off",
|
|
|
|
|
- // "set mem inaccessible-by-default off",
|
|
|
|
|
- // "source @UFBT_DEBUG_DIR@/flipperapps.py",
|
|
|
|
|
- // "fap-set-debug-elf-root @UFBT_DEBUG_ELF_DIR@"
|
|
|
|
|
- // ]
|
|
|
|
|
- // // "showDevDebugOutput": "raw",
|
|
|
|
|
- // },
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ "name": "Attach FW (blackmagic)",
|
|
|
|
|
+ "cwd": "${workspaceFolder}",
|
|
|
|
|
+ "executable": "@UFBT_FIRMWARE_ELF@",
|
|
|
|
|
+ "request": "attach",
|
|
|
|
|
+ "type": "cortex-debug",
|
|
|
|
|
+ "servertype": "external",
|
|
|
|
|
+ "gdbTarget": "${input:BLACKMAGIC}",
|
|
|
|
|
+ "svdFile": "@UFBT_DEBUG_DIR@/STM32WB55_CM4.svd",
|
|
|
|
|
+ "rtos": "FreeRTOS",
|
|
|
|
|
+ "postAttachCommands": [
|
|
|
|
|
+ "monitor swdp_scan",
|
|
|
|
|
+ "attach 1",
|
|
|
|
|
+ "set confirm off",
|
|
|
|
|
+ "set mem inaccessible-by-default off",
|
|
|
|
|
+ "source @UFBT_DEBUG_DIR@/flipperapps.py",
|
|
|
|
|
+ "fap-set-debug-elf-root @UFBT_DEBUG_ELF_DIR@"
|
|
|
|
|
+ ]
|
|
|
|
|
+ // "showDevDebugOutput": "raw",
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
"name": "Attach FW (JLink)",
|
|
"name": "Attach FW (JLink)",
|
|
|
"cwd": "${workspaceFolder}",
|
|
"cwd": "${workspaceFolder}",
|