File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -118,12 +118,19 @@ def main() -> None:
118
118
required = False ,
119
119
help = "Target to be compiled. Choose from: " + ", " .join (target_choices ))
120
120
121
+ parser .add_argument ("--no-copy" ,
122
+ type = bool ,
123
+ action = argparse .BooleanOptionalAction ,
124
+ default = False ,
125
+ required = False ,
126
+ help = "Disable copying the compiled libraries to arduino-esp32" )
127
+
121
128
parser .add_argument ("-c" , "--arduino-path" ,
122
129
metavar = "<arduino path>" ,
123
130
type = str ,
124
131
default = arduino_default_path (),
125
132
required = False ,
126
- help = "Path to arduino-esp32 directory" )
133
+ help = "Path to arduino-esp32 directory. Default: " + arduino_default_path () )
127
134
128
135
parser .add_argument ("-A" , "--arduino-branch" ,
129
136
metavar = "<arduino branch>" ,
@@ -159,6 +166,7 @@ def main() -> None:
159
166
160
167
# Set the options in the app
161
168
app .setting_target = args .target
169
+ app .setting_enable_copy = not args .no_copy
162
170
app .setting_arduino_path = args .arduino_path
163
171
app .setting_arduino_branch = args .arduino_branch
164
172
app .setting_idf_branch = args .idf_branch
You can’t perform that action at this time.
0 commit comments