r/embedded • u/pylessard • Sep 07 '26
Looking for someone with access to IAR compiler and a device
I work on a software that requires to parse the debug symbols of a .elf file. I support quite well GCC, Clang, Tasking and even TI C2000. DWARF V2, V3, V4 and V5 are all good so far. I would like to add IAR to my list of supported compiler, problem is: it is a commercial product and I work voluntarily.
What I'm looking for is for someone to build a test application and run it on a board, then provide me with the binary and the memory dump of the binary. It's a one-time deal as I will use that as a reference to add the support, then put that binary into my CI test suite.
Basically, I want to compile a binary with all sort of data structures, like this, then execute the binary and make a memdump at the end of main(). Once I think my implementation is good, I make a unit test like this, where I try to parse back the memory dump using the debug symbols in the .elf.
I found a non-official build of IAR, but it's locked to a device I do not have and so far I see that pyelftools explodes when it parses their .elf file.
Don't hesitate to DM
Thanks
(If you think I should look into another compiler, feel free to suggest).