Skip to content

Commit 4364633

Browse files
bcostmarostm
authored andcommitted
DISCO_F413ZH: Add this board in mbedOS2 CAN tests
1 parent a89c0ab commit 4364633

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

features/unsupported/tests/mbed/can/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ CAN can1(PD_0, PD_1);
2020
defined(TARGET_NUCLEO_F302R8) || defined(TARGET_NUCLEO_F446RE) || \
2121
defined(TARGET_DISCO_F429ZI) || defined(TARGET_NUCLEO_F103RB) || \
2222
defined(TARGET_NUCLEO_F746ZG) || defined(TARGET_NUCLEO_L476RG) || \
23-
defined(TARGET_NUCLEO_F412ZG) || \
23+
defined(TARGET_NUCLEO_F412ZG) || defined(TARGET_DISCO_F413ZH) || \
2424
defined(TARGET_NUCLEO_L432KC) || defined(TARGET_DISCO_F303VC)
2525
CAN can1(PA_11, PA_12);
2626
#elif defined(TARGET_DISCO_F469NI) ||defined(TARGET_DISCO_F746NG)
@@ -35,7 +35,7 @@ CAN can2(p34, p33);
3535
CAN can2(p30, p29);
3636
#elif defined(TARGET_NUCLEO_F446RE) || defined(TARGET_DISCO_F469NI) || \
3737
defined(TARGET_DISCO_F429ZI) || defined(TARGET_NUCLEO_F746ZG) || \
38-
defined(TARGET_NUCLEO_F412ZG) || \
38+
defined(TARGET_NUCLEO_F412ZG) || defined(TARGET_DISCO_F413ZH) || \
3939
defined(TARGET_DISCO_F746NG)
4040
CAN can2(PB_5, PB_6);
4141
#endif

features/unsupported/tests/mbed/can_interrupt/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ CAN can1(PD_0, PD_1);
2020
defined(TARGET_NUCLEO_F302R8) || defined(TARGET_NUCLEO_F446RE) || \
2121
defined(TARGET_DISCO_F429ZI) || defined(TARGET_NUCLEO_F103RB) || \
2222
defined(TARGET_NUCLEO_F746ZG) || defined(TARGET_NUCLEO_L476RG) || \
23-
defined(TARGET_NUCLEO_F412ZG) || \
23+
defined(TARGET_NUCLEO_F412ZG) || defined(TARGET_DISCO_F413ZH) || \
2424
defined(TARGET_NUCLEO_L432KC) || defined(TARGET_DISCO_F303VC)
2525
CAN can1(PA_11, PA_12);
2626
#elif defined(TARGET_DISCO_F469NI) || defined(TARGET_DISCO_F746NG)
@@ -35,7 +35,7 @@ CAN can2(p34, p33);
3535
CAN can2(p30, p29);
3636
#elif defined(TARGET_NUCLEO_F446RE) || defined(TARGET_DISCO_F469NI) || \
3737
defined(TARGET_DISCO_F429ZI) || defined(TARGET_NUCLEO_F746ZG) || \
38-
defined(TARGET_NUCLEO_F412ZG) || \
38+
defined(TARGET_NUCLEO_F412ZG) || defined(TARGET_DISCO_F413ZH) || \
3939
defined(TARGET_DISCO_F746NG)
4040
CAN can2(PB_5, PB_6);
4141
#endif

features/unsupported/tests/mbed/can_loopback/main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,13 @@ CAN can1(P5_9, P5_10);
1919
defined(TARGET_NUCLEO_F302R8) || defined(TARGET_NUCLEO_F446RE) || \
2020
defined(TARGET_DISCO_F429ZI) || \
2121
defined(TARGET_NUCLEO_F746ZG) || defined(TARGET_DISCO_L476VG) || defined(TARGET_DISCO_L475VG_IOT01A) || \
22-
defined(TARGET_NUCLEO_F412ZG) || \
22+
defined(TARGET_NUCLEO_F412ZG) || defined(TARGET_DISCO_F413ZH) || \
2323
defined(TARGET_NUCLEO_L476RG) || defined(TARGET_NUCLEO_L432KC)
2424
CAN can1(PA_11, PA_12);
2525
#elif defined(TARGET_DISCO_F469NI) || defined(TARGET_DISCO_F746NG) || \
2626
defined(TARGET_NUCLEO_F446ZE) || defined(TARGET_NUCLEO_F103RB) || \
2727
defined(TARGET_NUCLEO_F207ZG) || defined(TARGET_NUCLEO_F303ZE) || \
2828
defined(TARGET_DISCO_F769NI) || defined(TARGET_NUCLEO_F767ZI) || \
29-
defined(TARGET_NUCLEO_F412ZG) || \
3029
defined(TARGET_DISCO_F303VC)
3130
CAN can1(PB_8, PB_9);
3231
#endif

0 commit comments

Comments
 (0)