sdcard picomite: sync with upstream

This commit is contained in:
Yatao Li
2025-06-15 21:31:45 +08:00
parent f305e6def6
commit eb3b15e188
37 changed files with 3695 additions and 449 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 (200 * 1024)
#define SD_BOOT_FLASH_OFFSET (188 * 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+200k");
snprintf(status_message, sizeof(status_message), "SEL: %s", "FLASH+188k");
text_directory_ui_set_status(status_message);
sleep_ms(200);
load_firmware_by_path(path);