https://toitlang.org/ logo
Am I right in thinking that the
# general
a
Am I right in thinking that the
programs
partition in the default tables is used for the persistent flash buckets? (and possiblw some other stuff)
Basically, is there a guide of what the partitions are use for by toit etc for if I am thinking of repartitioning? 😉
f
depends on what you use. artemis bundles programs with the firmware. That means that ota0 and ota1 need to be big enough to store the base-system + the user programs. Jaguar stores programs in the program partition. Note that Artemis doesn't use the same partition table (by default) as Jaguar does for exactly that reason.
a
> Jaguar stores programs in the program partition. That explains why I go from developing with jaguar and things being fine, but switch to put the container in an envelope, and it finds itself too big
Where can I find the artemis partition tables? I imagine they are what I should be taking inspiration from 🙂
Recent Artemis versions should warn you when you are still using a partition table that is too small. And it automatically uses the 1c0000 table (iirc).