thedarknet / darknet8-badge

MIT License
3 stars 1 forks source link

OTA #15

Open cmdc0de opened 5 years ago

gourryinverse commented 5 years ago

1) 3 partitions - factory, OTA1, OTA2. Factory will be small OTA only code, OTA1 and OTA2 will be larger, and provide the full badge code.
2) factory app with test code, OTA code, and partition boot selector (that way if a factory reset happens you can revert to the last programmed OTA partition 3) Logic to factory reset if crashes occur a certain number of times 4) menu to factory reset on command 5) logic to OTA and reboot into the newest code

gourryinverse commented 5 years ago

@cmdc0de - factory reset and OTA stuff is pretty much done with the exception of menu code (to select boot partition or factory reset). That should be quick to hack in.

The only thing we need to do is figure out how we're going to make the "factory reset" app and flash it. After we do that we can strip that down and resize the partitions to give us more breathing room. At this point though i think we're ok - but OTA doesn't like the binary size at the moment on the WROVER (not quite sure why).