You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 24, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: lib/config.js
+28-21Lines changed: 28 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,13 @@ export default class Config {
49
49
description: 'Either connect through USB serial using a comport, or an IP address for a telnet connection. Username and password are not needed for serial connections.',
50
50
order: 1
51
51
},
52
+
auto_connect: {
53
+
type: 'boolean',
54
+
default: false,
55
+
title: 'Autoconnect on USB',
56
+
description: 'Ignores any \'device address\' setting and automatically connects to the top item in the serialport list',
57
+
order: 2
58
+
},
52
59
username: {
53
60
type: 'string',
54
61
default: 'micro',
@@ -61,54 +68,54 @@ export default class Config {
61
68
title: 'Password',
62
69
order: 4
63
70
},
64
-
auto_connect: {
65
-
type: 'boolean',
66
-
default: false,
67
-
title: 'Autoconnect on USB',
68
-
description: 'Ignores any \'device address\' setting and automatically connects to the top item in the serialport list',
69
-
order: 2
70
-
},
71
-
ctrl_c_on_connect: {
72
-
type: 'boolean',
73
-
default: false,
74
-
title: 'Ctrl-c on connect',
75
-
description: 'Stops all running programs when connecting to the board',
76
-
order: 7
77
-
},
78
71
sync_folder: {
79
72
type: 'string',
80
73
default: "",
81
74
title: 'Sync Folder',
82
75
description: 'This folder will be uploaded to the pyboard when using the sync button. Leave empty to sync the complete project. (only allows folders within the project). Use a path relative to the project you opened in atom, without leading or trailing slash',
83
76
order: 5
84
77
},
78
+
sync_all_file_types: {
79
+
type: 'boolean',
80
+
default: false,
81
+
title: 'Upload all file types',
82
+
description: 'If enabled, all files will be uploaded, no matter if the extension matches the list below',
83
+
order: 6
84
+
},
85
85
sync_file_types: {
86
86
type: 'string',
87
-
default: "py,txt,log,json,xml,html,js,css",
88
-
title: 'Sync file types',
89
-
description: 'All types of files that will be synced to the board, seperated by comma. All other filetypes will be ignored during a sync action',
90
-
order: 6
87
+
default: "py,txt,log,json,xml,html,js,css,mpy",
88
+
title: 'Upload file types',
89
+
description: 'All types of files that will be uploaded to the board, seperated by comma. All other filetypes will be ignored during an upload (or download) action',
90
+
order: 7
91
+
},
92
+
ctrl_c_on_connect: {
93
+
type: 'boolean',
94
+
default: false,
95
+
title: 'Ctrl-c on connect',
96
+
description: 'Stops all running programs when connecting to the board',
97
+
order: 8
91
98
},
92
99
open_on_start: {
93
100
type: 'boolean',
94
101
default: true,
95
102
title: 'Open on start',
96
103
description: 'Automatically open the pymakr console and connect to the board after starting Atom',
97
-
order: 8
104
+
order: 9
98
105
},
99
106
safe_boot_on_upload: {
100
107
type: 'boolean',
101
108
default: false,
102
109
title: 'Safe-boot before upload',
103
110
description: '[Only works with firmware v1.16.0.b1 and up.] Safe boots the board before uploading to prevent running out of memory while uploading. Especially useful on older boards with less memory, but adds about 2 seconds to the upload procedure',
104
-
order: 9
111
+
order: 10
105
112
},
106
113
reboot_after_upload: {
107
114
type: 'boolean',
108
115
default: true,
109
116
title: 'Reboot after upload',
110
117
description: 'Reboots your pycom board after any upload or download action',
0 commit comments