Skip to content

Commit 3d61535

Browse files
authored
Merge pull request #2149 from jeromecoutant/PR_MBED_A27
Add MBED_A27 test in the common list
2 parents 58d9926 + 9525a5a commit 3d61535

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

libraries/tests/mbed/can_loopback/main.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ CAN can1(P5_9, P5_10);
1717
defined(TARGET_NUCLEO_F042K6) || defined(TARGET_NUCLEO_F334R8) || \
1818
defined(TARGET_NUCLEO_F303RE) || defined(TARGET_NUCLEO_F303K8) || \
1919
defined(TARGET_NUCLEO_F302R8) || defined(TARGET_NUCLEO_F446RE) || \
20-
defined(TARGET_DISCO_F429ZI) || defined(TARGET_NUCLEO_F103RB) || \
20+
defined(TARGET_DISCO_F429ZI) || \
2121
defined(TARGET_NUCLEO_F746ZG) || defined(TARGET_DISCO_L476VG) || \
2222
defined(TARGET_NUCLEO_L476RG) || defined(TARGET_NUCLEO_L432KC)
2323
CAN can1(PA_11, PA_12);
2424
#elif defined(TARGET_DISCO_F469NI) || defined(TARGET_DISCO_F746NG) || \
25+
defined(TARGET_NUCLEO_F446ZE) || \
26+
defined(TARGET_NUCLEO_F103RB) || \
2527
defined(TARGET_NUCLEO_F207ZG)
2628
CAN can1(PB_8, PB_9);
2729
#endif

tools/tests.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,18 @@
327327
"DISCO_F469NI", "DISCO_F429ZI", "NUCLEO_F103RB", "NUCLEO_F746ZG",
328328
"DISCO_F746NG", "DISCO_L476VG", "NUCLEO_L476RG", "NUCLEO_L432KC"]
329329
},
330+
{
331+
"id": "MBED_A28", "description": "CAN loopback test",
332+
"source_dir": join(TEST_DIR, "mbed", "can_loopback"),
333+
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
334+
"automated": True,
335+
"duration": 20,
336+
"mcu": ["B96B_F446VE",
337+
"NUCLEO_F091RC", "NUCLEO_F072RB", "NUCLEO_F042K6", "NUCLEO_F334R8", "NUCLEO_F207ZG",
338+
"NUCLEO_F303RE", "NUCLEO_F303K8", "NUCLEO_F302R8", "NUCLEO_F446RE","NUCLEO_F446ZE",
339+
"DISCO_F469NI", "DISCO_F429ZI", "NUCLEO_F103RB", "NUCLEO_F746ZG",
340+
"DISCO_F746NG", "DISCO_L476VG", "NUCLEO_L476RG", "NUCLEO_L432KC"]
341+
},
330342
{
331343
"id": "MBED_BLINKY", "description": "Blinky",
332344
"source_dir": join(TEST_DIR, "mbed", "blinky"),

0 commit comments

Comments
 (0)