RTEMS | STM32f4: add STM32F446ZE variant and variant specific linker selection (!901)

Santosh Bala (@santosh.py) gitlab at rtems.org
Sat Jan 10 05:19:14 UTC 2026



Santosh Bala created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/901

Project:Branches: santosh.py/rtems:stm32f4_variants to rtems/rtos/rtems:main
Author:   Santosh Bala




## Summary
Adds an STM32F4 BSP variant (`arm/stm32f446ze`) with a variant linker script reflecting the available flash and RAM.

Also extends the STM32F4 BSP to select linker scripts per variant via option defaults (`STM32F4_LINKCMDS`), patterned after the H7 BSP. By default, `[arm/stm32f4]` uses the generic linker script while `[arm/stm32f446ze]` automatically selects `linkcmds.stm32f446ze`. The linker script can also be overridden via `STM32F4_LINKCMDS` in `config.ini`. This allows the user to specify their own linker files and should make it simpler to add more stm32f4 variants going forward.

This has been tested on a Nucleo-F446ZE.

<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/901
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260110/50c24dbd/attachment-0001.htm>


More information about the bugs mailing list