@@ -66,7 +66,8 @@ def setup_project(ide, target, program=None, source_dir=None, build=None, export
66
66
67
67
68
68
def export (target , ide , build = None , src = None , macros = None , project_id = None ,
69
- zip_proj = False , build_profile = None , export_path = None , silent = False ):
69
+ zip_proj = False , build_profile = None , export_path = None , silent = False ,
70
+ app_config = None ):
70
71
"""Do an export of a project.
71
72
72
73
Positional arguments:
@@ -90,7 +91,8 @@ def export(target, ide, build=None, src=None, macros=None, project_id=None,
90
91
91
92
return export_project (src , project_dir , target , ide , name = name ,
92
93
macros = macros , libraries_paths = lib , zip_proj = zip_name ,
93
- build_profile = build_profile , silent = silent )
94
+ build_profile = build_profile , silent = silent ,
95
+ app_config = app_config )
94
96
95
97
96
98
def main ():
@@ -180,6 +182,9 @@ def main():
180
182
dest = "update_packs" ,
181
183
action = "store_true" ,
182
184
default = False )
185
+ parser .add_argument ("--app-config" ,
186
+ dest = "app_config" ,
187
+ default = None )
183
188
184
189
options = parser .parse_args ()
185
190
@@ -245,7 +250,7 @@ def main():
245
250
export (options .mcu , options .ide , build = options .build ,
246
251
src = options .source_dir , macros = options .macros ,
247
252
project_id = options .program , zip_proj = zip_proj ,
248
- build_profile = profile )
253
+ build_profile = profile , app_config = options . app_config )
249
254
250
255
251
256
if __name__ == "__main__" :
0 commit comments