Skip to content

Commit 2727c94

Browse files
committed
Exporters IAR - use template from older mbed templates
1 parent 31f74b8 commit 2727c94

File tree

2 files changed

+121
-477
lines changed

2 files changed

+121
-477
lines changed

workspace_tools/export/iar.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ def generate(self):
5151
# by the mbed projects
5252
tool_specific = {
5353
'iar': {
54-
'misc': {
55-
'cxx_flags': ['--no_rtti', '--no_exceptions'],
56-
'c_flags': ['--diag_suppress=Pa050,Pa084,Pa093,Pa082'],
57-
'ld_flags': ['--skip_dynamic_initialization'],
58-
},
54+
# We currently don't use misc, template sets those for us
55+
# 'misc': {
56+
# 'cxx_flags': ['--no_rtti', '--no_exceptions'],
57+
# 'c_flags': ['--diag_suppress=Pa050,Pa084,Pa093,Pa082'],
58+
# 'ld_flags': ['--skip_dynamic_initialization'],
59+
# },
5960
'template': [os.path.join(os.path.dirname(__file__), 'iar_template.ewp.tmpl')],
6061
}
6162
}
62-
# print tool_specific['iar']['template']
6363
project_data['tool_specific'] = {}
6464
project_data['tool_specific'].update(tool_specific)
6565
self.progen_gen_file('iar_arm', project_data)

0 commit comments

Comments
 (0)