← index #15955Issue #10871
Off-topic · high · value 2.279
QUERY · ISSUE

docs: mpremote run command

openby davefesopened 2024-10-02updated 2025-03-03
docstools

Documentation URL

https://docs.micropython.org/en/latest/reference/mpremote.html#mpremote-command-run

Description

If you have a main.py on the device and invoke mpremote run /home/davef/main.py then the main.py on the device runs. To work on /home/davef/main.py and run that you can not have a main.py on the device.

Code of Conduct

Yes, I agree

CANDIDATE · ISSUE

mpremote soft-reset fails

closedby bulletmarkopened 2023-02-27updated 2023-08-10
bug

The command mpremote soft-reset fails since commit 413a69b94b92d1ae1cdd132e41d460259d22b9b8

$ mpremote soft-reset
Connected to MicroPython at /dev/ttyUSB0
Use Ctrl-] to exit this shell
>
MicroPython v1.19.1 on 2022-06-21; ESP32 AC-REMOTE with ESP32
Type "help()" for more information.
>>>

Prior to that commit:

$ mpremote soft-reset
$

Actually commit 413a69b94b92d1ae1cdd132e41d460259d22b9b8 was bad so I can't run that version. Immediate next commit 68d094358ec71aa8cdec97e9e6fc3c6d46dedfbf included a fix for that bad commit so this is the 1st commit which runs and I see the error thus I am not sure which of those two commits actually introduced the bug.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied