Skip to content

Commit ec0e403

Browse files
AlessandroAmeriac
authored andcommitted
Fix check on UVISOR_PRESENT=1 macro
1 parent 5828ebd commit ec0e403

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)