OpenSprinkler Forums OpenSprinkler Unified Firmware Am I running out of memory? Re: Re: Am I running out of memory?

#23693

Ray
Keymaster

Indeed if the program size is too close to the 32KB limit, you may run into SRAM overflow issue. It’s not because the program itself cannot fit in the flash memory, but it’s because the SRAM size it needs (including temporary variables) at run-time may exceed the 2KB available on mega328. So you have to play around with deleting some code to reduce the SRAM consumption.