with a fixed seq of 1, which causes ota_get_bootseq() to return ota_0. The current solution is to directly use the target partition's number (num) as next_seq to ensure the correct increment logic of seq. Ensure the formula (seq-1) % OTA_DATA_NUM + OTA_IMG_BOOT_OTA_0 correctly maps to ota_0 or ota_1 Signed-off-by: nuttxs <zhaoqing.zhang@sony.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||