KeSp_controller/src/logic
Mae PUGIN 0448efebc9 fix: Auto-erase otadata when flashing factory partition
When writing to factory (0x20000), automatically erase the otadata
partition (0xF000, 8KB) by writing 0xFF blocks. This forces the
bootloader to fall back to factory on next boot, instead of
continuing to boot from ota_0.

Without this, flashing factory "succeeds" but the ESP keeps
booting the old firmware from ota_0.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 15:16:57 +02:00
..
serial feat: Complete KeSp Controller — Slint UI port 2026-04-06 20:40:34 +02:00
binary_protocol.rs feat: Complete KeSp Controller — Slint UI port 2026-04-06 20:40:34 +02:00
flasher.rs fix: Auto-erase otadata when flashing factory partition 2026-04-07 15:16:57 +02:00
keycode.rs feat: Complete KeSp Controller — Slint UI port 2026-04-06 20:40:34 +02:00
layout.rs feat: Complete KeSp Controller — Slint UI port 2026-04-06 20:40:34 +02:00
layout_remap.rs feat: Complete KeSp Controller — Slint UI port 2026-04-06 20:40:34 +02:00
mod.rs feat: Complete KeSp Controller — Slint UI port 2026-04-06 20:40:34 +02:00
parsers.rs fix: KO parser for actual firmware format 2026-04-07 11:25:01 +02:00
protocol.rs feat: Complete KeSp Controller — Slint UI port 2026-04-06 20:40:34 +02:00
settings.rs feat: Complete KeSp Controller — Slint UI port 2026-04-06 20:40:34 +02:00
stats_analyzer.rs feat: Complete KeSp Controller — Slint UI port 2026-04-06 20:40:34 +02:00