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 0924d66 commit a6c85eeCopy full SHA for a6c85ee
tools/export/uvision/__init__.py
@@ -175,7 +175,8 @@ def format_flags(self):
175
flags = copy.deepcopy(self.flags)
176
asm_flag_string = (
177
'--cpreproc --cpreproc_opts=-D__ASSERT_MSG,' +
178
- ",".join(filter(lambda f: f.startswith("-D"), flags['asm_flags'])))
+ ",".join("-D{}".format(s) for s in
179
+ self.toolchain.get_symbols(for_asm=True)))
180
flags['asm_flags'] = asm_flag_string
181
182
config_header = self.config_header_ref
0 commit comments