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
                 "caption": "PIO Build",
7
                 "caption": "PIO Build",
8
                 "command": "webdevshell",
8
                 "command": "webdevshell",
9
                 "args": {
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
                 "caption": "PIO Clean",
14
                 "caption": "PIO Clean",
15
                 "command": "webdevshell",
15
                 "command": "webdevshell",
16
                 "args": {
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
                 "caption": "PIO Upload",
21
                 "caption": "PIO Upload",
22
                 "command": "webdevshell",
22
                 "command": "webdevshell",
23
                 "args": {
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
                 "caption": "PIO Upload (traceback)",
28
                 "caption": "PIO Upload (traceback)",
29
                 "command": "webdevshell",
29
                 "command": "webdevshell",
30
                 "args": {
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
                 "caption": "PIO Upload using Programmer",
35
                 "caption": "PIO Upload using Programmer",
36
                 "command": "webdevshell",
36
                 "command": "webdevshell",
37
                 "args": {
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
                 "caption": "PIO Test",
42
                 "caption": "PIO Test",
43
                 "command": "webdevshell",
43
                 "command": "webdevshell",
44
                 "args": {
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
                 "caption": "PIO Debug",
49
                 "caption": "PIO Debug",
50
                 "command": "webdevshell",
50
                 "command": "webdevshell",
51
                 "args": {
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
                 "caption": "PIO Remote",
56
                 "caption": "PIO Remote",
57
                 "command": "webdevshell",
57
                 "command": "webdevshell",
58
                 "args": {
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
       get_com_port('usbmodem', 'Description:', 13)
107
       get_com_port('usbmodem', 'Description:', 13)
108
 
108
 
109
 #      avrdude_conf_path =  env.get("PIOHOME_DIR") + '/packages/toolchain-atmelavr/etc/avrdude.conf'
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
 #      source_path = env.get("PROJECTBUILD_DIR") + '/' + env.get("PIOENV") + '/firmware.hex'
115
 #      source_path = env.get("PROJECTBUILD_DIR") + '/' + env.get("PIOENV") + '/firmware.hex'
116
       source_path = '.pio/build/' + env.get("PIOENV") + '/firmware.hex'
116
       source_path = '.pio/build/' + env.get("PIOENV") + '/firmware.hex'
127
       get_com_port('/dev/tty', 'Description:', 13)
127
       get_com_port('/dev/tty', 'Description:', 13)
128
 
128
 
129
 #      avrdude_conf_path =  env.get("PIOHOME_DIR") + '/packages/toolchain-atmelavr/etc/avrdude.conf'
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
 #      source_path = env.get("PROJECTBUILD_DIR") + '/' + env.get("PIOENV") + '/firmware.hex'
134
 #      source_path = env.get("PROJECTBUILD_DIR") + '/' + env.get("PIOENV") + '/firmware.hex'
135
       source_path = '.pio/build/' + env.get("PIOENV") + '/firmware.hex'
135
       source_path = '.pio/build/' + env.get("PIOENV") + '/firmware.hex'
136
 
136
 

+ 8
- 8
process-palette.json View File

12
     {
12
     {
13
       "namespace": "process-palette",
13
       "namespace": "process-palette",
14
       "action": "PIO Build",
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
       "arguments": [],
16
       "arguments": [],
17
       "cwd": "{projectPath}",
17
       "cwd": "{projectPath}",
18
       "inputDialogs": [],
18
       "inputDialogs": [],
55
     {
55
     {
56
       "namespace": "process-palette",
56
       "namespace": "process-palette",
57
       "action": "PIO Clean",
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
       "arguments": [],
59
       "arguments": [],
60
       "cwd": "{projectPath}",
60
       "cwd": "{projectPath}",
61
       "inputDialogs": [],
61
       "inputDialogs": [],
98
     {
98
     {
99
       "namespace": "process-palette",
99
       "namespace": "process-palette",
100
       "action": "PIO Upload",
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
       "arguments": [],
102
       "arguments": [],
103
       "cwd": "{projectPath}",
103
       "cwd": "{projectPath}",
104
       "inputDialogs": [],
104
       "inputDialogs": [],
141
     {
141
     {
142
       "namespace": "process-palette",
142
       "namespace": "process-palette",
143
       "action": "PIO Upload (traceback)",
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
       "arguments": [],
145
       "arguments": [],
146
       "cwd": "{projectPath}",
146
       "cwd": "{projectPath}",
147
       "inputDialogs": [],
147
       "inputDialogs": [],
184
     {
184
     {
185
       "namespace": "process-palette",
185
       "namespace": "process-palette",
186
       "action": "PIO Upload using Programmer",
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
       "arguments": [],
188
       "arguments": [],
189
       "cwd": "{projectPath}",
189
       "cwd": "{projectPath}",
190
       "inputDialogs": [],
190
       "inputDialogs": [],
227
     {
227
     {
228
       "namespace": "process-palette",
228
       "namespace": "process-palette",
229
       "action": "PIO Test",
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
       "arguments": [],
231
       "arguments": [],
232
       "cwd": "{projectPath}",
232
       "cwd": "{projectPath}",
233
       "inputDialogs": [],
233
       "inputDialogs": [],
270
     {
270
     {
271
       "namespace": "process-palette",
271
       "namespace": "process-palette",
272
       "action": "PIO Debug",
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
       "arguments": [],
274
       "arguments": [],
275
       "cwd": "{projectPath}",
275
       "cwd": "{projectPath}",
276
       "inputDialogs": [],
276
       "inputDialogs": [],
313
     {
313
     {
314
       "namespace": "process-palette",
314
       "namespace": "process-palette",
315
       "action": "PIO Remote",
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
       "arguments": [],
317
       "arguments": [],
318
       "cwd": "{projectPath}",
318
       "cwd": "{projectPath}",
319
       "inputDialogs": [],
319
       "inputDialogs": [],

Loading…
Cancel
Save