2018-04-26 07:42:06 +00:00
|
|
|
{
|
|
|
|
"patterns": {
|
|
|
|
"P1": {
|
|
|
|
"expression": "(path):(line)"
|
|
|
|
},
|
|
|
|
"P2": {
|
|
|
|
"expression": "(path)\\s+(line)",
|
|
|
|
"path": "(?:\\/[\\w\\.\\-]+)+"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"namespace": "process-palette",
|
|
|
|
"action": "PIO Build",
|
2020-01-12 01:28:41 +00:00
|
|
|
"command": "python buildroot/share/vscode/auto_build.py build",
|
2018-04-26 07:42:06 +00:00
|
|
|
"arguments": [],
|
|
|
|
"cwd": "{projectPath}",
|
|
|
|
"inputDialogs": [],
|
|
|
|
"env": {},
|
|
|
|
"keystroke": null,
|
|
|
|
"stream": true,
|
|
|
|
"outputTarget": "panel",
|
|
|
|
"outputBufferSize": 80000,
|
|
|
|
"maxCompleted": 3,
|
|
|
|
"autoShowOutput": true,
|
|
|
|
"autoHideOutput": false,
|
|
|
|
"scrollLockEnabled": false,
|
|
|
|
"singular": true,
|
|
|
|
"promptToSave": true,
|
|
|
|
"saveOption": "none",
|
|
|
|
"patterns": [
|
|
|
|
"default"
|
|
|
|
],
|
|
|
|
"successOutput": "{stdout}",
|
|
|
|
"errorOutput": "{stdout}\n{stderr}",
|
|
|
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"startMessage": "",
|
|
|
|
"successMessage": "Executed : {fullCommand}",
|
|
|
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
|
|
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"menus": [
|
|
|
|
"Auto Build"
|
|
|
|
],
|
|
|
|
"startScript": null,
|
|
|
|
"successScript": null,
|
|
|
|
"errorScript": null,
|
|
|
|
"scriptOnStart": false,
|
|
|
|
"scriptOnSuccess": false,
|
|
|
|
"scriptOnError": false,
|
|
|
|
"notifyOnStart": false,
|
|
|
|
"notifyOnSuccess": true,
|
|
|
|
"notifyOnError": true,
|
|
|
|
"input": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"namespace": "process-palette",
|
|
|
|
"action": "PIO Clean",
|
2020-01-12 01:28:41 +00:00
|
|
|
"command": "python buildroot/share/vscode/auto_build.py clean",
|
2018-04-26 07:42:06 +00:00
|
|
|
"arguments": [],
|
|
|
|
"cwd": "{projectPath}",
|
|
|
|
"inputDialogs": [],
|
|
|
|
"env": {},
|
|
|
|
"keystroke": null,
|
|
|
|
"stream": true,
|
|
|
|
"outputTarget": "panel",
|
|
|
|
"outputBufferSize": 80000,
|
|
|
|
"maxCompleted": 3,
|
|
|
|
"autoShowOutput": true,
|
|
|
|
"autoHideOutput": false,
|
|
|
|
"scrollLockEnabled": false,
|
|
|
|
"singular": false,
|
|
|
|
"promptToSave": true,
|
|
|
|
"saveOption": "none",
|
|
|
|
"patterns": [
|
|
|
|
"default"
|
|
|
|
],
|
|
|
|
"successOutput": "{stdout}",
|
|
|
|
"errorOutput": "{stdout}\n{stderr}",
|
|
|
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"startMessage": null,
|
|
|
|
"successMessage": "Executed : {fullCommand}",
|
|
|
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
|
|
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"menus": [
|
|
|
|
"Auto Build"
|
|
|
|
],
|
|
|
|
"startScript": null,
|
|
|
|
"successScript": null,
|
|
|
|
"errorScript": null,
|
|
|
|
"scriptOnStart": false,
|
|
|
|
"scriptOnSuccess": false,
|
|
|
|
"scriptOnError": false,
|
|
|
|
"notifyOnStart": false,
|
|
|
|
"notifyOnSuccess": true,
|
|
|
|
"notifyOnError": true,
|
|
|
|
"input": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"namespace": "process-palette",
|
|
|
|
"action": "PIO Upload",
|
2020-01-12 01:28:41 +00:00
|
|
|
"command": "python buildroot/share/vscode/auto_build.py upload",
|
2018-04-26 07:42:06 +00:00
|
|
|
"arguments": [],
|
|
|
|
"cwd": "{projectPath}",
|
|
|
|
"inputDialogs": [],
|
|
|
|
"env": {},
|
|
|
|
"keystroke": null,
|
|
|
|
"stream": true,
|
|
|
|
"outputTarget": "panel",
|
|
|
|
"outputBufferSize": 80000,
|
|
|
|
"maxCompleted": 3,
|
|
|
|
"autoShowOutput": true,
|
|
|
|
"autoHideOutput": false,
|
|
|
|
"scrollLockEnabled": false,
|
|
|
|
"singular": false,
|
|
|
|
"promptToSave": true,
|
|
|
|
"saveOption": "none",
|
|
|
|
"patterns": [
|
|
|
|
"default"
|
|
|
|
],
|
|
|
|
"successOutput": "{stdout}",
|
|
|
|
"errorOutput": "{stdout}\n{stderr}",
|
|
|
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"startMessage": null,
|
|
|
|
"successMessage": "Executed : {fullCommand}",
|
|
|
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
|
|
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"menus": [
|
|
|
|
"Auto Build"
|
|
|
|
],
|
|
|
|
"startScript": null,
|
|
|
|
"successScript": null,
|
|
|
|
"errorScript": null,
|
|
|
|
"scriptOnStart": false,
|
|
|
|
"scriptOnSuccess": false,
|
|
|
|
"scriptOnError": false,
|
|
|
|
"notifyOnStart": false,
|
|
|
|
"notifyOnSuccess": true,
|
|
|
|
"notifyOnError": true,
|
|
|
|
"input": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"namespace": "process-palette",
|
|
|
|
"action": "PIO Upload (traceback)",
|
2020-01-12 01:28:41 +00:00
|
|
|
"command": "python buildroot/share/vscode/auto_build.py traceback",
|
2018-04-26 07:42:06 +00:00
|
|
|
"arguments": [],
|
|
|
|
"cwd": "{projectPath}",
|
|
|
|
"inputDialogs": [],
|
|
|
|
"env": {},
|
|
|
|
"keystroke": null,
|
|
|
|
"stream": true,
|
|
|
|
"outputTarget": "panel",
|
|
|
|
"outputBufferSize": 80000,
|
|
|
|
"maxCompleted": 3,
|
|
|
|
"autoShowOutput": true,
|
|
|
|
"autoHideOutput": false,
|
|
|
|
"scrollLockEnabled": false,
|
|
|
|
"singular": false,
|
|
|
|
"promptToSave": true,
|
|
|
|
"saveOption": "none",
|
|
|
|
"patterns": [
|
|
|
|
"default"
|
|
|
|
],
|
|
|
|
"successOutput": "{stdout}",
|
|
|
|
"errorOutput": "{stdout}\n{stderr}",
|
|
|
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"startMessage": null,
|
|
|
|
"successMessage": "Executed : {fullCommand}",
|
|
|
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
|
|
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"menus": [
|
|
|
|
"Auto Build"
|
|
|
|
],
|
|
|
|
"startScript": null,
|
|
|
|
"successScript": null,
|
|
|
|
"errorScript": null,
|
|
|
|
"scriptOnStart": false,
|
|
|
|
"scriptOnSuccess": false,
|
|
|
|
"scriptOnError": false,
|
|
|
|
"notifyOnStart": false,
|
|
|
|
"notifyOnSuccess": true,
|
|
|
|
"notifyOnError": true,
|
|
|
|
"input": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"namespace": "process-palette",
|
|
|
|
"action": "PIO Upload using Programmer",
|
2020-01-12 01:28:41 +00:00
|
|
|
"command": "python buildroot/share/vscode/auto_build.py program",
|
2018-04-26 07:42:06 +00:00
|
|
|
"arguments": [],
|
|
|
|
"cwd": "{projectPath}",
|
|
|
|
"inputDialogs": [],
|
|
|
|
"env": {},
|
|
|
|
"keystroke": null,
|
|
|
|
"stream": true,
|
|
|
|
"outputTarget": "panel",
|
|
|
|
"outputBufferSize": 80000,
|
|
|
|
"maxCompleted": 3,
|
|
|
|
"autoShowOutput": true,
|
|
|
|
"autoHideOutput": false,
|
|
|
|
"scrollLockEnabled": false,
|
|
|
|
"singular": false,
|
|
|
|
"promptToSave": true,
|
|
|
|
"saveOption": "none",
|
|
|
|
"patterns": [
|
|
|
|
"default"
|
|
|
|
],
|
|
|
|
"successOutput": "{stdout}",
|
|
|
|
"errorOutput": "{stdout}\n{stderr}",
|
|
|
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"startMessage": null,
|
|
|
|
"successMessage": "Executed : {fullCommand}",
|
|
|
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
|
|
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"menus": [
|
|
|
|
"Auto Build"
|
|
|
|
],
|
|
|
|
"startScript": null,
|
|
|
|
"successScript": null,
|
|
|
|
"errorScript": null,
|
|
|
|
"scriptOnStart": false,
|
|
|
|
"scriptOnSuccess": false,
|
|
|
|
"scriptOnError": false,
|
|
|
|
"notifyOnStart": false,
|
|
|
|
"notifyOnSuccess": true,
|
|
|
|
"notifyOnError": true,
|
|
|
|
"input": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"namespace": "process-palette",
|
|
|
|
"action": "PIO Test",
|
2020-01-12 01:28:41 +00:00
|
|
|
"command": "python buildroot/share/vscode/auto_build.py test",
|
2018-04-26 07:42:06 +00:00
|
|
|
"arguments": [],
|
|
|
|
"cwd": "{projectPath}",
|
|
|
|
"inputDialogs": [],
|
|
|
|
"env": {},
|
|
|
|
"keystroke": null,
|
|
|
|
"stream": true,
|
|
|
|
"outputTarget": "panel",
|
|
|
|
"outputBufferSize": 80000,
|
|
|
|
"maxCompleted": 3,
|
|
|
|
"autoShowOutput": true,
|
|
|
|
"autoHideOutput": false,
|
|
|
|
"scrollLockEnabled": false,
|
|
|
|
"singular": false,
|
|
|
|
"promptToSave": true,
|
|
|
|
"saveOption": "none",
|
|
|
|
"patterns": [
|
|
|
|
"default"
|
|
|
|
],
|
|
|
|
"successOutput": "{stdout}",
|
|
|
|
"errorOutput": "{stdout}\n{stderr}",
|
|
|
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"startMessage": null,
|
|
|
|
"successMessage": "Executed : {fullCommand}",
|
|
|
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
|
|
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"menus": [
|
|
|
|
"Auto Build"
|
|
|
|
],
|
|
|
|
"startScript": null,
|
|
|
|
"successScript": null,
|
|
|
|
"errorScript": null,
|
|
|
|
"scriptOnStart": false,
|
|
|
|
"scriptOnSuccess": false,
|
|
|
|
"scriptOnError": false,
|
|
|
|
"notifyOnStart": false,
|
|
|
|
"notifyOnSuccess": true,
|
|
|
|
"notifyOnError": true,
|
|
|
|
"input": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"namespace": "process-palette",
|
|
|
|
"action": "PIO Debug",
|
2020-01-12 01:28:41 +00:00
|
|
|
"command": "python buildroot/share/vscode/auto_build.py debug",
|
2018-04-26 07:42:06 +00:00
|
|
|
"arguments": [],
|
|
|
|
"cwd": "{projectPath}",
|
|
|
|
"inputDialogs": [],
|
|
|
|
"env": {},
|
|
|
|
"keystroke": null,
|
|
|
|
"stream": true,
|
|
|
|
"outputTarget": "panel",
|
|
|
|
"outputBufferSize": 80000,
|
|
|
|
"maxCompleted": 3,
|
|
|
|
"autoShowOutput": true,
|
|
|
|
"autoHideOutput": false,
|
|
|
|
"scrollLockEnabled": false,
|
|
|
|
"singular": false,
|
|
|
|
"promptToSave": true,
|
|
|
|
"saveOption": "none",
|
|
|
|
"patterns": [
|
|
|
|
"default"
|
|
|
|
],
|
|
|
|
"successOutput": "{stdout}",
|
|
|
|
"errorOutput": "{stdout}\n{stderr}",
|
|
|
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"startMessage": null,
|
|
|
|
"successMessage": "Executed : {fullCommand}",
|
|
|
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
|
|
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"menus": [
|
|
|
|
"Auto Build"
|
|
|
|
],
|
|
|
|
"startScript": null,
|
|
|
|
"successScript": null,
|
|
|
|
"errorScript": null,
|
|
|
|
"scriptOnStart": false,
|
|
|
|
"scriptOnSuccess": false,
|
|
|
|
"scriptOnError": false,
|
|
|
|
"notifyOnStart": false,
|
|
|
|
"notifyOnSuccess": true,
|
|
|
|
"notifyOnError": true,
|
|
|
|
"input": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"namespace": "process-palette",
|
|
|
|
"action": "PIO Remote",
|
2020-01-12 01:28:41 +00:00
|
|
|
"command": "python buildroot/share/vscode/auto_build.py remote",
|
2018-04-26 07:42:06 +00:00
|
|
|
"arguments": [],
|
|
|
|
"cwd": "{projectPath}",
|
|
|
|
"inputDialogs": [],
|
|
|
|
"env": {},
|
|
|
|
"keystroke": null,
|
|
|
|
"stream": true,
|
|
|
|
"outputTarget": "panel",
|
|
|
|
"outputBufferSize": 80000,
|
|
|
|
"maxCompleted": 3,
|
|
|
|
"autoShowOutput": true,
|
|
|
|
"autoHideOutput": false,
|
|
|
|
"scrollLockEnabled": false,
|
|
|
|
"singular": false,
|
|
|
|
"promptToSave": true,
|
|
|
|
"saveOption": "none",
|
|
|
|
"patterns": [
|
|
|
|
"default"
|
|
|
|
],
|
|
|
|
"successOutput": "{stdout}",
|
|
|
|
"errorOutput": "{stdout}\n{stderr}",
|
|
|
|
"fatalOutput": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"startMessage": null,
|
|
|
|
"successMessage": "Executed : {fullCommand}",
|
|
|
|
"errorMessage": "Executed : {fullCommand}\nReturned with code {exitStatus}\n{stderr}",
|
|
|
|
"fatalMessage": "Failed to execute : {fullCommand}\n{stdout}\n{stderr}",
|
|
|
|
"menus": [
|
|
|
|
"Auto Build"
|
|
|
|
],
|
|
|
|
"startScript": null,
|
|
|
|
"successScript": null,
|
|
|
|
"errorScript": null,
|
|
|
|
"scriptOnStart": false,
|
|
|
|
"scriptOnSuccess": false,
|
|
|
|
"scriptOnError": false,
|
|
|
|
"notifyOnStart": false,
|
|
|
|
"notifyOnSuccess": true,
|
|
|
|
"notifyOnError": true,
|
|
|
|
"input": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|