@allObjects This is exactly my plan. I think I can implement such a "Host" (a bootloader, or a vm kernel thing) if I could selectively load the code from specific location.
On second thoughts: I can use FlashEEPROM. Then, I could write a code that will behave like a console (like wiflash does) and will write everything to the EEPROM. Upon a boot process, I could read the EEPROM location and directly evaluate these codes; which will exactly simulate what load() does.
Only difference is, I can save to and load from exactly where I want.
Hmm. Let me try something out. I'll get back to you.
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.
@allObjects This is exactly my plan. I think I can implement such a "Host" (a
bootloader
, or avm kernel thing
) if I could selectively load the code from specific location.On second thoughts: I can use FlashEEPROM. Then, I could write a code that will behave like a console (like
wiflash
does) and will write everything to the EEPROM. Upon a boot process, I could read the EEPROM location and directlyeval
uate these codes; which will exactly simulate whatload()
does.Only difference is, I can save to and load from exactly where I want.
Hmm. Let me try something out. I'll get back to you.