program offset back to 200k, picomite size increase to 880k (1080k in total)

This commit is contained in:
Yatao Li
2025-06-18 10:06:34 +08:00
parent eb3b15e188
commit 7ce75c9ee0
14 changed files with 18 additions and 16 deletions

View File

@@ -5490,6 +5490,7 @@ void SaveOptions(void)
enable_interrupts_pico();
uSec(10000);
disable_interrupts_pico();
// XXX @cuu erased 4K, but only write sizeof(option) back?
flash_range_program(FLASH_TARGET_OFFSET, (const uint8_t *)&Option, sizeof(struct option_s));
enable_interrupts_pico();
}