...stick something like that into your PuckJS: https://www.cypress.com/products/f-ram-nonvolatile-ferroelectric-ram --- in particular: https://www.cypress.com/search/psg/115241#/?_facetShow=ss_ppart_family,ss_pinterface,fs_pdensity_kb_,ss_porganization_x_x_y_,ss_ppackage,ss_pfrequency_mhz_,fs_pspeed_ns_,ss_ptemp_classification,fs_pmin_operating_temp_c_,fs_pmax_operating_temp_c_,fs_pmin_operating_voltage_v_,fs_pmax_operating_voltage_v_,fs_pmin_operating_vccq_v_,fs_pmax_operating_vccq_v_,ss_ptape_reel,ss_pautomotive_qualified,fs_part_price&ss_porganization_x_x_y_=512Kb%20x%208&ss_porganization_x_x_y_=1Mb%20x%208&ss_ppackage=SOP&ss_ppart_family=Serial%20FRAM&ss_pinterface=SPI (price may not be justifiable... but there are smaller ones...). You also can go with plain serial flash...
@allObjects started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
...stick something like that into your PuckJS: https://www.cypress.com/products/f-ram-nonvolatile-ferroelectric-ram --- in particular: https://www.cypress.com/search/psg/115241#/?_facetShow=ss_ppart_family,ss_pinterface,fs_pdensity_kb_,ss_porganization_x_x_y_,ss_ppackage,ss_pfrequency_mhz_,fs_pspeed_ns_,ss_ptemp_classification,fs_pmin_operating_temp_c_,fs_pmax_operating_temp_c_,fs_pmin_operating_voltage_v_,fs_pmax_operating_voltage_v_,fs_pmin_operating_vccq_v_,fs_pmax_operating_vccq_v_,ss_ptape_reel,ss_pautomotive_qualified,fs_part_price&ss_porganization_x_x_y_=512Kb%20x%208&ss_porganization_x_x_y_=1Mb%20x%208&ss_ppackage=SOP&ss_ppart_family=Serial%20FRAM&ss_pinterface=SPI (price may not be justifiable... but there are smaller ones...). You also can go with plain serial flash...