File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 48
48
default = False ,
49
49
help = "clean the export directory" )
50
50
51
- group = parser .add_mutually_exclusive_group (required = True )
51
+ group = parser .add_mutually_exclusive_group (required = False )
52
52
group .add_argument ("-p" ,
53
53
type = test_known ,
54
54
dest = "program" ,
83
83
default = False ,
84
84
help = "writes tools/export/README.md" )
85
85
86
- group .add_argument ("--source" ,
86
+ parser .add_argument ("--source" ,
87
87
nargs = "*" ,
88
88
type = argparse_filestring_type ,
89
89
dest = "source_dir" ,
144
144
if src :
145
145
# --source is used to generate IDE files to toolchain directly in the source tree and doesn't generate zip file
146
146
project_dir = options .source_dir
147
- project_name = TESTS [p ]
147
+ project_name = TESTS [p ] if p else "Unnamed_project"
148
148
project_temp = path .join (options .source_dir [0 ], 'projectfiles' , '%s_%s' % (ide , mcu ))
149
149
mkdir (project_temp )
150
150
lib_symbols = []
You can’t perform that action at this time.
0 commit comments