分类 编译相关 下的文章

修改 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)
测试区域你看不见我你看不见我