micropython/ports/stm32/boards/STM32F7DISC/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

572 B

1A0PA0
2A1PF10
3A2PF9
4A3PF8
5A4PF7
6A5PF6
7D0PC7
8D1PC6
9D2PG6
10D3PB4
11D4PG7
12D5PA8
13D6PH6
14D7PI3
15D8PI2
16D9PA15
17D10PI0
18D11PB15
19D12PB14
20D13PI1
21D14PB9
22D15PB8
23LEDPI1
24SWPI11
25TP1PH2
26TP2PI8
27TP3PH15
28AUDIO_INTPD6
29AUDIO_SDAPH8
30AUDIO_SCLPH7
31EXT_SDAPB9
32EXT_SCLPB8
33EXT_RSTPG3
34SD_D0PC8
35SD_D1PC9
36SD_D2PC10
37SD_D3PC11
38SD_CKPC12
39SD_CMDPD2
40SD_SWPC13
41LCD_BL_CTRLPK3
42LCD_INTPI13
43LCD_SDAPH8
44LCD_SCLPH7
45OTG_FS_POWERPD5
46OTG_FS_OVER_CURRENTPD4
47OTG_HS_OVER_CURRENTPE3
48USB_VBUSPJ12
49USB_IDPA10
50USB_DMPA11
51USB_DPPA12
52VCP_TXPA9
53VCP_RXPB7
54CAN_TXPB13
55CAN_RXPB12