Search found 1 match

by BadAtCStrings
Tue May 28, 2024 5:56 pm
Forum: ESP-IDF
Topic: ESP32S3 failure in esp_ota_end()
Replies: 12
Views: 6440

Re: ESP32S3 failure in esp_ota_end()

Finally I found the reason - I was doing memcpy to a string literal. This gave no warnings (and also somehow worked). When the code was fixed, esp_ota_end does not fail. This comment just saved me days. Wrote an unsafe wrapper around nvs_get_str and only produced sudden crash after the second OTA u...