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

@@ -4659,7 +4659,8 @@ tp = checkstring(cmdline, (unsigned char *)"HEARTBEAT");
enable_interrupts_pico();
uSec(10000);
disable_interrupts_pico();
flash_range_program(FLASH_TARGET_OFFSET, (const uint8_t *)&Option, 768);
// XXX @cuu not writing sizeof(option)?
flash_range_program(FLASH_TARGET_OFFSET, (const uint8_t *)&Option, sizeof(struct option_s));
enable_interrupts_pico();
_excep_code = RESET_COMMAND;
SoftReset();