[PATCH v2 0/3] Add STM32F4 support and USART device model

2025-07-21 Thread fanyihao
From: Yihao Fan This patch series introduces basic support for the STM32F407 SoC and a new STM32F4spark machine in QEMU, along with a USART device model. This series includes: - A new SoC model (STM32F407) with initial integration. - A board model called STM32F4spark to instantiate and test the

[PATCH v2 1/3] Add-the-stm32f407-SoC

2025-07-21 Thread fanyihao
From: Yihao Fan This patch introduces a new QEMU machine type for the STM32F407 SoC featuring a Cortex-M4 core. This will be used by the RT-Spark to create a machine. Signed-off-by: Yihao Fan --- MAINTAINERS| 7 ++ hw/arm/Kconfig | 6 ++ hw/arm/meson.bu

[PATCH v2 2/3] Add the STM32F4spark Machine

2025-07-21 Thread fanyihao
From: Yihao Fan Add the STM32F4spark machine model using the STM32F407 SoC. Signed-off-by: Yihao Fan --- MAINTAINERS | 7 +++ hw/arm/Kconfig| 6 ++ hw/arm/meson.build| 1 + hw/arm/stm32f4spark.c | 48 +++ 4 files changed,

[PATCH v2 3/3] Add STM32F4xx USART device model

2025-07-21 Thread fanyihao
From: Yihao Fan This patch adds support for the STM32F407 USART controllers device model. Signed-off-by: Yihao Fan --- MAINTAINERS | 2 + hw/arm/Kconfig| 1 + hw/arm/stm32f407_soc.c| 25 +++ hw/char/Kconfig | 3 + h