Closed mikaelpatel closed 8 years ago
To implement this requires; 1) ";" to copy to EEMEM instead of the heap, 2) extend with a new instruction fetch handler for EEMEM, 3) reduce usage ";" to SRAM buffer only (not PROGMEM/EEMEM).
Please see commit https://github.com/mikaelpatel/Arduino-Shell/commit/dfa2fc5d89ec6461a474555ed1942681c839e35a.
This is the first step towards persistent scripts in EEPROM (i.e. remain in memory after reboot).
Full persistent script handling implemented. Please see commit https://github.com/mikaelpatel/Arduino-Shell/commit/8f62fa19d85233e86d9dc597d5290ca08e06e8c0.
Functions defined interactively should be copied to EEMEM. This would require the interpretor to understand an additional address space. In general all usage of SRAM should be reduced to a minimum.