espressif / esp-homekit-sdk

541 stars 98 forks source link

OTA partition alignment issues #97

Open bwjohns4 opened 1 year ago

bwjohns4 commented 1 year ago

I'm having some issues using OTA with this library. After troubleshooting a lot, it appears that the alignment of the OTA partitions may be slightly off causing a crash immediately upon reboot after an OTA update. I changed the partitions_hap.csv file back to the builtin 2 OTA partitions in the menuconfig and then everything started working fine. Here is a link to someone else having this problem with ESP8266 RTOS in general, I think the partitions_hap.csv may need to be slightly tweaked, but I'm not sure what to change.

It worked fine when using the built-in 2 OTA slot partition table. Am I losing anything by not using the partitions_hap.csv file?