TinyTapeout / tt-commander-app

Web app to control the Tiny Tapeout Demo board
https://commander.tinytapeout.com
Other
0 stars 3 forks source link

feature request for commander -"have a make default" button #4

Open mattvenn opened 3 months ago

mattvenn commented 3 months ago

so after testing a design could easily be made default. a config file should be created and saved on the rp2040

urish commented 3 months ago

done - we now have a new "Persist config to board" button:

image

The implementation is pretty dumb - it overwrites the existing config.ini with a bare minimal one:

https://github.com/TinyTapeout/tt-commander-app/blob/fd669fcf7009ad5533f167a327b9175c7c213fd5/src/ttcontrol/ttcontrol.py#L138

couldn't fully test it since I don't have a tt03p5 demo board, so please test it and report back

mattvenn commented 3 months ago

is it dependent on some existing fw on the board?

urish commented 3 months ago

yes, https://github.com/TinyTapeout/tt-micropython-firmware

all it does is writing a config.ini file - it's up to the existing firmware to load this file and do its magic

mattvenn commented 3 months ago

not working, will check the config and report back