Enhance: Allow scripts in EEMEM
mikaelpatel opened this issue · 3 comments
mikaelpatel commented
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.
mikaelpatel commented
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).
mikaelpatel commented
Please see commit dfa2fc5.
This is the first step towards persistent scripts in EEPROM (i.e. remain in memory after reboot).
mikaelpatel commented
Full persistent script handling implemented. Please see commit 8f62fa1.