File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ def format_flags(self):
181
181
def format_src (self , srcs ):
182
182
"""Make sources into the named tuple for use in the template"""
183
183
grouped = self .group_project_files (srcs )
184
- for group , files in grouped .items ():
184
+ for group , files in sorted ( grouped .items () ):
185
185
grouped [group ] = self .uv_files (files )
186
186
return grouped
187
187
@@ -198,7 +198,7 @@ def generate(self):
198
198
'name' : self .project_name ,
199
199
# project_files => dict of generators - file group to generator of
200
200
# UVFile tuples defined above
201
- 'project_files' : self .format_src (srcs ),
201
+ 'project_files' : sorted ( list ( self .format_src (srcs ). iteritems ()) ),
202
202
'linker_script' :self .resources .linker_script ,
203
203
'include_paths' : '; ' .join (self .resources .inc_dirs ).encode ('utf-8' ),
204
204
'device' : DeviceUvision (self .target ),
Original file line number Diff line number Diff line change 417
417
</TargetArmAds >
418
418
</TargetOption >
419
419
<Groups >
420
- {% for group, files in project_files.iteritems() %}
420
+ {% for group, files in project_files %}
421
421
<Group >
422
422
<GroupName >{{group}}</GroupName >
423
423
<Files >
You can’t perform that action at this time.
0 commit comments