This commit is contained in:
Philippe Teuwen 2020-10-20 13:16:10 +02:00
commit 874c673604
2 changed files with 10 additions and 13 deletions

2
.vscode/launch.json vendored
View file

@ -37,7 +37,7 @@
"ignoreFailures": true "ignoreFailures": true
} }
], ],
"preLaunchTask": "Debug: clean & make client", "preLaunchTask": "client: Debug: clean & make",
"miDebuggerPath": "/usr/bin/gdb" "miDebuggerPath": "/usr/bin/gdb"
} }
], ],

21
.vscode/tasks.json vendored
View file

@ -4,7 +4,7 @@
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "Make all & run", "label": "all: Make & run",
"type": "shell", "type": "shell",
"command": "make -j && ./pm3", "command": "make -j && ./pm3",
"problemMatcher": [ "problemMatcher": [
@ -16,7 +16,7 @@
} }
}, },
{ {
"label": "Make TARGET", "label": "choose: Make",
"type": "shell", "type": "shell",
"command": "make ${input:componentType} -j", "command": "make ${input:componentType} -j",
"problemMatcher": [ "problemMatcher": [
@ -25,7 +25,7 @@
"group": "build", "group": "build",
}, },
{ {
"label": "Debug: make client", "label": "client: Debug: make",
"type": "shell", "type": "shell",
"command": "make client -j DEBUG=1", "command": "make client -j DEBUG=1",
"problemMatcher": [ "problemMatcher": [
@ -34,7 +34,7 @@
"group": "build", "group": "build",
}, },
{ {
"label": "Debug: clean & make client", "label": "client: Debug: clean & make",
"type": "shell", "type": "shell",
"command": "make client/clean && make client -j DEBUG=1", "command": "make client/clean && make client -j DEBUG=1",
"problemMatcher": [ "problemMatcher": [
@ -43,25 +43,22 @@
"group": "build", "group": "build",
}, },
{ {
"label": "Flash fullimage", "label": "fullimage: Make & Flash",
"type": "shell", "type": "shell",
"command": "./pm3-flash-fullimage", "command": "make fullimage && ./pm3-flash-fullimage",
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "FLASH BOOTROM", "label": "BOOTROM: Make & Flash",
"type": "shell", "type": "shell",
"command": "./pm3-flash-bootrom", "command": "make bootrom && ./pm3-flash-bootrom",
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "Run client", "label": "Run client",
"type": "shell", "type": "shell",
"command": "./pm3", "command": "./pm3",
"problemMatcher": [], "problemMatcher": []
"dependsOn": [
"Release: build client"
]
} }
], ],
"inputs": [ "inputs": [