stm32f4 bsp flash address

Juan Solano jsm at
Thu Jan 21 21:02:16 UTC 2021

Hi all,

I had to update the flash address of the linker script to be able to use the stm32f4 bsp with my Nucleo board (stm32f429zi). Flash resides at 0x08000000, and it is aliased also at 0x0. I made it work with my gdb environment just by changing the ROM address to the actual flash address in the chip.

We can always use tools that flash it at the correct location, independently of what the linker script says, but Is there a reason why in RTEMS the 0x0 address is used?

--- a/c/src/lib/libbsp/arm/stm32f4/startup/linkcmds.stm32f4
+++ b/c/src/lib/libbsp/arm/stm32f4/startup/linkcmds.stm32f4
@@ -1,6 +1,6 @@
        RAM_INT : ORIGIN = 0x20000000, LENGTH = 128k
-       ROM_INT : ORIGIN = 0x00000000, LENGTH = 1M
+       ROM_INT : ORIGIN = 0x08000000, LENGTH = 1M


More information about the devel mailing list