@@ -69,17 +69,37 @@ def get_labels(self):
69
69
70
70
def init_hooks (self , hook , toolchain_name ):
71
71
pass
72
- ##WIZnet
72
+
73
+
74
+ ### MCU Support ###
73
75
74
- class WIZwiki_W7500 (Target ):
76
+ class CM4_UARM (Target ):
75
77
def __init__ (self ):
76
78
Target .__init__ (self )
77
- self .core = "Cortex-M0"
78
- self .extra_labels = ['WIZNET' , 'W7500x' , 'WIZwiki_W7500' ]
79
- self .supported_toolchains = ["uARM" , "ARM" ]
79
+ self .core = "Cortex-M4"
80
+ self .supported_toolchains = ["uARM" ]
81
+ self .default_toolchain = "uARM"
82
+
83
+ class CM4_ARM (Target ):
84
+ def __init__ (self ):
85
+ Target .__init__ (self )
86
+ self .core = "Cortex-M4"
87
+ self .supported_toolchains = ["ARM" ]
80
88
self .default_toolchain = "ARM"
81
- self .supported_form_factors = ["ARDUINO" ]
89
+
90
+ class CM4F_UARM (Target ):
91
+ def __init__ (self ):
92
+ Target .__init__ (self )
93
+ self .core = "Cortex-M4F"
94
+ self .supported_toolchains = ["uARM" ]
95
+ self .default_toolchain = "uARM"
82
96
97
+ class CM4F_ARM (Target ):
98
+ def __init__ (self ):
99
+ Target .__init__ (self )
100
+ self .core = "Cortex-M4F"
101
+ self .supported_toolchains = ["ARM" ]
102
+ self .default_toolchain = "ARM"
83
103
84
104
85
105
### NXP ###
@@ -1250,19 +1270,29 @@ def __init__(self):
1250
1270
self .supported_toolchains = ["GCC_ARM" , "uARM" ]
1251
1271
self .default_toolchain = "uARM"
1252
1272
1273
+
1274
+ ##WIZnet
1275
+
1276
+ class WIZwiki_W7500 (Target ):
1277
+ def __init__ (self ):
1278
+ Target .__init__ (self )
1279
+ self .core = "Cortex-M0"
1280
+ self .extra_labels = ['WIZNET' , 'W7500x' , 'WIZwiki_W7500' ]
1281
+ self .supported_toolchains = ["uARM" , "ARM" ]
1282
+ self .default_toolchain = "ARM"
1283
+ self .supported_form_factors = ["ARDUINO" ]
1284
+
1285
+
1253
1286
# Get a single instance for each target
1254
1287
TARGETS = [
1255
1288
1256
- ### WIZnet ###
1257
- WIZwiki_W7500 (),
1258
-
1259
1289
### NXP ###
1260
1290
LPC11C24 (),
1261
1291
LPC11U24 (),
1262
1292
OC_MBUINO (), # LPC11U24
1263
1293
LPC11U24_301 (),
1264
1294
LPC11U34_421 (),
1265
- APPNEARME_MICRONFCBOARD (), #LPC11U34_421
1295
+ APPNEARME_MICRONFCBOARD (), # LPC11U34_421
1266
1296
LPC11U35_401 (),
1267
1297
LPC11U35_501 (),
1268
1298
XADOW_M0 (), # LPC11U35_501
@@ -1377,6 +1407,10 @@ def __init__(self):
1377
1407
EFM32WG_STK3800 (),
1378
1408
EFM32ZG_STK3200 (),
1379
1409
EFM32HG_STK3400 (),
1410
+
1411
+ ### WIZnet ###
1412
+ WIZwiki_W7500 (),
1413
+
1380
1414
]
1381
1415
1382
1416
# Map each target name to its unique instance
0 commit comments