Skip to main content
PHoju.1
Visitor II
March 23, 2023
Question

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.

  • March 23, 2023
  • 1 reply
  • 1799 views

in code0693W00000aJXkOQAW.png

in ld file

0693W00000aJXknQAG.png

but this way it is possible

0693W00000aJXkxQAG.png

why? ​

This topic has been closed for replies.

1 reply

Wijeden RHIMI
ST Employee
March 27, 2023

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,