Open fhoedemakers opened 1 year ago
Will correct this in https://github.com/pimoroni/picosystem/pull/84
Causes some problems with how we try to ship examples with MicroPython - ends up with a 32MB .uf2 - that I still need to solve.
But yes it does affect flash erase and program - https://github.com/raspberrypi/pico-sdk/blob/f396d05f8252d4670d4ea05c8b7ac938ef0cd381/src/rp2_common/hardware_flash/flash.c#L64
This PICO_FLASH_SIZE_BYTES definition still returns 2MB as the total amount of flash. Is this correct? Will this prevent flashing above 2MB when using flash_range_erase and flash_range_program in C++?