Browse Source

Update auto_build.py paths for Atom/Sublime

Scott Lahteine 4 years ago
parent
commit
89ccd463d7

+ 8
- 8
buildroot/share/sublime/auto_build_sublime_menu/Main.sublime-menu View File

@@ -7,56 +7,56 @@
7 7
                 "caption": "PIO Build",
8 8
                 "command": "webdevshell",
9 9
                 "args": {
10
-                    "command": "python buildroot/share/atom/auto_build.py build"
10
+                    "command": "python buildroot/share/vscode/auto_build.py build"
11 11
                 }
12 12
             },
13 13
             {
14 14
                 "caption": "PIO Clean",
15 15
                 "command": "webdevshell",
16 16
                 "args": {
17
-                    "command": "python buildroot/share/atom/auto_build.py clean"
17
+                    "command": "python buildroot/share/vscode/auto_build.py clean"
18 18
                 }
19 19
             },
20 20
             {
21 21
                 "caption": "PIO Upload",
22 22
                 "command": "webdevshell",
23 23
                 "args": {
24
-                    "command": "python buildroot/share/atom/auto_build.py  upload"
24
+                    "command": "python buildroot/share/vscode/auto_build.py upload"
25 25
                 }
26 26
             },
27 27
             {
28 28
                 "caption": "PIO Upload (traceback)",
29 29
                 "command": "webdevshell",
30 30
                 "args": {
31
-                    "command": "python buildroot/share/atom/auto_build.py  traceback"
31
+                    "command": "python buildroot/share/vscode/auto_build.py traceback"
32 32
                 }
33 33
             },
34 34
             {
35 35
                 "caption": "PIO Upload using Programmer",
36 36
                 "command": "webdevshell",
37 37
                 "args": {
38
-                    "command": "python buildroot/share/atom/auto_build.py  program"
38
+                    "command": "python buildroot/share/vscode/auto_build.py program"
39 39
                 }
40 40
             },
41 41
             {
42 42
                 "caption": "PIO Test",
43 43
                 "command": "webdevshell",
44 44
                 "args": {
45
-                    "command": "python buildroot/share/atom/auto_build.py  test"
45
+                    "command": "python buildroot/share/vscode/auto_build.py test"
46 46
                 }
47 47
             },
48 48
             {
49 49
                 "caption": "PIO Debug",
50 50
                 "command": "webdevshell",
51 51
                 "args": {
52
-                    "command": "python buildroot/share/atom/auto_build.py  debug"
52
+                    "command": "python buildroot/share/vscode/auto_build.py debug"
53 53
                 }
54 54
             },
55 55
             {
56 56
                 "caption": "PIO Remote",
57 57
                 "command": "webdevshell",
58 58
                 "args": {
59
-                    "command": "python buildroot/share/atom/auto_build.py  remote"
59
+                    "command": "python buildroot/share/vscode/auto_build.py remote"
60 60
                 }
61 61
             }
62 62
         ],

+ 4
- 4
buildroot/share/vscode/create_custom_upload_command_CDC.py View File

@@ -107,10 +107,10 @@ else:
107 107
       get_com_port('usbmodem', 'Description:', 13)
108 108
 
109 109
 #      avrdude_conf_path =  env.get("PIOHOME_DIR") + '/packages/toolchain-atmelavr/etc/avrdude.conf'
110
-      avrdude_conf_path =  'buildroot/share/atom/avrdude_macOS.conf'
110
+      avrdude_conf_path =  'buildroot/share/vscode/avrdude_macOS.conf'
111 111
 
112 112
 
113
-      avrdude_exe_path =  'buildroot/share/atom/avrdude_5.10_macOS'
113
+      avrdude_exe_path =  'buildroot/share/vscode/avrdude_5.10_macOS'
114 114
 
115 115
 #      source_path = env.get("PROJECTBUILD_DIR") + '/' + env.get("PIOENV") + '/firmware.hex'
116 116
       source_path = '.pio/build/' + env.get("PIOENV") + '/firmware.hex'
@@ -127,10 +127,10 @@ else:
127 127
       get_com_port('/dev/tty', 'Description:', 13)
128 128
 
