stm32/boards/ARDUINO_NICLA_VISION: Fix CAN pin assignment.

The only STM32H747 pins with CAN function that are also broken out on the
board are PB8 and PB9.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
Angus Gratton
2024-08-13 09:48:11 +10:00
committed by Damien George
parent 21b7bd9f44
commit 05eb1d8e15

View File

@@ -186,8 +186,8 @@ extern struct _spi_bdev_t spi_bdev;
// FDCAN bus
#define MICROPY_HW_CAN1_NAME "FDCAN1"
#define MICROPY_HW_CAN1_TX (pin_A10)
#define MICROPY_HW_CAN1_RX (pin_A9)
#define MICROPY_HW_CAN1_TX (pin_B9)
#define MICROPY_HW_CAN1_RX (pin_B8)
#define MICROPY_HW_CAN_IS_RESERVED(id) (id != PYB_CAN_1)
// LEDs