File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -419,8 +419,8 @@ def target_supports_toolchain(target, toolchain_name):
419419 if (toolchain_name == "ARM" ):
420420 #we cant find ARM, see if one ARMC5, ARMC6 or uARM listed
421421 return any (tc in target .supported_toolchains for tc in ("ARMC5" ,"ARMC6" ,"uARM" ))
422- if (toolchain_name == "ARMC6" ):
423- #we did not find ARMC6, but check for ARM is listed
422+ if (toolchain_name == "ARMC6" or toolchain_name == "ARMC5" ):
423+ #we did not find ARMC6 or ARMC5 , but check if ARM is listed
424424 return "ARM" in target .supported_toolchains
425425 #return False in other cases
426426 return False
Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ def __init__(
400400 if int (target .build_tools_metadata ["version" ]) > 0 :
401401 #check only for ARMC5 because ARM_STD means using ARMC5, and thus
402402 # supported_toolchains must include ARMC5
403- if "ARMC5" not in target .supported_toolchains :
403+ if not set ( target .supported_toolchains ). intersection ( set (( "ARMC5" , "ARM" ))) :
404404 raise NotSupportedException (
405405 "ARM compiler 5 support is required for ARM build"
406406 )
You can’t perform that action at this time.
0 commit comments