Skip to content

Commit e29135e

Browse files
committed
Remove special case for RZ-A1H
1 parent 80d47e2 commit e29135e

File tree

3 files changed

+3
-942
lines changed

3 files changed

+3
-942
lines changed

tools/export/iar/__init__.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ class IAR(Exporter):
3232
obj.device_name in IAR_DEFS.keys() and "IAR" in obj.supported_toolchains
3333
and DeviceCMSIS.check_supported(target)]
3434

35-
SPECIAL_TEMPLATES = {
36-
'rz_a1h' : 'iar/iar_rz_a1h.ewp.tmpl'
37-
}
38-
3935
def iar_groups(self, grouped_src):
4036
"""Return a namedtuple of group info
4137
Positional Arguments:
@@ -88,9 +84,6 @@ def format_src(self, srcs):
8884
grouped[group] = [self.format_file(src) for src in files]
8985
return grouped
9086

91-
def get_ewp_template(self):
92-
return self.SPECIAL_TEMPLATES.get(self.target.lower(), 'iar/ewp.tmpl')
93-
9487
def generate(self):
9588
"""Generate the .eww, .ewd, and .ewp files"""
9689
srcs = self.resources.headers + self.resources.s_sources + \
@@ -118,9 +111,9 @@ def generate(self):
118111
}
119112
ctx.update(flags)
120113

121-
self.gen_file('iar/eww.tmpl', ctx, self.project_name+".eww")
114+
self.gen_file('iar/eww.tmpl', ctx, self.project_name + ".eww")
122115
self.gen_file('iar/ewd.tmpl', ctx, self.project_name + ".ewd")
123-
self.gen_file(self.get_ewp_template(), ctx, self.project_name + ".ewp")
116+
self.gen_file('iar/ewp.tmpl', ctx, self.project_name + ".ewp")
124117

125118
@staticmethod
126119
def build(project_name, log_name="build_log.txt", cleanup=True):

tools/export/iar/ewp.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
</option>
163163
<option>
164164
<name>NEON</name>
165-
<state>0</state>
165+
<state>{{device.NEON}}</state>
166166
</option>
167167
<option>
168168
<name>GFPUCoreSlave2</name>

0 commit comments

Comments
 (0)