diff --git a/tools/export/iar.py b/tools/export/iar.py index 89ec51351a..16a626a9ba 100644 --- a/tools/export/iar.py +++ b/tools/export/iar.py @@ -72,6 +72,8 @@ class IAREmbeddedWorkbench(Exporter): project_data['tool_specific']['iar'].setdefault("misc", {}) project_data['tool_specific']['iar'].update(tool_specific['iar']) project_data['tool_specific']['iar']['misc'].update(self.progen_flags) + # VLA is enabled via template IccAllowVLA + project_data['tool_specific']['iar']['misc']['c_flags'].remove("--vla") project_data['common']['build_dir'] = os.path.join(project_data['common']['build_dir'], 'iar_arm') self.progen_gen_file('iar_arm', project_data)