circuitpython/ports/stm32/boards/CERB40/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

477 B

1JP13.3V
2JP2GND
3JP3PA8
4JP4PA13
5JP5PA7
6JP6PA6
7JP7PC10
8JP8PA14
9JP9PC11
10JP10PB4
11JP11PB9
12JP12PB3
13JP13PD2
14JP14PC12
15JP15VBAT
16JP16PB8
17JP17Loader
18JP18PB7
19JP19PB6
20JP20PB5
21JP21Reset
22JP22PC0
23JP23PC1
24JP24PC2
25JP25PC3
26JP26PA0
27JP27PA1
28JP28PA2
29JP29PA3
30JP30PA4
31JP31PA5
32JP32PB10
33JP33PB11
34JP34PB14
35JP35PB15
36JP36PC6
37JP37PC7
38JP38PC8
39JP39PC9
40JP40VUSB
41UART1_TXPA9
42UART1_RXPA10
43UART3_TXPD8
44UART3_RXPD9
45UART3_RTSPD12
46UART3_CTSPD11
47CAN2_TXPB13
48CAN2_RXPB12