File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1092,6 +1092,8 @@ def __init__(self, n):
1092
1092
def is_supported (self , target , toolchain ):
1093
1093
if hasattr (self , 'mcu' ) and not target in self .mcu :
1094
1094
return False
1095
+ if hasattr (self , 'exclude_mcu' ) and target in self .exclude_mcu :
1096
+ return False
1095
1097
if not hasattr (self , 'supported' ):
1096
1098
return True
1097
1099
return (target in self .supported ) and (toolchain in self .supported [target ])
@@ -1111,6 +1113,7 @@ def __str__(self):
1111
1113
def __getitem__ (self , key ):
1112
1114
if key == "id" : return self .id
1113
1115
elif key == "mcu" : return self .mcu
1116
+ elif key == "exclude_mcu" : return self .exclude_mcu
1114
1117
elif key == "dependencies" : return self .dependencies
1115
1118
elif key == "description" : return self .description
1116
1119
elif key == "duration" : return self .duration
You can’t perform that action at this time.
0 commit comments