We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 965ffc3 commit 3873cccCopy full SHA for 3873ccc
tools/export/iar.py
@@ -78,6 +78,8 @@ def generate(self, progen_build=False):
78
project_data['tool_specific']['iar']['misc'].update(self.progen_flags)
79
project_data['tool_specific']['iar']['misc']['asm_flags'].remove(
80
self.toolchain.get_config_option(self.config_header)[0])
81
+ project_data['tool_specific']['iar']['misc']['asm_flags'].extend(
82
+ ['-D%s' % d for d in self.toolchain.get_symbols()])
83
# VLA is enabled via template IccAllowVLA
84
project_data['tool_specific']['iar']['misc']['c_flags'].remove("--vla")
85
project_data['common']['build_dir'] = os.path.join(project_data['common']['build_dir'], 'iar_arm')
0 commit comments