circuitpython/ports/stm32/boards
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
..
B_L475E_IOT01A stm32/Makefile: Allow a board to config either 1 or 2 firmware sections. 2018-03-27 21:24:15 +11:00
CERB40 stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
ESPRUINO_PICO stm32/Makefile: Allow a board to config either 1 or 2 firmware sections. 2018-03-27 21:24:15 +11:00
HYDRABUS stm32/Makefile: Allow a board to config either 1 or 2 firmware sections. 2018-03-27 21:24:15 +11:00
LIMIFROG stm32/Makefile: Allow a board to config either 1 or 2 firmware sections. 2018-03-27 21:24:15 +11:00
NETDUINO_PLUS_2 stm32/Makefile: Allow a board to config either 1 or 2 firmware sections. 2018-03-27 21:24:15 +11:00
NUCLEO_F401RE stm32/Makefile: Allow a board to config either 1 or 2 firmware sections. 2018-03-27 21:24:15 +11:00
NUCLEO_F411RE stm32/Makefile: Allow a board to config either 1 or 2 firmware sections. 2018-03-27 21:24:15 +11:00
NUCLEO_F429ZI stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
NUCLEO_F446RE stm32/Makefile: Allow a board to config either 1 or 2 firmware sections. 2018-03-27 21:24:15 +11:00
NUCLEO_F746ZG stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
NUCLEO_F767ZI stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
NUCLEO_H743ZI stm32/boards/NUCLEO_H743ZI: Enable DAC peripheral. 2018-04-10 14:21:26 +10:00
NUCLEO_L476RG stm32/Makefile: Allow a board to config either 1 or 2 firmware sections. 2018-03-27 21:24:15 +11:00
OLIMEX_E407 stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
PYBLITEV10 stm32/Makefile: Allow a board to config either 1 or 2 firmware sections. 2018-03-27 21:24:15 +11:00
PYBV3 stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
PYBV4 stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
PYBV10 stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
PYBV11 stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
STM32F4DISC stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
STM32F7DISC stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
STM32F411DISC stm32/Makefile: Allow a board to config either 1 or 2 firmware sections. 2018-03-27 21:24:15 +11:00
STM32F429DISC stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
STM32F439 stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
STM32F769DISC stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
STM32L476DISC stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
common_basic.ld stm32/boards: Add common_basic.ld for a board to have a single section. 2018-03-27 21:29:45 +11:00
common_bl.ld stm32/boards: Add common_bl.ld for boards that need a bootloader. 2018-03-27 21:30:45 +11:00
common_ifs.ld stm32/boards: Allow boards to have finer control over the linker script. 2018-03-27 21:17:48 +11:00
make-pins.py stm32/can: Allow CAN pins to be configured per board. 2018-04-11 16:35:24 +10:00
openocd_stm32f4.cfg ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
openocd_stm32f7.cfg ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
openocd_stm32l4.cfg ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pllvalues.py ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
startup_stm32f4.s stm32/boards: Add startup_stm32f4.s for F4 series specific startup. 2018-03-09 15:14:03 +11:00
startup_stm32f7.s stm32/boards: Add startup_stm32f7.s for F7 series specific startup. 2018-03-09 15:13:56 +11:00
startup_stm32h7.s stm32/boards: Add startup_stm32h7.s for H7 series specific startup. 2018-03-09 15:13:13 +11:00
startup_stm32l4.s stm32/boards: Add startup_stm32l4.s for L4 series specific startup. 2018-03-09 15:14:10 +11:00
stm32f4xx_prefix.c stm32/pin: In pin AF object, remove union of periph ptr types. 2018-04-11 16:14:58 +10:00
stm32f401_af.csv stm32/boards/*_af.csv: Make consistent use of JTMS, JTCK, SWDIO, SWCLK. 2017-12-01 14:51:36 +11:00
stm32f401xd.ld stm32/boards: Allow boards to have finer control over the linker script. 2018-03-27 21:17:48 +11:00
stm32f401xe.ld stm32/boards: Allow boards to have finer control over the linker script. 2018-03-27 21:17:48 +11:00
stm32f405_af.csv stm32/boards/*_af.csv: Make consistent use of JTMS, JTCK, SWDIO, SWCLK. 2017-12-01 14:51:36 +11:00
stm32f405.ld stm32/boards: Allow boards to have finer control over the linker script. 2018-03-27 21:17:48 +11:00
stm32f411_af.csv stm32/boards/*_af.csv: Make consistent use of JTMS, JTCK, SWDIO, SWCLK. 2017-12-01 14:51:36 +11:00
stm32f411.ld stm32/boards: Allow boards to have finer control over the linker script. 2018-03-27 21:17:48 +11:00
stm32f429_af.csv stm32/boards/*_af.csv: Make consistent use of JTMS, JTCK, SWDIO, SWCLK. 2017-12-01 14:51:36 +11:00
stm32f429.ld stm32/boards: Allow boards to have finer control over the linker script. 2018-03-27 21:17:48 +11:00
stm32f439_af.csv stm32/boards/*_af.csv: Make consistent use of JTMS, JTCK, SWDIO, SWCLK. 2017-12-01 14:51:36 +11:00
stm32f439.ld stm32/boards: Allow boards to have finer control over the linker script. 2018-03-27 21:17:48 +11:00
stm32f746_af.csv stm32/boards/stm32f746_af.csv: Fix typos in AF table. 2017-11-20 14:19:12 +11:00
stm32f746.ld stm32/boards: Allow boards to have finer control over the linker script. 2018-03-27 21:17:48 +11:00
stm32f767_af.csv stm32/boards/stm32f767_af.csv: Add ADC column to pin capability list. 2018-03-07 18:40:06 +11:00
stm32f767.ld stm32/boards/stm32f767.ld: Add definition of FLASH_APP. 2018-03-27 21:35:03 +11:00
stm32f769.ld stm32/boards: Allow boards to have finer control over the linker script. 2018-03-27 21:17:48 +11:00
stm32h743_af.csv stm32/boards: Add stm32h743_af.csv file describing H7 GPIO alt funcs. 2018-03-09 14:06:34 +11:00
stm32h743.ld stm32/boards/stm32h743.ld: Remove include of common.ld. 2018-03-28 13:20:07 +11:00
stm32l476_af.csv stm32/boards/*_af.csv: Make consistent use of JTMS, JTCK, SWDIO, SWCLK. 2017-12-01 14:51:36 +11:00
stm32l476xe.ld stm32/boards: Allow boards to have finer control over the linker script. 2018-03-27 21:17:48 +11:00
stm32l476xg.ld stm32/boards: Allow boards to have finer control over the linker script. 2018-03-27 21:17:48 +11:00