micropython/ports/stm32/boards/PYBV4
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
..
mpconfigboard.h stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
mpconfigboard.mk stm32/Makefile: Allow a board to config either 1 or 2 firmware sections. 2018-03-27 21:24:15 +11:00
pins.csv ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
stm32f4xx_hal_conf.h stm32/boards: Update all boards to work with new USB configuration. 2018-02-13 18:57:01 +11:00