Skip to content

Commit 6710e79

Browse files
committed
fixed is_target_supported()
path for checking the templates was not independent
1 parent e2fd0ea commit 6710e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/export/mcuxpresso/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class MCUXpresso(GNUARMEclipse):
7070
@classmethod
7171
def is_target_supported(cls, target_name):
7272
# targes suppoerted when .cproject templatefile exists
73-
if exists('./export/mcuxpresso/' + target_name + '_cproject.tmpl'):
73+
if exists(cls.TEMPLATE_DIR + '/mcuxpresso/' + target_name + '_cproject.tmpl'):
7474
target = TARGET_MAP[target_name]
7575
return apply_supported_whitelist(
7676
cls.TOOLCHAIN, POST_BINARY_WHITELIST, target)

0 commit comments

Comments
 (0)