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

@@ -36,7 +36,7 @@
// According to the applink.map ,with combined PicoMite, here is 920k
// This offset is used to ensure that the bootloader does not get overwritten
// when loading a new application from the SD card
#define SD_BOOT_FLASH_OFFSET (188 * 1024)
#define SD_BOOT_FLASH_OFFSET (200 * 1024)
// Maximum size of the application that can be loaded
// This ensures we don't overwrite the bootloader itself

View File

@@ -285,7 +285,7 @@ void final_selection_callback(const char *path)
if(path == NULL) {
//load default app from flash
snprintf(status_message, sizeof(status_message), "SEL: %s", "FLASH+188k");
snprintf(status_message, sizeof(status_message), "SEL: %s", "FLASH+200k");
text_directory_ui_set_status(status_message);
sleep_ms(200);
load_firmware_by_path(path);