Skip to content

run: option to bypass main.py autostart (soft reset boots the app, not the script) #26

Description

@bdbarnett

On a board with a main.py, mpftp run soft-resets first — which boots main.py instead of the uploaded script, and the run times out. The workaround is renaming /main.py aside and restoring it afterwards, which is easy to forget half-done.

Request: a flag such as run --skip-main that enters raw REPL without letting main.py execute (the raw-REPL soft reboot already suppresses main.py in mpremote — surfacing that behavior may be all this needs). Useful for anyone iterating on a board that autostarts an app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions