TinyCircuits / TinyCircuits-Thumby-Code-Editor

https://code.thumby.us/
GNU General Public License v3.0
30 stars 20 forks source link

Change firmware download link and reorganize utilities dropdown #73

Closed ghost closed 1 year ago

ghost commented 1 year ago

What this does:

  1. Changes the firmware download link in the utilities dropdown from 1.18.1 MicroPython (outdated) to the ThumbyFirmware.uf2 in this repo.
  2. Changes the look of the utilities dropdown to divide it into clearer sections (up to opinion of others): image
ace-dent commented 1 year ago

Perhaps a naive question, but why is the ThumbyFirmware.uf2 4.2MB...? rp2-pico-20220618-v1.19.1.uf2 610 KB. emulator-firmware.uf2 613KB.

masonova1 commented 1 year ago

https://github.com/microsoft/uf2#file-format

In addition to UF2 details and headers, we're also basically moving a 2MB filesystem partition on the flash along with uPython firmware. If you can find an avenue that doesn't involve that FS copy, please tell us! We do need to copy a filesystem, but the allocated space is much larger than the factory software.

ace-dent commented 1 year ago

Thanks @masonova1. I guess shrinking the size of the file to burn would also save TC some time in production? ...are you recruiting for a remote position? ;-) In the future I may look into UF2 more deeply. What are you currently using to compile the firmware+FS -> UF2 ?