Skip to content

Automatically run repl.py after code.py finishes without press any key prompt #9103

@RetiredWizard

Description

@RetiredWizard

I would like to use repl.py to run a "virtual repl" after code.py runs on boards that aren't connected to a host PC and have an alternate input method not supported by the core (serial matrix/i2c keyboard, touch screen, etc) but currently after code.py finishes the

Press any key to enter the REPL. Use CTRL-D to reload.

message is displayed and unless an input device supported by the core is connected Circuit Python is done.

I think the advantage of this would be that as I understand it code.py runs in it's own "memory space"? which get's reset when it's done running so the "virtual repl" would be running in a new clean memory space without any overhead from the original code.py program.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions