[PATCH] STM32F100: add support for external memory via FSMC

2023-06-20 Thread Lucas Villa Real
Add support for FSMC on high-density STM32F100 devices and enable mapping of additional memory via the `-m SIZE` command-line option. FSMC Bank1 can address up to 4x64MB of PSRAM memory at 0x6000. RCC is needed to enable peripheral clock for FSMC; this commit implements support for RCC

[PATCH] STM32F100: add support for external memory via FSMC

2023-06-20 Thread Lucas Villa Real
Add support for FSMC on high-density STM32F100 devices and enable mapping of additional memory via the `-m SIZE` command-line option. FSMC Bank1 can address up to 4x64MB of PSRAM memory at 0x6000. RCC is needed to enable peripheral clock for FSMC; this commit implements support for RCC

[PATCH] STM32F100: support different density lines

2023-06-19 Thread Lucas Villa Real
This patch adds support for the emulation of different density lines (low, medium, and high). A new class property stm32f100-soc.density= has been introduced to allow users to state the desired configuration. That property is recognized by a new machine, stm32f1-generic. The SOC is configured

[PATCH] stm32vldiscovery: allow overriding of RAM size

2023-04-03 Thread Lucas Villa Real
g a memory subregion according to the value provided on that command line argument. If absent, the default value of 8KB still applies. Signed-off-by: Lucas Villa Real --- hw/arm/stm32vldiscovery.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/hw/arm/stm32vldiscovery.c b/hw/arm/stm32vld