Hi, I have a Pico Lipo 16MB and downloaded UF2 from:
https://micropython.org/download/PIMORO ... LIPO_16MB/
On checking the storage size on Thonny, it shows I only have 7MB when there should be 16MB of flash available.
I have tried all the available releases. What could cause this to happen and any ideas for how to solve?
Pico Lipo 16MB, micropython only shows 7MB
Re: Pico Lipo 16MB, micropython only shows 7MB
I have the same problem and wonder what is going on.
Re: Pico Lipo 16MB, micropython only shows 7MB
Itis a wrong definition in the board files.
1 MB is reserved for the MicroPython code itself.
It should be 15 * 1024 * 1024 to make use of a 16MByte flash device.#define MICROPY_HW_BOARD_NAME "Pimoroni Pico LiPo 16MB"
#define MICROPY_HW_FLASH_STORAGE_BYTES (7 * 1024 * 1024)
1 MB is reserved for the MicroPython code itself.
Re: Pico Lipo 16MB, micropython only shows 7MB
Was originally set to 7MB for a 8MB flash chip. Oops... it's a 16MB chip!
Updated to 15MB in:
https://github.com/micropython/micropython/pull/7997
Updated to 15MB in:
https://github.com/micropython/micropython/pull/7997
Re: Pico Lipo 16MB, micropython only shows 7MB
Thanks Robert!Roberthh wrote: ↑Tue Nov 16, 2021 3:15 pmItis a wrong definition in the board files.It should be 15 * 1024 * 1024 to make use of a 16MByte flash device.#define MICROPY_HW_BOARD_NAME "Pimoroni Pico LiPo 16MB"
#define MICROPY_HW_FLASH_STORAGE_BYTES (7 * 1024 * 1024)
1 MB is reserved for the MicroPython code itself.