* AT32F435: new target (#12159)
* AT32F435: New target (WIP)
* IO and Timer Updates
* Adding pseudonyms for the STM TypeDef items.
- implementation to follow
* Adding config_streamer support for AT32
* Implementation for IO
* Adding in Peripheral mapping from emsr.
* Warnings cleanup for AT drivers
* Getting things to the linking stage
* Add AT-START-F435 LEDs as default in AT32F435 as a temporary measure to aid bringup
* Remove tabs
* Enable selection of serial port to use for MSP
* Setup defaults for AT-START-F435 to use MSP on UART1
* Fix for most recent 4.5.0 Makefile changes
* Solve for sanity check.
* Add AT32F435 MCU type
* Fix compilation issue with SITL
* Merge conflict resolution
* Minor cleanup
* Adding line feed.
---------
Co-authored-by: Steve Evans <Steve@SCEvans.com>
* UART9 was supported as LPUART on some H7s.
* Newer 100-pin H7 CPUs support UART9 and USART10.
* 100+ pin devices support higher numbered UARTS than UART10.
Use USE_LPUART instead of hacking into UART9 for clarity.
* LPUARTS are different from other types of UARTS.
* They need different ID ranges.
* They have and different capabilities.
* Renumber LPUART1 to 40.
0-19 reserved for UART1-20
40-49 onwards for LPUART instances.
It makes sense to treat them as a different class of UART. Just like we
do for softserial, vcp, etc.
- Add UART DMA configurability
- Consolidation of DMA settings code
DMA setting code for all MCUs is now in serial_uart.c
- Consolidation of UART buffer
UART buffers are not embedded in uartDevice[] array anymore for all MCUs.
- Consolidation of HAL DMA IRQ handler
- Add missing defs for DMA on UART4 for F3
This has highlighted that the existing codebase is quite targeted
towards systems that use USART1 and 2. Annoyingly the inverter is on
USART1 and the sbus code requires callbacks so still won't work yet.