File tree 4 files changed +10
-8
lines changed
4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ def build_outputs(self):
257
257
if self .options .enable_link_map_file :
258
258
extensions .append ("map" )
259
259
for ext in extensions :
260
- name = f"{ self .app .AppNamePrefix () } .{ ext } "
260
+ name = f"{ self .app .AppNamePrefix } .{ ext } "
261
261
yield BuilderOutput (os .path .join (self .output_dir , name ), name )
262
262
263
263
def bundle_outputs (self ):
Original file line number Diff line number Diff line change @@ -111,6 +111,6 @@ def build_outputs(self):
111
111
yield BuilderOutput (os .path .join (self .output_dir , name ), name )
112
112
113
113
def bundle_outputs (self ):
114
- with open (os .path .join (self .output_dir , self .app .FlashBundleName )) as f :
114
+ with open (os .path .join (self .output_dir , self .app .FlashBundleName () )) as f :
115
115
for line in filter (None , [x .strip () for x in f .readlines ()]):
116
116
yield BuilderOutput (os .path .join (self .output_dir , line ), line )
Original file line number Diff line number Diff line change @@ -243,6 +243,6 @@ def build_outputs(self):
243
243
def bundle_outputs (self ):
244
244
if self .app == NrfApp .UNIT_TESTS :
245
245
return
246
- with open (os .path .join (self .output_dir , self .app .FlashBundleName )) as f :
246
+ with open (os .path .join (self .output_dir , self .app .FlashBundleName () )) as f :
247
247
for line in filter (None , [x .strip () for x in f .readlines ()]):
248
248
yield BuilderOutput (os .path .join (self .output_dir , line ), line )
Original file line number Diff line number Diff line change @@ -129,9 +129,11 @@ def generate(self):
129
129
super (NxpBuilder , self ).generate ()
130
130
131
131
def build_outputs (self ):
132
- extensions = ["elf" ]
132
+ name = 'chip-%s-%s' % (self .board .Name (), self .app .NameSuffix ())
133
+ yield BuilderOutput (
134
+ os .path .join (self .output_dir , name ),
135
+ f'{ name } .elf' )
133
136
if self .options .enable_link_map_file :
134
- extensions .append ("map" )
135
- for ext in extensions :
136
- name = f"chip-{ self .board .Name ()} -{ self .app .NameSuffix ()} .{ ext } "
137
- yield BuilderOutput (os .path .join (self .output_dir , name ), name )
137
+ yield BuilderOutput (
138
+ os .path .join (self .output_dir , f'{ name } .map' ),
139
+ f'{ name } .map' )
You can’t perform that action at this time.
0 commit comments