mirror of https://github.com/ARMmbed/mbed-os.git
Add -D options to iar assembler on export
parent
965ffc3e28
commit
3873ccc232
|
@ -78,6 +78,8 @@ class IAREmbeddedWorkbench(Exporter):
|
|||
project_data['tool_specific']['iar']['misc'].update(self.progen_flags)
|
||||
project_data['tool_specific']['iar']['misc']['asm_flags'].remove(
|
||||
self.toolchain.get_config_option(self.config_header)[0])
|
||||
project_data['tool_specific']['iar']['misc']['asm_flags'].extend(
|
||||
['-D%s' % d for d in self.toolchain.get_symbols()])
|
||||
# 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')
|
||||
|
|
Loading…
Reference in New Issue