Exporters IAR - fix template path

pull/1557/head
Martin Kojtal 2016-02-23 17:28:33 +00:00
parent 36fe6a0b74
commit 31f74b8e45
1 changed files with 2 additions and 1 deletions

View File

@ -56,9 +56,10 @@ class IAREmbeddedWorkbench(Exporter):
'c_flags': ['--diag_suppress=Pa050,Pa084,Pa093,Pa082'],
'ld_flags': ['--skip_dynamic_initialization'],
},
'template': ['workspace_tools/export/iar_template.ewp.tmpl'],
'template': [os.path.join(os.path.dirname(__file__), 'iar_template.ewp.tmpl')],
}
}
# print tool_specific['iar']['template']
project_data['tool_specific'] = {}
project_data['tool_specific'].update(tool_specific)
self.progen_gen_file('iar_arm', project_data)