circuitpython/ports
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
..
bare-arm ports/{bare-arm,minimal}/Makefile: Only build with core source files. 2018-02-22 12:48:51 +11:00
cc3200 py/stream: Switch stream close operation from method to ioctl. 2018-04-10 13:41:32 +10:00
esp32 esp32/machine_uart: Remove UART event queue object. 2018-04-10 15:24:10 +10:00
esp8266 esp8266/esp_mphal.h: Fix I2C glitching by using input mode for od_high. 2018-03-12 12:45:09 +11:00
minimal minimal/Makefile: Explicitly include lib/utils/printf.c in build. 2018-02-22 13:19:09 +11:00
pic16bit all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
qemu-arm qemu-arm/test_main: Include setjmp.h because it's used by gc_collect. 2017-12-20 15:42:06 +11:00
stm32 stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
teensy stm32/pin: In pin AF object, remove union of periph ptr types. 2018-04-11 16:14:58 +10:00
unix py/stream: Switch stream close operation from method to ioctl. 2018-04-10 13:41:32 +10:00
windows ports: Enable ucollections.deque on relevant ports. 2018-02-21 22:55:13 +11:00
zephyr py/stream: Switch stream close operation from method to ioctl. 2018-04-10 13:41:32 +10:00