Update auto_build.py paths for Atom/Sublime

This commit is contained in:
Scott Lahteine 2020-01-11 19:28:41 -06:00
parent 473d640e88
commit 89ccd463d7
3 changed files with 20 additions and 20 deletions

View File

@ -7,56 +7,56 @@
"caption": "PIO Build",
"command": "webdevshell",
"args": {
"command": "python buildroot/share/atom/auto_build.py build"
"command": "python buildroot/share/vscode/auto_build.py build"
}
},
{
"caption": "PIO Clean",
"command": "webdevshell",
"args": {
"command": "python buildroot/share/atom/auto_build.py clean"
"command": "python buildroot/share/vscode/auto_build.py clean"
}
},
{
"caption": "PIO Upload",
"command": "webdevshell",
"args": {
"command": "python buildroot/share/atom/auto_build.py upload"
"command": "python buildroot/share/vscode/auto_build.py upload"
}
},
{
"caption": "PIO Upload (traceback)",
"command": "webdevshell",
"args": {
"command": "python buildroot/share/atom/auto_build.py traceback"
"command": "python buildroot/share/vscode/auto_build.py traceback"
}
},
{
"caption": "PIO Upload using Programmer",
"command": "webdevshell",
"args": {
"command": "python buildroot/share/atom/auto_build.py program"
"command": "python buildroot/share/vscode/auto_build.py program"
}
},
{
"caption": "PIO Test",
"command": "webdevshell",
"args": {
"command": "python buildroot/share/atom/auto_build.py test"
"command": "python buildroot/share/vscode/auto_build.py test"
}
},
{
"caption": "PIO Debug",
"command": "webdevshell",
"args": {
"command": "python buildroot/share/atom/auto_build.py debug"
"command": "python buildroot/share/vscode/auto_build.py debug"
}
},
{
"caption": "PIO Remote",
"command": "webdevshell",
"args": {
"command": "python buildroot/share/atom/auto_build.py remote"
"command": "python buildroot/share/vscode/auto_build.py remote"
}
}
],

View File

@ -107,10 +107,10 @@ else:
get_com_port('usbmodem', 'Description:', 13)
# avrdude_conf_path = env.get("PIOHOME_DIR") + '/packages/toolchain-atmelavr/etc/avrdude.conf'
avrdude_conf_path = 'buildroot/share/atom/avrdude_macOS.conf'
avrdude_conf_path = 'buildroot/share/vscode/avrdude_macOS.conf'
avrdude_exe_path = 'buildroot/share/atom/avrdude_5.10_macOS'
avrdude_exe_path = 'buildroot/share/vscode/avrdude_5.10_macOS'
# source_path = env.get("PROJECTBUILD_DIR") + '/' + env.get("PIOENV") + '/firmware.hex'
source_path = '.pio/build/' + env.get("PIOENV") + '/firmware.hex'
@ -127,10 +127,10 @@ else:
get_com_port('/dev/tty', 'Description:', 13)
# avrdude_conf_path = env.get("PIOHOME_DIR") + '/packages/toolchain-atmelavr/etc/avrdude.conf'
avrdude_conf_path = 'buildroot/share/atom/avrdude_linux.conf'
avrdude_conf_path = 'buildroot/share/vscode/avrdude_linux.conf'
avrdude_exe_path = 'buildroot/share/atom/avrdude_5.10_linux'
avrdude_exe_path = 'buildroot/share/vscode/avrdude_5.10_linux'
# source_path = env.get("PROJECTBUILD_DIR") + '/' + env.get("PIOENV") + '/firmware.hex'
source_path = '.pio/build/' + env.get("PIOENV") + '/firmware.hex'

View File

@ -12,7 +12,7 @@
{
"namespace": "process-palette",
"action": "PIO Build",
"command": "python buildroot/share/atom/auto_build.py build",
"command": "python buildroot/share/vscode/auto_build.py build",
"arguments": [],
"cwd": "{projectPath}",
"inputDialogs": [],
@ -55,7 +55,7 @@
{
"namespace": "process-palette",
"action": "PIO Clean",
"command": "python buildroot/share/atom/auto_build.py clean",
"command": "python buildroot/share/vscode/auto_build.py clean",
"arguments": [],
"cwd": "{projectPath}",
"inputDialogs": [],
@ -98,7 +98,7 @@
{
"namespace": "process-palette",
"action": "PIO Upload",
"command": "python buildroot/share/atom/auto_build.py upload",
"command": "python buildroot/share/vscode/auto_build.py upload",
"arguments": [],
"cwd": "{projectPath}",
"inputDialogs": [],
@ -141,7 +141,7 @@
{
"namespace": "process-palette",
"action": "PIO Upload (traceback)",
"command": "python buildroot/share/atom/auto_build.py traceback",
"command": "python buildroot/share/vscode/auto_build.py traceback",
"arguments": [],
"cwd": "{projectPath}",
"inputDialogs": [],
@ -184,7 +184,7 @@
{
"namespace": "process-palette",
"action": "PIO Upload using Programmer",
"command": "python buildroot/share/atom/auto_build.py program",
"command": "python buildroot/share/vscode/auto_build.py program",
"arguments": [],
"cwd": "{projectPath}",
"inputDialogs": [],
@ -227,7 +227,7 @@
{
"namespace": "process-palette",
"action": "PIO Test",
"command": "python buildroot/share/atom/auto_build.py test",
"command": "python buildroot/share/vscode/auto_build.py test",
"arguments": [],
"cwd": "{projectPath}",
"inputDialogs": [],
@ -270,7 +270,7 @@
{
"namespace": "process-palette",
"action": "PIO Debug",
"command": "python buildroot/share/atom/auto_build.py debug",
"command": "python buildroot/share/vscode/auto_build.py debug",
"arguments": [],
"cwd": "{projectPath}",
"inputDialogs": [],
@ -313,7 +313,7 @@
{
"namespace": "process-palette",
"action": "PIO Remote",
"command": "python buildroot/share/atom/auto_build.py remote",
"command": "python buildroot/share/vscode/auto_build.py remote",
"arguments": [],
"cwd": "{projectPath}",
"inputDialogs": [],