TinyCircuits / TinyCircuits-Tiny-Game-Engine

MicroPython game engine for TinyCircuits Thumby Color
GNU General Public License v3.0
9 stars 1 forks source link

Filesystem errors #66

Closed TinyCircuits closed 2 months ago

TinyCircuits commented 2 months ago

Sometimes when uploading files, errors occur. These errors include:

After some investigation, it looks like the flash is probably partitioned as:

| FIRMWAREE | EMPTY SPACE | FILE SYSTEM |
|-----------|------------ |-------------|
|           |             |             |

Whereas I thought it would be FIRMWARE | FILE SYSTEM | EMPTY SPACE

How big the firmware section is still needs to be investigated, but the filesystem for sure looks to be in the location diagramed above: https://github.com/micropython/micropython/blob/20b00ca501f5e7ff096ae3e31c3e7e7d99963d23/ports/rp2/rp2_flash.c#L44