Skip to content

Commit 1c6bfd1

Browse files
author
Bogdan Marinescu
committed
Fixes in export templates for NUCLEO_F103RB
1 parent ef164aa commit 1c6bfd1

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

workspace_tools/export/uvision4_nucleo_f103rb.uvopt.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
</Target>
190190

191191
<Group>
192-
<GroupName>{{group}}</GroupName>
192+
<GroupName>src</GroupName>
193193
<tvExp>1</tvExp>
194194
<tvExpOptDlg>0</tvExpOptDlg>
195195
<cbSel>0</cbSel>
@@ -205,8 +205,8 @@
205205
<TopLine>0</TopLine>
206206
<CurrentLine>0</CurrentLine>
207207
<bDave2>0</bDave2>
208-
<PathWithFileName>{{file.path}}</PathWithFileName>
209-
<FilenameWithoutPath>{{file.name}}</FilenameWithoutPath>
208+
<PathWithFileName>main.cpp</PathWithFileName>
209+
<FilenameWithoutPath>main.cpp</FilenameWithoutPath>
210210
<RteFlg>0</RteFlg>
211211
<bShared>0</bShared>
212212
</File>

workspace_tools/export/uvision4_nucleo_f103rb.uvproj.tmpl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,19 +386,21 @@
386386
{% for file in object_files %}
387387
{{file}}
388388
{% endfor %}
389-
</Misc>
389+
</Misc>
390390
<LinkerInputFile></LinkerInputFile>
391391
<DisabledWarnings></DisabledWarnings>
392392
</LDads>
393393
</TargetArmAds>
394394
</TargetOption>
395395
<Groups>
396+
{% for group,files in source_files %}
396397
<Group>
397398
<GroupName>{{group}}</GroupName>
398399
<Files>
400+
{% for file in files %}
399401
<File>
400402
<FileName>{{file.name}}</FileName>
401-
<FileType>0</FileType>
403+
<FileType>{{file.type}}</FileType>
402404
<FilePath>{{file.path}}</FilePath>
403405
<FileOption>
404406
<CommonProperty>
@@ -419,8 +421,10 @@
419421
<FileArmAds/>
420422
</FileOption>
421423
</File>
424+
{% endfor %}
422425
</Files>
423426
</Group>
427+
{% endfor %}
424428
</Groups>
425429
</Target>
426430
</Targets>

0 commit comments

Comments
 (0)