Skip to content

Commit 45d4233

Browse files
committed
DISCO_F413ZH: add terget.json, build_travis.py and test.py changes
1 parent 5e3350c commit 45d4233

File tree

3 files changed

+33
-7
lines changed

3 files changed

+33
-7
lines changed

targets/targets.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -903,6 +903,19 @@
903903
"release_versions": ["2", "5"],
904904
"device_name": "STM32F412ZG"
905905
},
906+
"DISCO_F413ZH": {
907+
"supported_form_factors": ["ARDUINO"],
908+
"core": "Cortex-M4F",
909+
"default_toolchain": "ARM",
910+
"extra_labels": ["STM", "STM32F4", "STM32F413xx", "STM32F413ZH", "STM32F413xH"],
911+
"supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"],
912+
"inherits": ["Target"],
913+
"detect_code": ["0743"],
914+
"macros": ["TRANSACTION_QUEUE_SIZE_SPI=2", "USB_STM_HAL", "USBHOST_OTHER"],
915+
"device_has": ["ANALOGIN", "CAN", "ERROR_RED", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES", "TRNG"],
916+
"release_versions": ["2", "5"],
917+
"device_name": "STM32F413ZH"
918+
},
906919
"ELMO_F411RE": {
907920
"supported_form_factors": ["ARDUINO"],
908921
"core": "Cortex-M4F",

tools/build_travis.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666

6767
{ "target": "MOTE_L152RC", "toolchains": "GCC_ARM", "libs": ["dsp"] },
6868

69-
{ "target": "ELMO_F411RE", "toolchains": "GCC_ARM", "libs": ["dsp"] },
69+
{ "target": "ELMO_F411RE", "toolchains": "GCC_ARM", "libs": ["dsp"] },
7070

7171
{ "target": "MTS_MDOT_F405RG", "toolchains": "GCC_ARM", "libs": ["dsp"] },
7272
{ "target": "MTS_MDOT_F411RE", "toolchains": "GCC_ARM", "libs": ["dsp"] },
@@ -77,7 +77,9 @@
7777
{ "target": "DISCO_F303VC", "toolchains": "GCC_ARM", "libs": ["dsp"] },
7878
{ "target": "DISCO_F334C8", "toolchains": "GCC_ARM", "libs": ["dsp"] },
7979
{ "target": "DISCO_F401VC", "toolchains": "GCC_ARM", "libs": ["dsp"] },
80+
8081
{ "target": "DISCO_F407VG", "toolchains": "GCC_ARM", "libs": ["dsp", "usb"] },
82+
{ "target": "DISCO_F413ZH", "toolchians": "GCC_ARM", "libs": ["dsp", "usb"]},
8183
{ "target": "DISCO_F429ZI", "toolchains": "GCC_ARM", "libs": ["dsp"] },
8284
{ "target": "DISCO_F469NI", "toolchains": "GCC_ARM", "libs": ["dsp"] },
8385
{ "target": "DISCO_F746NG", "toolchains": "GCC_ARM", "libs": ["dsp"] },
@@ -227,6 +229,12 @@
227229
"usb" : ["USB_1", "USB_2" ,"USB_3"],
228230
}
229231
},
232+
{"target": "DISCO_F413ZH",
233+
"toolchains": "GCC_ARM",
234+
"tests": {"" : ["MBED_2", "MBED_10", "MBED_11", "MBED_16"],
235+
"rtos" : ["RTOS_1", "RTOS_2", "RTOS_3"],
236+
}
237+
},
230238
{"target": "NUCLEO_F303ZE",
231239
"toolchains": "GCC_ARM",
232240
"tests": {"" : ["MBED_2", "MBED_10", "MBED_11", "MBED_16"],

tools/tests.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,9 @@
318318
"NUCLEO_F091RC", "NUCLEO_F072RB", "NUCLEO_F042K6", "NUCLEO_F334R8", "NUCLEO_F207ZG",
319319
"NUCLEO_F303RE", "NUCLEO_F303K8", "NUCLEO_F302R8", "NUCLEO_F446RE","NUCLEO_F446ZE",
320320
"DISCO_F469NI", "DISCO_F429ZI", "NUCLEO_F103RB", "NUCLEO_F746ZG",
321-
"DISCO_F746NG", "DISCO_L475VG_IOT01A", "DISCO_L476VG", "NUCLEO_L476RG", "NUCLEO_L432KC",
322-
"DISCO_F769NI", "NUCLEO_F767ZI", "DISCO_F303VC", "NUCLEO_F412ZG"]
321+
"DISCO_F746NG", "DISCO_L476VG", "NUCLEO_L476RG", "NUCLEO_L432KC",
322+
"DISCO_F769NI", "NUCLEO_F767ZI", "DISCO_F303VC", "NUCLEO_F412ZG",
323+
"DISCO_F413ZH"]
323324
},
324325
{
325326
"id": "MBED_A28", "description": "CAN loopback test",
@@ -330,8 +331,10 @@
330331
"NUCLEO_F091RC", "NUCLEO_F072RB", "NUCLEO_F042K6", "NUCLEO_F334R8", "NUCLEO_F207ZG",
331332
"NUCLEO_F303RE", "NUCLEO_F303K8", "NUCLEO_F302R8", "NUCLEO_F303ZE", "NUCLEO_F446RE","NUCLEO_F446ZE",
332333
"DISCO_F469NI", "DISCO_F429ZI", "NUCLEO_F103RB", "NUCLEO_F746ZG",
333-
"DISCO_F746NG", "DISCO_L475VG_IOT01A", "DISCO_L476VG", "NUCLEO_L476RG", "NUCLEO_L432KC",
334-
"DISCO_F769NI", "NUCLEO_F767ZI", "DISCO_F303VC", "NUCLEO_F412ZG"]
334+
335+
"DISCO_F746NG", "DISCO_L476VG", "NUCLEO_L476RG", "NUCLEO_L432KC",
336+
"DISCO_F769NI", "NUCLEO_F767ZI", "DISCO_F303VC", "NUCLEO_F412ZG",
337+
"DISCO_F413ZH"]
335338
},
336339
{
337340
"id": "MBED_A29", "description": "i2c_master_slave_asynch",
@@ -585,7 +588,8 @@
585588
"NUCLEO_F072RB", "NUCLEO_F042K6", "NUCLEO_F334R8", "NUCLEO_F303RE",
586589
"NUCLEO_F303K8", "NUCLEO_F302R8", "NUCLEO_F446RE","NUCLEO_F446ZE", "DISCO_F469NI", "NUCLEO_F207ZG",
587590
"DISCO_F429ZI", "NUCLEO_F103RB", "NUCLEO_F746ZG", "DISCO_F746NG",
588-
"NUCLEO_L476RG", "NUCLEO_L432KC", "DISCO_F303VC", "NUCLEO_F412ZG"]
591+
"NUCLEO_L476RG", "NUCLEO_L432KC", "DISCO_F303VC", "NUCLEO_F412ZG",
592+
"DISCO_F413ZH"]
589593
},
590594
{
591595
"id": "MBED_30", "description": "CAN network test using interrupts",
@@ -595,7 +599,8 @@
595599
"NUCLEO_F072RB", "NUCLEO_F042K6", "NUCLEO_F334R8", "NUCLEO_F303RE",
596600
"NUCLEO_F303K8", "NUCLEO_F302R8", "NUCLEO_F446RE", "NUCLEO_F446ZE", "DISCO_F469NI",
597601
"DISCO_F429ZI", "NUCLEO_F103RB", "NUCLEO_F746ZG", "DISCO_F746NG",
598-
"NUCLEO_L476RG", "NUCLEO_L432KC", "DISCO_F303VC", "NUCLEO_F412ZG"]
602+
"NUCLEO_L476RG", "NUCLEO_L432KC", "DISCO_F303VC", "NUCLEO_F412ZG",
603+
"DISCO_F413ZH"]
599604
},
600605
{
601606
"id": "MBED_31", "description": "PWM LED test",

0 commit comments

Comments
 (0)