You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We'd like to ship examples and "baked in" Python programs and graphics into Tulip. See #164 . Let's call these collectively the "system" folder. It can be read only, but the code should be visible and copyable for editing.
Right now, we can refresh the ex/ folder by flashing the entire FS, which would delete everything the user has stored.
So therefore, we only flash the firmware, not the FS, on tulip.upgrade(). But maybe the examples will want to be changed with new Tulip firmware. We'll need a way to get this "system" folder updated on upgrade.
We'll also want to make sure whatever we do is easy for a 3rd party to flash the NVS on the chip before sale.
Lastly, since we'll support both 16 and 32MB "drives" for now, we need to make sure the "free space" is whatever is left and not baked into the FS binary.
Some options:
A separate partition just for baked in code, read only, that can get reflashed on upgrade
Example code can get downloaded from World and overwrite the original ones (optionally?) As a tar file? This may be big and have to be streamed in, like we do for OTA upgrades anyway (so maybe partition is safer.)
The text was updated successfully, but these errors were encountered:
We're going with the separate partition. It's not read only (maybe that's fine) but it boots as /sys (and normal FS is in /user. I'll make a upgrade_sys() OTA thing for that.
We'd like to ship examples and "baked in" Python programs and graphics into Tulip. See #164 . Let's call these collectively the "system" folder. It can be read only, but the code should be visible and copyable for editing.
Right now, we can refresh the ex/ folder by flashing the entire FS, which would delete everything the user has stored.
So therefore, we only flash the firmware, not the FS, on
tulip.upgrade()
. But maybe the examples will want to be changed with new Tulip firmware. We'll need a way to get this "system" folder updated on upgrade.We'll also want to make sure whatever we do is easy for a 3rd party to flash the NVS on the chip before sale.
Lastly, since we'll support both 16 and 32MB "drives" for now, we need to make sure the "free space" is whatever is left and not baked into the FS binary.
Some options:
The text was updated successfully, but these errors were encountered: