Skip to content

Commit 76f6374

Browse files
committed
Merge pull request #42 from meriac/mainline
Fix check on UVISOR_PRESENT=1 macro
2 parents b37d50e + ec0e403 commit 76f6374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def __init__(self, target, options=None, notify=None, macros=None, silent=False,
217217

218218
self.mp_pool = None
219219

220-
if 'UVISOR_PRESENT' in self.macros:
220+
if 'UVISOR_PRESENT=1' in self.macros:
221221
self.target.core = re.sub(r"F$", '', self.target.core)
222222

223223
def get_output(self):

0 commit comments

Comments
 (0)