I often use
resetautorun. And it’s great! However - when I upgrade uLisp to new version - usually MCU goes into some infinite loop or crashes in this way or another. I do understand that image format changes, it’s not big problem. But what I end up doing is:
- Boot MCU with old uLisp I want to upgrade.
makunboundall stuff (because
resetautorunis ON by default on my boards).
save-imagewhen workspace is empty to kind of erase old image.
- Disconnect terminal and proceed with upgrade.
makunbounding all definitions is bit boring. So my question is:
- whould it be possible to add
- maybe add version ID to image, and not load it when it was saved with older version?
Or perhaps I’m doing something wrong? How do you deal with images when upgrading uLisp?