cancel
Showing results for 
Search instead for 
Did you mean: 

i don;t know how to locate a variable at a specific address using an ld file and the __attribute__ ((section)) attribute in your code on an stm32f105xx MCU.

PHoju.1
Associate

in code0693W00000aJXkOQAW.png

in ld file

0693W00000aJXknQAG.png

but this way it is possible

0693W00000aJXkxQAG.png

why? ​

1 REPLY 1
Wijeden RHIMI
ST Employee

Hello @PHoju.1 

I wonder you consult this thread's link How to fix variables to a specific memory using STM32CubeIDE: it can help you

Don't hesitate to ask more questions!

Thanks,

Wijdeden,