Skip to content

Commit 31f74b8

Browse files
committed
Exporters IAR - fix template path
1 parent 36fe6a0 commit 31f74b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

workspace_tools/export/iar.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ def generate(self):
5656
'c_flags': ['--diag_suppress=Pa050,Pa084,Pa093,Pa082'],
5757
'ld_flags': ['--skip_dynamic_initialization'],
5858
},
59-
'template': ['workspace_tools/export/iar_template.ewp.tmpl'],
59+
'template': [os.path.join(os.path.dirname(__file__), 'iar_template.ewp.tmpl')],
6060
}
6161
}
62+
# print tool_specific['iar']['template']
6263
project_data['tool_specific'] = {}
6364
project_data['tool_specific'].update(tool_specific)
6465
self.progen_gen_file('iar_arm', project_data)

0 commit comments

Comments
 (0)