circuitpython/ports/stm32/boards/STM32F769DISC/pins.csv
Damien George a7ebac2eae stm32/can: Allow CAN pins to be configured per board.
This patch allows a given board to configure which pins are used for the
CAN peripherals, in a similar way to all the other bus peripherals (I2C,
UART, SPI).  To enable CAN on a board the mpconfigboard.h file should
define (for example):

    #define MICROPY_HW_CAN1_TX (pin_B9)
    #define MICROPY_HW_CAN1_RX (pin_B8)
    #define MICROPY_HW_CAN2_TX (pin_B13)
    #define MICROPY_HW_CAN2_RX (pin_B12)

And the board config file should no longer define MICROPY_HW_ENABLE_CAN.
2018-04-11 16:35:24 +10:00

624 B

1A0PA0
2A1PF10
3A2PF9
4A3PF8
5A4PF7
6A5PF6
7D0PC7
8D1PC6
9D2PG6
10D3PB4
11D4PG7
12D5PA8
13D6PH6
14D7PI3
15D8PI2
16D9PA15
17D10PI0
18D11PB15
19D12PB14
20D13PI1
21D14PB9
22D15PB8
23LED1PJ13
24LED2PJ5
25LED3PA12
26SWPI11
27TP1PH2
28TP2PI8
29TP3PH15
30AUDIO_INTPD6
31AUDIO_SDAPH8
32AUDIO_SCLPH7
33EXT_SDAPB9
34EXT_SCLPB8
35EXT_RSTPG3
36SD_D0PG9
37SD_D1PG10
38SD_D2PB3
39SD_D3PB4
40SD_CKPD6
41SD_CMDPD7
42SD_SWPI15
43LCD_BL_CTRLPK3
44LCD_INTPI13
45LCD_SDAPH8
46LCD_SCLPH7
47OTG_FS_POWERPD5
48OTG_FS_OVER_CURRENTPD4
49OTG_HS_OVER_CURRENTPE3
50USB_VBUSPJ12
51USB_IDPA8
52USB_DMPA11
53USB_DPPA12
54UART1_TXPA9
55UART1_RXPA10
56UART5_TXPC12
57UART5_RXPD2
58CAN2_TXPB13
59CAN2_RXPB12