cancel
Showing results for 
Search instead for 
Did you mean: 

custom objcopy command

Carl_G
Senior III

Is it possible to edit the objcopy command emitted by the Stm32CubeIDEIDE? I need to make some adjustments to keep some RAM addresses from showing up in the hex file. Advice on the internet seems to thing this is easily adjustable in the IDE. However, I do not see any place where this can be modified.

 

Thanks,

Carl

1 REPLY 1
KnarfB
Super User

Advice on the internet 

The internet is full of everything.

At least you can add a custom post-build command which could mimic the original objcopy with your adjustments and generate an additional output file.

keep some RAM addresses from showing up in the hex file

Maybe you can adapt the .ld file here?

hth

KnarfB