Page 1 of 1

STM32 Library paths included in flash memory

Posted: Mon Apr 24, 2023 4:32 pm
by dspic18f
After compiling the code, when opening the binary it is possible to see the path of some libraries, how can I avoid including this information in the binary? - STM32F103 nucleo Image

Re: STM32 Library paths included in flash memory

Posted: Mon Apr 24, 2023 6:50 pm
by ag123
maybe it is debug info? try playing with the -g (debug) flags,

Re: STM32 Library paths included in flash memory

Posted: Tue Apr 25, 2023 11:55 am
by dspic18f
hello.
how could i do this?

Re: STM32 Library paths included in flash memory

Posted: Tue Apr 25, 2023 4:34 pm
by ag123
if you are using the (arduino) IDE, check in the menu for debug options
no promises though, it is likely some symbols remains

Re: STM32 Library paths included in flash memory

Posted: Tue Apr 25, 2023 6:03 pm
by fpiSTM
Which options are set in the Arduino menu?