@@ -31,10 +31,6 @@ class IAR(Exporter):
31
31
if hasattr (obj , 'device_name' ) and
32
32
obj .device_name in IAR_DEFS .keys () and "IAR" in obj .supported_toolchains ]
33
33
34
- SPECIAL_TEMPLATES = {
35
- 'rz_a1h' : 'iar/iar_rz_a1h.ewp.tmpl'
36
- }
37
-
38
34
def iar_groups (self , grouped_src ):
39
35
"""Return a namedtuple of group info
40
36
Positional Arguments:
@@ -87,9 +83,6 @@ def format_src(self, srcs):
87
83
grouped [group ] = [self .format_file (src ) for src in files ]
88
84
return grouped
89
85
90
- def get_ewp_template (self ):
91
- return self .SPECIAL_TEMPLATES .get (self .target .lower (), 'iar/ewp.tmpl' )
92
-
93
86
def generate (self ):
94
87
"""Generate the .eww, .ewd, and .ewp files"""
95
88
srcs = self .resources .headers + self .resources .s_sources + \
@@ -123,9 +116,9 @@ def generate(self):
123
116
}
124
117
ctx .update (flags )
125
118
126
- self .gen_file ('iar/eww.tmpl' , ctx , self .project_name + ".eww" )
119
+ self .gen_file ('iar/eww.tmpl' , ctx , self .project_name + ".eww" )
127
120
self .gen_file ('iar/ewd.tmpl' , ctx , self .project_name + ".ewd" )
128
- self .gen_file (self . get_ewp_template () , ctx , self .project_name + ".ewp" )
121
+ self .gen_file ('iar/ewp.tmpl' , ctx , self .project_name + ".ewp" )
129
122
130
123
@staticmethod
131
124
def build (project_name , log_name = "build_log.txt" , cleanup = True ):
0 commit comments