AVR-GCC: no error/warning if region text little overfull

If code is clearly too big for the compile-target device, the AVR-GCC linker errors "region text full" . But not if the result is just some bytes too big. For example for ATmega8 with 0x2000 bytes Flash, there is no error if code is resulting HEX code is going to 0x200A. Those last bytes are usually string contants from what I see.

PonyProg then downloads the .hex also without error. And then currupt strings - or crash ...

How to get a correct error message?

Robert

Reply to
robert
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.