Skip to content

Commit 5ea1953

Browse files
authored
Merge pull request #2045 from 0xc0170/fix_iar_vla
iar - remove --vla flag for exporters
2 parents 5534f34 + d2a216f commit 5ea1953

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/export/iar.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ def generate(self):
7272
project_data['tool_specific']['iar'].setdefault("misc", {})
7373
project_data['tool_specific']['iar'].update(tool_specific['iar'])
7474
project_data['tool_specific']['iar']['misc'].update(self.progen_flags)
75+
# VLA is enabled via template IccAllowVLA
76+
project_data['tool_specific']['iar']['misc']['c_flags'].remove("--vla")
7577
project_data['common']['build_dir'] = os.path.join(project_data['common']['build_dir'], 'iar_arm')
7678
self.progen_gen_file('iar_arm', project_data)
7779

0 commit comments

Comments
 (0)