walnux/arch/xtensa
nuttxs c4506929e9 arch/esp32_partition.c: fix the issue of switching from Factory to OTA_1
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>
2025-04-28 22:23:16 +08:00
..
include arch/xtensa: use compiler's definition of uint32 and int32 2025-04-18 09:32:58 +08:00
src arch/esp32_partition.c: fix the issue of switching from Factory to OTA_1 2025-04-28 22:23:16 +08:00
CMakeLists.txt cmake:implement CMake build of xtensa arch 2024-11-02 18:08:38 +08:00
Kconfig arch/xtensa: initial support for debugpoint api 2025-03-13 09:51:03 +01:00