u/LandscapeFar4925

▲ 2 r/cprogramming+2 crossposts

Struggling to compile legacy AVR project (CodeVisionAVR 2.03 → latest version) – binary size issue

Hey everyone,

I’m working on a legacy AVR project that hasn’t been touched in years, and I’ve hit a blocker.

The project was last successfully compiled around 2008 using CodeVisionAVR v2.03

I now have the full codebase and tried building it using the latest CodeVisionAVR

I fixed a few minor linking issues, but the final binary exceeds the flash size of the target MCU

I already tried removing debug prints and adjusting optimization levels, but no improvement

To troubleshoot further, I even set up a Windows XP VM to try building with the original toolchain (v2.03), but I’m stuck there as well due to licensing issues.

If anyone has any idea to bypass the license or if you have a cracked version. Please let me know it'll be very helpful to me.

reddit.com
u/LandscapeFar4925 — 21 hours ago