2,4,16Mb存储芯片修改文件说明
修改 ports/rp2/rp2_flash.c 文件
#define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
#define MICROPY_HW_FLASH_STORAGE_BYTES (3 * 1024 * 1024)
#define MICROPY_HW_FLASH_STORAGE_BYTES (15 * 1024 * 1024)
修改 lib/pico-sdk/src/boards/include/boards/pico.h 文件
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
修改 ports/rp2/boards/RPI_PICO/mpconfigboard.h 文件
#define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
#define MICROPY_HW_FLASH_STORAGE_BYTES (3 * 1024 * 1024)
#define MICROPY_HW_FLASH_STORAGE_BYTES (15 * 1024 * 1024)
评论已关闭