circuitpython/ports/stm32/boards
Damien George 86ef965352 stm32/adc: Simplify and generalise how pin_adcX table is defined.
The ADC_FIRST_GPIO_CHANNEL and ADC_LAST_GPIO_CHANNEL macros are no longer
needed.  Instead the pin_adcX table (X = 1, 2, 3) is now generated to be
the exact size needed for a given MCU, and MP_ARRAY_SIZE(pin_adcX) is used
to determine the upper bound.

This commit also allows CPU pins to be excluded from ADC configuration if
they are hidden by prefixing their name with a "-".

Signed-off-by: Damien George <damien@micropython.org>
2021-07-05 16:03:11 +10:00
..
ADAFRUIT_F405_EXPRESS all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
B_L072Z_LRWAN1 all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
B_L475E_IOT01A all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
CERB40 all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
ESPRUINO_PICO all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
HYDRABUS all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
LIMIFROG all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
MIKROE_CLICKER2_STM32 stm32/mboot: Add support for littlefs. 2020-06-26 21:17:02 +10:00
NADHAT_PYBF405 stm32/boards: Add NADHAT_PYB405 board. 2019-10-18 11:41:22 +11:00
NETDUINO_PLUS_2 all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
NUCLEO_F091RC all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
NUCLEO_F401RE all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
NUCLEO_F411RE all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
NUCLEO_F412ZG stm32/boards: Add board config for Nucleo-F412ZG development board. 2020-05-15 10:48:48 +10:00
NUCLEO_F413ZH all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
NUCLEO_F429ZI all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
NUCLEO_F446RE all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
NUCLEO_F722ZE stm32/boards/NUCLEO_F722ZE: Add definition files for new board. 2019-07-25 16:31:36 +10:00
NUCLEO_F746ZG all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
NUCLEO_F767ZI all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
NUCLEO_H743ZI all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
NUCLEO_L073RZ all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
NUCLEO_L432KC stm32/boards/NUCLEO_L432KC: Fix FS size and enable LFS1 filesystem. 2021-05-27 12:18:41 +10:00
NUCLEO_L452RE all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
NUCLEO_L476RG all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
NUCLEO_WB55 stm32/boards/NUCLEO_WB55: Enable LPUART1 on PA2/PA3. 2021-02-21 15:49:33 +11:00
OLIMEX_E407 all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
PYBD_SF2 stm32/boards/PYBD_SF2: Disable GCC 11 warnings for array bounds. 2021-05-27 23:57:51 +10:00
PYBD_SF3 stm32: Include .ARM section in firmware for C++ exception handling. 2021-04-06 12:11:15 +10:00
PYBD_SF6 all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
PYBLITEV10 all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
PYBV3 all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
PYBV4 all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
PYBV10 all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
PYBV11 all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
STM32F4DISC all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
STM32F7DISC all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
STM32F411DISC all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
STM32F429DISC all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
STM32F439 all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
STM32F769DISC all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
STM32L476DISC all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
STM32L496GDISC all: Replace busses with buses. 2021-05-20 23:22:03 +10:00
USBDONGLE_WB55 stm32/boards/USBDONGLE_WB55: Add USE_MBOOT support. 2020-09-08 23:53:12 +10:00
VCC_GND_F407VE stm32/boards: Enable MICROPY_HW_SPIFLASH_ENABLE_CACHE on VCC_GND boards. 2021-06-10 22:48:17 +10:00
VCC_GND_F407ZG stm32/boards: Enable MICROPY_HW_SPIFLASH_ENABLE_CACHE on VCC_GND boards. 2021-06-10 22:48:17 +10:00
common_basic.ld stm32/boards: Factor out common data/bss/heap/stack linker sections. 2020-10-29 23:31:59 +11:00
common_bl.ld stm32/boards: Factor out common data/bss/heap/stack linker sections. 2020-10-29 23:31:59 +11:00
common_blifs.ld stm32/boards: Factor out common data/bss/heap/stack linker sections. 2020-10-29 23:31:59 +11:00
common_bss_heap_stack.ld stm32/boards: Factor out common data/bss/heap/stack linker sections. 2020-10-29 23:31:59 +11:00
common_extratext_data_in_flash_app.ld stm32: Support C++ code and user C modules written in C++. 2020-10-29 23:35:36 +11:00
common_extratext_data_in_flash_text.ld stm32: Support C++ code and user C modules written in C++. 2020-10-29 23:35:36 +11:00
common_extratext_data_in_flash.ld stm32: Support C++ code and user C modules written in C++. 2020-10-29 23:35:36 +11:00
common_ifs.ld stm32/boards: Factor out common data/bss/heap/stack linker sections. 2020-10-29 23:31:59 +11:00
make-pins.py stm32/adc: Simplify and generalise how pin_adcX table is defined. 2021-07-05 16:03:11 +10:00
manifest.py stm32: Enable and freeze uasyncio. 2020-03-26 01:25:45 +11:00
openocd_stm32f4.cfg stm32/boards: Allow OpenOCD stm_flash procedure to accept single FW img. 2018-12-13 13:43:10 +11:00
openocd_stm32f7.cfg stm32/boards: Allow OpenOCD stm_flash procedure to accept single FW img. 2018-12-13 13:43:10 +11:00
openocd_stm32l4.cfg stm32/boards: Allow OpenOCD stm_flash procedure to accept single FW img. 2018-12-13 13:43:10 +11:00
pllvalues.py stm32/boards/pllvalues.py: Support wider range of PLL values for F413. 2021-04-20 23:33:33 +10:00
stm32f0xx_hal_conf_base.h stm32/uart: Add uart_set_baudrate function. 2021-02-14 18:30:49 +11:00
stm32f4xx_hal_conf_base.h stm32/boards: Change default LSI_VALUE to 32000 for F4 MCUs. 2021-05-04 16:53:40 +10:00
stm32f4xx_prefix.c stm32/pin: In pin AF object, remove union of periph ptr types. 2018-04-11 16:14:58 +10:00
stm32f7xx_hal_conf_base.h stm32/uart: Add uart_set_baudrate function. 2021-02-14 18:30:49 +11:00
stm32f091_af.csv stm32/boards/stm32f091_af.csv: Split labels that are multiple funcs. 2018-06-18 13:05:24 +10:00
stm32f091xc.ld stm32: Enter bootloader via a system reset. 2019-06-25 14:15:49 +10:00
stm32f401_af.csv stm32/boards: Split combined alt-func labels and fix some other errors. 2018-05-29 21:37:49 +10:00
stm32f401xd.ld stm32: Enter bootloader via a system reset. 2019-06-25 14:15:49 +10:00
stm32f401xe.ld stm32: Enter bootloader via a system reset. 2019-06-25 14:15:49 +10:00
stm32f405_af.csv stm32/boards/stm32f405_af.csv: Fix typo in ETH_RMII_REF_CLK on PA1. 2019-11-11 12:02:14 +11:00
stm32f405.ld stm32: Enter bootloader via a system reset. 2019-06-25 14:15:49 +10:00
stm32f411_af.csv stm32/boards: Split combined alt-func labels and fix some other errors. 2018-05-29 21:37:49 +10:00
stm32f411.ld stm32: Enter bootloader via a system reset. 2019-06-25 14:15:49 +10:00
stm32f412_af.csv stm32: Add support for F412 MCUs. 2020-05-15 10:08:30 +10:00
stm32f412zx.ld stm32: Add support for F412 MCUs. 2020-05-15 10:08:30 +10:00
stm32f413_af.csv stm32: Add support for F413 MCUs. 2019-05-02 16:26:53 +10:00
stm32f413xg.ld stm32: Enter bootloader via a system reset. 2019-06-25 14:15:49 +10:00
stm32f413xh.ld stm32: Enter bootloader via a system reset. 2019-06-25 14:15:49 +10:00
stm32f429_af.csv stm32/boards/stm32f429_af.csv: Fix typos in UART defs Tx->TX and Rx->RX. 2019-01-31 01:02:42 +11:00
stm32f429.ld stm32: Enter bootloader via a system reset. 2019-06-25 14:15:49 +10:00
stm32f439_af.csv stm32: Enable UART7/8 on F4 series that have these peripherals. 2018-05-16 11:55:07 +10:00
stm32f439.ld stm32: Enter bootloader via a system reset. 2019-06-25 14:15:49 +10:00
stm32f722_af.csv stm32/boards: Add .ld and af.csv files for STM32F722. 2018-06-22 15:39:10 +10:00
stm32f722.ld stm32/boards/stm32f722.ld: Provide memory regions for internal FS. 2019-07-25 16:31:36 +10:00
stm32f746_af.csv stm32/boards/stm32f746_af.csv: Add ADC alt functions to correct pins. 2020-01-30 16:31:11 +11:00
stm32f746.ld stm32: Enter bootloader via a system reset. 2019-06-25 14:15:49 +10: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/NUCLEO_F767ZI: Update pins, peripherals and total flash. 2019-12-19 11:43:19 +11:00
stm32f769.ld stm32: Enter bootloader via a system reset. 2019-06-25 14:15:49 +10:00
stm32h7xx_hal_conf_base.h stm32/uart: Add uart_set_baudrate function. 2021-02-14 18:30:49 +11:00
stm32h743_af.csv stm32/boards/stm32h743_af.csv: Add ADC entries to pin capability table. 2019-02-06 13:34:53 +11:00
stm32h743.ld stm32/boards/stm32h743.ld: Enable D2 RAM and add eth-buffer section. 2020-12-08 15:27:27 +11:00
stm32l0xx_hal_conf_base.h stm32/uart: Add uart_set_baudrate function. 2021-02-14 18:30:49 +11:00
stm32l4xx_hal_conf_base.h stm32/uart: Add uart_set_baudrate function. 2021-02-14 18:30:49 +11:00
stm32l072_af.csv stm32/boards: Split UARTx_RTS_DE into UARTx_RTS/UARTx_DE in pin defs. 2021-04-13 23:58:20 +10:00
stm32l072xz.ld stm32/boards: Add MCU support files for STM32L072. 2019-07-05 17:26:03 +10:00
stm32l432_af.csv stm32/boards: Add STM32L432KC chip configuration files. 2018-12-06 13:32:43 +11:00
stm32l432.ld stm32/boards/NUCLEO_L432KC: Fix FS size and enable LFS1 filesystem. 2021-05-27 12:18:41 +10:00
stm32l452_af.csv stm32/boards: Split UARTx_RTS_DE into UARTx_RTS/UARTx_DE in pin defs. 2021-04-13 23:58:20 +10:00
stm32l452xe.ld stm32: Add support for STM32L452 MCUs. 2019-07-08 16:50:19 +10:00
stm32l476_af.csv stm32/boards: Split UARTx_RTS_DE into UARTx_RTS/UARTx_DE in pin defs. 2021-04-13 23:58:20 +10:00
stm32l476xe.ld stm32/boards: Optimise flash and RAM allocation for L4 boards. 2019-07-01 16:57:20 +10:00
stm32l476xg.ld stm32/boards: Optimise flash and RAM allocation for L4 boards. 2019-07-01 16:57:20 +10:00
stm32l496_af.csv stm32/boards: Split combined alt-func labels and fix some other errors. 2018-05-29 21:37:49 +10:00
stm32l496xg.ld stm32/boards: Optimise flash and RAM allocation for L4 boards. 2019-07-01 16:57:20 +10:00
stm32wb55_af.csv stm32/boards: Split UARTx_RTS_DE into UARTx_RTS/UARTx_DE in pin defs. 2021-04-13 23:58:20 +10:00
stm32wb55xg.ld stm32/rfcore: Update rfcore.c to match how ST examples work. 2020-09-08 23:53:02 +10:00
stm32wbxx_hal_conf_base.h stm32/uart: Add uart_set_baudrate function. 2021-02-14 18:30:49 +11:00