Search found 3 matches

by lhoff
Mon Jul 11, 2022 12:42 am
Forum: Programs, Libraries and Tools
Topic: Wipe Board with one command
Replies: 5
Views: 4724

Re: Wipe Board with one command

mpremote takes a series of commands to execute one after the other, but it has no state across multiple invocations. The rule is basically that if you don't do a specific control command (e.g. exec, run, fs, etc) then "repl" is added by default. So "mpremote connect u0" is the same as "mpremote con...
by lhoff
Sun Jul 10, 2022 7:38 pm
Forum: Programs, Libraries and Tools
Topic: Wipe Board with one command
Replies: 5
Views: 4724

Re: Wipe Board with one command

Hi, thanks for the answer. I haven't really though about reformating the device. When trying it in repl it worked but i have some problems with mpremote. My understanding from the docs is that "mpremote connect u0" should connect to the board but not start a repl shell. But that is what is always do...
by lhoff
Fri Jul 08, 2022 8:14 pm
Forum: Programs, Libraries and Tools
Topic: Wipe Board with one command
Replies: 5
Views: 4724

Wipe Board with one command

Hi, is there a way to clean the flash of a micropython board with one command. I don't want to reflash the whole flash. So basically a equivalent to "rm -r /" but remotely on the board. Why? Because i want to write some kind of continuous deployment for a showcase. So when a new version of the progr...