From 89ccd463d79007f5b1f15d4ffa8df913ae3a3373 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 11 Jan 2020 19:28:41 -0600 Subject: [PATCH] Update auto_build.py paths for Atom/Sublime --- .../auto_build_sublime_menu/Main.sublime-menu | 16 ++++++++-------- .../vscode/create_custom_upload_command_CDC.py | 8 ++++---- process-palette.json | 16 ++++++++-------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/buildroot/share/sublime/auto_build_sublime_menu/Main.sublime-menu b/buildroot/share/sublime/auto_build_sublime_menu/Main.sublime-menu index cd9718bfb..60939d12e 100644 --- a/buildroot/share/sublime/auto_build_sublime_menu/Main.sublime-menu +++ b/buildroot/share/sublime/auto_build_sublime_menu/Main.sublime-menu @@ -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" } } ], diff --git a/buildroot/share/vscode/create_custom_upload_command_CDC.py b/buildroot/share/vscode/create_custom_upload_command_CDC.py index 4d6fdf558..acfd1787f 100644 --- a/buildroot/share/vscode/create_custom_upload_command_CDC.py +++ b/buildroot/share/vscode/create_custom_upload_command_CDC.py @@ -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' diff --git a/process-palette.json b/process-palette.json index 8b6898158..b3b05b99a 100644 --- a/process-palette.json +++ b/process-palette.json @@ -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": [],