Utility to check sections overflow

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This thread and my own needs to check that certain sections content won't overflow the section boundaries, made me to write this utility. Run it with no parameters to get some rudimentary help. As an input, it takes the mapfile created by linker, so the linker. It outputs success/failure through exit code, so it is suitable for adding to makefile. I added it to the "sizeafter" target of the "standard" WinAVR makefile.

I found it easier to do this than to mess with linker/linker scripts.

Comments, please.

Jan Waclawek