circuitpython/ports/stm32/boards
Damien George 88564c1406 stm32/uart: Generalise UART source clock calculation for H5 and H7 MCUs.
This gets the calculation working properly for H5 MCUs, and fixes the
switch statement to switch on csel&7 instead of csel&3.

Signed-off-by: Damien George <damien@micropython.org>
2023-09-28 17:30:38 +10:00
..
ADAFRUIT_F405_EXPRESS stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
ARDUINO_GIGA stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
ARDUINO_NICLA_VISION stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
ARDUINO_PORTENTA_H7 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
B_L072Z_LRWAN1 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
B_L475E_IOT01A stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
CERB40 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
ESPRUINO_PICO stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
GARATRONIC_NADHAT_F405 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
GARATRONIC_PYBSTICK26_F411 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
HYDRABUS stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
LEGO_HUB_NO6 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
LEGO_HUB_NO7 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
LIMIFROG stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
MIKROE_CLICKER2_STM32 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
MIKROE_QUAIL stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NETDUINO_PLUS_2 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_F091RC stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_F401RE stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_F411RE stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_F412ZG stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_F413ZH stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_F429ZI stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_F439ZI stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_F446RE stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_F722ZE stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_F746ZG stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_F756ZG stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_F767ZI stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_G0B1RE stm32/boards/NUCLEO_G0B1RE: Add config for USB and mboot. 2023-03-22 16:38:03 +11:00
NUCLEO_G474RE stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_H723ZG stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_H743ZI stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_H743ZI2 stm32/boards/NUCLEO_H743ZI2: Fix MCU tag in board.json file. 2023-03-20 15:24:45 +11:00
NUCLEO_L4A6ZG stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_L073RZ stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_L152RE stm32: Add USB support for STM32L1 MCUs. 2023-06-27 22:28:31 +09:00
NUCLEO_L432KC stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_L452RE stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_L476RG stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
NUCLEO_WB55 all: Add missing imports for micropython.const. 2023-08-16 16:13:27 +10:00
NUCLEO_WL55 stm32/modstm: Add MICROPY_PY_STM_CONST flag, clear it for STM32WL5. 2023-08-23 11:58:11 +10:00
OLIMEX_E407 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
OLIMEX_H407 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
PYBD_SF2 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
PYBD_SF3 ports/*/boards/*/board.json: Remove "id" field. 2023-08-23 13:54:37 +10:00
PYBD_SF6 ports/*/boards/*/board.json: Remove "id" field. 2023-08-23 13:54:37 +10:00
PYBLITEV10 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
PYBV3 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
PYBV4 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
PYBV10 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
PYBV11 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
SPARKFUN_MICROMOD_STM32 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
STM32F4DISC stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
STM32F7DISC stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
STM32F411DISC stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
STM32F429DISC stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
STM32F439 stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
STM32F769DISC stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
STM32H7B3I_DK stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
STM32H573I_DK stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
STM32L476DISC stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
STM32L496GDISC stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
USBDONGLE_WB55 ports: Simplify board feature tags in board.json. 2023-08-10 14:54:03 +10:00
VCC_GND_F407VE stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
VCC_GND_F407ZG stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
VCC_GND_H743VI stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
common_basic.ld stm32/boards: Consolidate linker snippets to reduce duplication. 2023-01-13 15:14:26 +11:00
common_bl.ld stm32/boards: Consolidate linker snippets to reduce duplication. 2023-01-13 15:14:26 +11:00
common_blifs.ld stm32/boards: Consolidate linker snippets to reduce duplication. 2023-01-13 15:14:26 +11:00
common_bss_heap_stack.ld stm32: Use a separate symbol name for the bootloader state pointer. 2022-06-28 10:25:08 +10:00
common_extratext_data_in_flash.ld stm32/boards: Consolidate linker snippets to reduce duplication. 2023-01-13 15:14:26 +11:00
common_ifs.ld all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
common_isr.ld stm32/boards: Consolidate linker snippets to reduce duplication. 2023-01-13 15:14:26 +11:00
common_text.ld stm32/boards: Consolidate linker snippets to reduce duplication. 2023-01-13 15:14:26 +11:00
deploy.md ports: Add board.json for all boards. 2021-10-27 14:04:53 +11:00
make-pins.py all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
manifest_pyboard.py ports: Use micropython-lib version of drivers in manifests. 2022-09-08 11:27:05 +10:00
manifest.py extmod/asyncio: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10: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 all: Fix Python comparison to None and True, and use "not in". 2023-03-10 13:32:24 +11:00
stm32f0xx_hal_conf_base.h stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
stm32f4xx_hal_conf_base.h stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
stm32f4xx_prefix.c ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
stm32f7xx_hal_conf_base.h stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
stm32f091_af.csv stm32/boards: Add PF11-BOOT0 to stm32f091_af.csv. 2021-09-21 18:11:42 +10:00
stm32f091xc.ld stm32/boards/stm32f091xc.ld: Allocate space for a small filesystem. 2022-06-17 21:27:32 +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/boards: Convert F4xx and F7xx to new flash FS config. 2022-03-17 13:06:45 +11:00
stm32f401xe.ld stm32/boards: Convert F4xx and F7xx to new flash FS config. 2022-03-17 13:06:45 +11: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/boards: Convert F4xx and F7xx to new flash FS config. 2022-03-17 13:06:45 +11: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/boards: Convert F4xx and F7xx to new flash FS config. 2022-03-17 13:06:45 +11:00
stm32f412_af.csv stm32: Add support for F412 MCUs. 2020-05-15 10:08:30 +10:00
stm32f412zx.ld stm32/boards: Convert F4xx and F7xx to new flash FS config. 2022-03-17 13:06:45 +11:00
stm32f413_af.csv stm32: Add support for F413 MCUs. 2019-05-02 16:26:53 +10:00
stm32f413xg.ld stm32/boards: Remove stray '+' characters at start of lines in ld files. 2021-12-10 23:15:25 +11:00
stm32f413xh.ld stm32/boards: Remove stray '+' characters at start of lines in ld files. 2021-12-10 23:15:25 +11:00
stm32f427xi.ld stm32/boards: Convert F4xx and F7xx to new flash FS config. 2022-03-17 13:06:45 +11: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/boards: Convert F4xx and F7xx to new flash FS config. 2022-03-17 13:06:45 +11: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/boards: Convert F413,F439,H743,L4xx,WB55 to new flash FS config. 2021-11-29 13:20:35 +11:00
stm32f446_af.csv stm32/boards: Add alternate function list for STM32F446RE. 2022-09-06 16:55:24 +10:00
stm32f479_af.csv stm32: Add support for F479 MCUs. 2021-11-30 10:21:18 +11: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: Convert F4xx and F7xx to new flash FS config. 2022-03-17 13:06:45 +11: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/boards: Convert F4xx and F7xx to new flash FS config. 2022-03-17 13:06:45 +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: Convert F4xx and F7xx to new flash FS config. 2022-03-17 13:06:45 +11:00
stm32f769.ld stm32/boards: Convert F4xx and F7xx to new flash FS config. 2022-03-17 13:06:45 +11:00
stm32g0b1_af.csv stm32/boards/NUCLEO_G0B1RE: Add NUCLEO_G0B1RE board definition. 2022-04-28 11:56:15 +10:00
stm32g0b1xe.ld stm32/mboot: Add support for G0 MCUs. 2023-03-22 16:38:03 +11:00
stm32g0xx_hal_conf_base.h stm32: Add support for USB on G0 MCUs. 2023-03-22 16:38:03 +11:00
stm32g4xx_hal_conf_base.h stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
stm32g474_af.csv stm32: Add support for G4 MCUs, and add NUCLEO_G474RE board defn. 2022-02-01 16:21:01 +11:00
stm32g474.ld stm32: Add support for G4 MCUs, and add NUCLEO_G474RE board defn. 2022-02-01 16:21:01 +11:00
stm32h5xx_hal_conf_base.h stm32/boards: Add ld, af.csv and hal_conf_base.h files for H5 MCUs. 2023-06-15 11:09:37 +10:00
stm32h7b3_af.csv stm32: Add support for H7A3(Q)/H7B3(Q), and STM32H73B3I_DK board defn. 2021-09-16 12:29:28 +10:00
stm32h7b3.ld stm32: Add support for H7A3(Q)/H7B3(Q), and STM32H73B3I_DK board defn. 2021-09-16 12:29:28 +10:00
stm32h7xx_hal_conf_base.h stm32/uart: Generalise UART source clock calculation for H5 and H7 MCUs. 2023-09-28 17:30:38 +10:00
stm32h573_af.csv stm32/boards: Add ld, af.csv and hal_conf_base.h files for H5 MCUs. 2023-06-15 11:09:37 +10:00
stm32h573xi.ld stm32/boards: Add ld, af.csv and hal_conf_base.h files for H5 MCUs. 2023-06-15 11:09:37 +10:00
stm32h723_af.csv stm32/boards/stm32h723_af.csv: Fix ADC AF definitions. 2023-05-19 22:12:05 +10:00
stm32h723.ld stm32/boards: Add ld and af.csv for H723. 2023-03-21 14:02: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: Convert F413,F439,H743,L4xx,WB55 to new flash FS config. 2021-11-29 13:20:35 +11:00
stm32l0xx_hal_conf_base.h stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
stm32l1xx_hal_conf_base.h stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
stm32l4xx_hal_conf_base.h stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10: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
stm32l152_af.csv stm32: Add support for STM32L1 MCUs. 2022-09-25 23:56:41 +10:00
stm32l152xe.ld stm32: Add support for STM32L1 MCUs. 2022-09-25 23:56:41 +10:00
stm32l432_af.csv stm32/boards: Remove trailing spaces, and add newline at end of file. 2021-09-10 16:09:03 +10:00
stm32l432.ld stm32/boards: Convert F413,F439,H743,L4xx,WB55 to new flash FS config. 2021-11-29 13:20:35 +11: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/boards: Convert F413,F439,H743,L4xx,WB55 to new flash FS config. 2021-11-29 13:20:35 +11: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: Convert F413,F439,H743,L4xx,WB55 to new flash FS config. 2021-11-29 13:20:35 +11:00
stm32l476xg.ld stm32/boards: Convert F413,F439,H743,L4xx,WB55 to new flash FS config. 2021-11-29 13:20:35 +11: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: Convert F413,F439,H743,L4xx,WB55 to new flash FS config. 2021-11-29 13:20:35 +11: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/boards: Increase mboot region to 32k for WB55 boards. 2022-08-25 17:02:56 +10:00
stm32wbxx_hal_conf_base.h stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00
stm32wl55_af.csv stm32: Add initial support for STM32WL MCUs. 2022-02-04 09:43:43 +11:00
stm32wl55xc.ld stm32: Add initial support for STM32WL MCUs. 2022-02-04 09:43:43 +11:00
stm32wlxx_hal_conf_base.h stm32/boards: Move includes to after defines in all hal_conf.h files. 2023-09-28 17:30:38 +10:00