tock / elf2tab

Tool to create Tock Application Bundles from ELF files.
MIT License
15 stars 33 forks source link

Generating a large amount of padding? #80

Closed stevefan1999-personal closed 1 year ago

stevefan1999-personal commented 1 year ago

I'm using ESP32 as a target, I noticed the binary I generated indeed didn't fit. I started out in https://github.com/tock/tock/discussions/3614, but then I quickly realized it is the binary.hex problem. The padding comes from elf2tab here...I have no idea why

bradjc commented 1 year ago

Can you run readelf -lS on the input elf and post the output?

stevefan1999-personal commented 1 year ago

@bradjc Yes I confirmed it is generating for wrong target...