Loading...
 
Skip to main content

System Workbench for STM32


Execution of the whole file from RAM

Dear community,

I am getting struggled to specify the whole file or set of files be executed from RAM section.

I can execute functions and data separatelly using:
attribute((section(".data")))
However I cannot find any proper explanation for the whole file. In uVision for instance it is in the project settings where you can assign memory. Ho do I do that for gcc? What shoul I specify in linker script?

Looking forward for ideas,
Best regards,
Ilja.