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.
2 parents 1b94d5a + 6b8dd7b commit 12e6f8aCopy full SHA for 12e6f8a
tools/export/iar/__init__.py
@@ -114,7 +114,7 @@ def generate(self):
114
template = ["--vla", "--no_static_destruction"]
115
# Flag invalid if set in template
116
# Optimizations are also set in template
117
- invalid_flag = lambda x: x in template or re.match("-O(\d|time|n)", x)
+ invalid_flag = lambda x: x in template or re.match("-O(\d|time|n|hz?)", x)
118
flags['c_flags'] = [flag for flag in c_flags if not invalid_flag(flag)]
119
120
try:
0 commit comments