summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2024-08-13 09:48:11 +1000
committerDamien George <damien@micropython.org>2025-01-17 13:17:28 +1100
commit05eb1d8e1535b310712a532c254e28161694a9b9 (patch)
tree5f9fce674fec9a1b994a2045106872e5d571d77b
parent21b7bd9f44a1e9dff2881b8aa1c72f400d3c7c39 (diff)
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>
-rw-r--r--ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h b/ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h
index 7bb75091e..c845bc91f 100644
--- a/ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h
+++ b/ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h
@@ -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