Skip to main content
Associate
April 30, 2024
Question

image limit about stm32cubeide

How to use the image$$rom$$limit function in stm32cubeide, thanks
This topic has been closed for replies.

4 replies

Semer CHERNI
ST Employee
May 6, 2024

Hello @DerekWu 

First let me thank you for posting.

"image$$rom$$limit" seems to be specific to scatter files however STM32CubeIDE use GCC linker files.
Could you provide more details about the scenario you are making.

KR,
Semer.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
DerekWuAuthor
Associate
May 7, 2024

Hi  Semer CHERNI,Thank you!

STM32CubeIDE Achieve the same function with _sdata\_edata\_sidata !

 
Tesla DeLorean
Guru
May 6, 2024

Keil specific.

Create it as a Linker symbol or use the equivalent already in the script and used by startup.s to initialize the statics from ROM to RAM.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
DerekWuAuthor
Associate
May 7, 2024

Hi Tesla DeLorean

right, _sdata\_edata\_sidata be found at startup.s

thank you!