STM32 Library paths included in flash memory

Post here first, or if you can't find a relevant section!
Post Reply
dspic18f
Posts: 2
Joined: Mon Apr 24, 2023 4:16 pm

STM32 Library paths included in flash memory

Post 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
ag123
Posts: 1653
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: STM32 Library paths included in flash memory

Post by ag123 »

maybe it is debug info? try playing with the -g (debug) flags,
dspic18f
Posts: 2
Joined: Mon Apr 24, 2023 4:16 pm

Re: STM32 Library paths included in flash memory

Post by dspic18f »

hello.
how could i do this?
ag123
Posts: 1653
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: STM32 Library paths included in flash memory

Post 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
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: STM32 Library paths included in flash memory

Post by fpiSTM »

Which options are set in the Arduino menu?
Post Reply

Return to “General discussion”