File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,12 @@ def main():
163
163
default = False ,
164
164
help = "writes tools/export/README.md" )
165
165
166
+ parser .add_argument ("--build" ,
167
+ type = argparse_filestring_type ,
168
+ dest = "build_dir" ,
169
+ default = None ,
170
+ help = "Directory for the exported project files" )
171
+
166
172
parser .add_argument ("--source" ,
167
173
action = "append" ,
168
174
type = argparse_filestring_type ,
@@ -262,7 +268,8 @@ def main():
262
268
export (mcu , options .ide , build = options .build ,
263
269
src = options .source_dir , macros = options .macros ,
264
270
project_id = options .program , zip_proj = zip_proj ,
265
- build_profile = profile , app_config = options .app_config )
271
+ build_profile = profile , app_config = options .app_config ,
272
+ export_path = options .build_dir )
266
273
except NotSupportedException as exc :
267
274
print ("[ERROR] %s" % str (exc ))
268
275
You can’t perform that action at this time.
0 commit comments