2020-05-05 11:42 PM
Hello there :
I want to build multiple bin files with specific address and length in CubeIDE/Eclipse,
for example , I have my linker file like :
MEMORY:
{
SYSTEM_BIN(wr) :ORIGIN = 0x8008800 ,LENGTH = 8K
PCU_BIN(wr) :ORIGIN = 0x800A800 ,LENGTH = 8K
}
Can I build two 8K bin files (for SYSTEM_BIN and PCU_BIN) in this project?
Thanks!
2020-05-06 12:28 AM
Just generate one big bin file, and write a small program to cut it up, or use the dd utility on Linux.
2020-05-06 01:34 PM
2020-05-06 02:16 PM
Keil's FromELF utility by default spills different sparse sections into their own binary.
As thing go the ELF format is well documented and easily enough to code custom output, packaging or signing tools for..