machine/stm32: add STM32U5 GPIO, pin interrupts, and UART support

Add machine-level support for STM32U5 family: GPIO ports A-I with clock
enables via AHB2ENR1, EXTI pin interrupts (individual EXTI0-15 IRQs),
timer definitions (TIM1-8, TIM15-17), RNG, and alternate function clock
enables for all peripherals.

Add UART support with STM32U585 baud rate and register configuration.
Add arduino-uno-q board pin definitions and USART2 serial.

Update shared build tags: gpio_revb, gpio_reva, exti_exti, exti_syscfg.
This commit is contained in:
deadprogram
2026-03-15 15:44:54 +01:00
parent 47115f0380
commit 38a3ccee52
7 changed files with 701 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build stm32l5
//go:build stm32l5 || stm32u5
package machine