Different esp_ota_ops.h from 'git clone' and github .zip download
Posted: Mon Jul 15, 2019 10:35 pm
I upgraded my IDF as follows:
1. a rename on my old esp-idf folder (to easily revert)
2. `git clone -b v3.2.2 --recursive https://github.com/espressif/esp-idf.git` to get the latest IDF per docs (see https://docs.espressif.com/projects/esp ... et-started)
Now `esp_ota_mark_app_valid_cancel_rollback()` (and others) from `esp_ota_ops.h` was no longer found. So:
3. I downloaded the IDF as a .zip from https://github.com/espressif/esp-idf and inspected `esp_ota_ops.h` (also available online as https://github.com/espressif/esp-idf/bl ... _ota_ops.h).
Conclusion: these are different files, see attachments (smaller file is from `git clone`)
This should be impossible, right?
1. a rename on my old esp-idf folder (to easily revert)
2. `git clone -b v3.2.2 --recursive https://github.com/espressif/esp-idf.git` to get the latest IDF per docs (see https://docs.espressif.com/projects/esp ... et-started)
Now `esp_ota_mark_app_valid_cancel_rollback()` (and others) from `esp_ota_ops.h` was no longer found. So:
3. I downloaded the IDF as a .zip from https://github.com/espressif/esp-idf and inspected `esp_ota_ops.h` (also available online as https://github.com/espressif/esp-idf/bl ... _ota_ops.h).
Conclusion: these are different files, see attachments (smaller file is from `git clone`)
This should be impossible, right?