ATmega2560 compatability?

I'm just starting to use some bigger sketches and am running out of memory on the 328p The 2560 has 256KB of flash and 8KB of SRAM as opposed to 32KB flash and 2KB SRAM on the 328.

Can the 2560 run sketches written for the 328?


Yes. In some rare cases you would need to make some small changes but that’s easy enough.