129 129
 #      avrdude_conf_path =  env.get("PIOHOME_DIR") + '/packages/toolchain-atmelavr/etc/avrdude.conf'
130
-      avrdude_conf_path =  'buildroot/share/atom/avrdude_linux.conf'
130
+      avrdude_conf_path =  'buildroot/share/vscode/avrdude_linux.conf'
131 131
 
132 132
 
133
-      avrdude_exe_path =  'buildroot/share/atom/avrdude_5.10_linux'
133
+      avrdude_exe_path =  'buildroot/share/vscode/avrdude_5.10_linux'
134 134
 #      source_path = env.get("PROJECTBUILD_DIR") + '/' + env.get("PIOENV") + '/firmware.hex'
135 135
       source_path = '.pio/build/' + env.get("PIOENV") + '/firmware.hex'
136 136
 

+ 8
- 8
process-palette.json View File

@@ -12,7 +12,7 @@
12 12
     {
13 13
       "namespace": "process-palette",
14 14
       "action": "PIO Build",
15
-      "command": "python buildroot/share/atom/auto_build.py build",
15
+      "command": "python buildroot/share/vscode/auto_build.py build",
16 16
       "arguments": [],
17 17
       "cwd": "{projectPath}",
18 18
       "inputDialogs": [],
@@ -55,7 +55,7 @@
55 55
     {
56 56
       "namespace": "process-palette",
57 57
       "action": "PIO Clean",
58
-      "command": "python buildroot/share/atom/auto_build.py clean",
58
+      "command": "python buildroot/share/vscode/auto_build.py clean",
59 59
       "arguments": [],
60 60
       "cwd": "{projectPath}",
61 61
       "inputDialogs": [],
@@ -98,7 +98,7 @@
98 98
     {
99 99
       "namespace": "process-palette",
100 100
       "action": "PIO Upload",
101
-      "command": "python buildroot/share/atom/auto_build.py upload",
101
+      "command": "python buildroot/share/vscode/auto_build.py upload",
102 102
       "arguments": [],
103 103
       "cwd": "{projectPath}",
104 104
       "inputDialogs": [],
@@ -141,7 +141,7 @@
141 141
     {
142 142
       "namespace": "process-palette",
143 143
       "action": "PIO Upload (traceback)",
144
-      "command": "python buildroot/share/atom/auto_build.py traceback",
144
+      "command": "python buildroot/share/vscode/auto_build.py traceback",
145 145
       "arguments": [],
146 146
       "cwd": "{projectPath}",
147 147
       "inputDialogs": [],
@@ -184,7 +184,7 @@
184 184
     {
185 185
       "namespace": "process-palette",
186 186
       "action": "PIO Upload using Programmer",
187
-      "command": "python buildroot/share/atom/auto_build.py program",
187
+      "command": "python buildroot/share/vscode/auto_build.py program",
188 188
       "arguments": [],
189 189
       "cwd": "{projectPath}",
190 190
       "inputDialogs": [],
@@ -227,7 +227,7 @@
227 227
     {
228 228
       "namespace": "process-palette",
229 229
       "action": "PIO Test",
230
-      "command": "python buildroot/share/atom/auto_build.py test",
230
+      "command": "python buildroot/share/vscode/auto_build.py test",
231 231
       "arguments": [],
232 232
       "cwd": "{projectPath}",
233 233
       "inputDialogs": [],
@@ -270,7 +270,7 @@
270 270
     {
271 271
       "namespace": "process-palette",
272 272
       "action": "PIO Debug",
273
-      "command": "python buildroot/share/atom/auto_build.py debug",
273
+      "command": "python buildroot/share/vscode/auto_build.py debug",
274 274
       "arguments": [],
275 275
       "cwd": "{projectPath}",
276 276
       "inputDialogs": [],
@@ -313,7 +313,7 @@
313 313
     {
314 314
       "namespace": "process-palette",
315 315
       "action": "PIO Remote",
316
-      "command": "python buildroot/share/atom/auto_build.py remote",
316
+      "command": "python buildroot/share/vscode/auto_build.py remote",
317 317
       "arguments": [],
318 318
       "cwd": "{projectPath}",
319 319
       "inputDialogs": [],

Loading…
Cancel
Save