boards: arm: nucleo_f446re: use can2 instance for testing

Choose can2 as the zephyr,canbus instance and add necessary settings
for testing of the STM32 dual CAN driver implementation.

Signed-off-by: Martin Jäger <martin@libre.solar>
This commit is contained in:
Martin Jäger 2022-06-17 13:44:16 +02:00 committed by Carles Cufí
parent 1bd9e366be
commit ac47200150

View file

@ -18,7 +18,7 @@
zephyr,shell-uart = &usart2;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,canbus = &can1;
zephyr,canbus = &can2;
};
leds {
@ -124,6 +124,13 @@
status = "okay";
};
&can2 {
pinctrl-0 = <&can2_rx_pb12 &can2_tx_pb13>;
pinctrl-names = "default";
bus-speed = <125000>;
status = "okay";
};
&flash0 {
partitions {