Open Josverl opened 2 months ago
Aiorepl is not supported.
I dont think its supported by mpremote
either
With mpremote it just works, (Jimmo worked on both aiorepl and mpremote) Both the repl and copy work while keeping an async app running.
Interesting, thanks for bringing it up!
Describe the bug
Setup
-->
(sys.ps1) https://github.com/micropython/micropython-lib/tree/master/micropython/aioreplTo Reproduce Steps to reproduce the behavior:
machine.reset()
have been issuedExpected behavior
-->
be recognized as one of the standard prompts similar to>>>
Actual Screenshots / Logs
Terminal transcript
--> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> Bleep , state: 0 --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> Bleep , state: 0 --> --> --> --> import machine; machine.reset() --> --> --> --> Bleep , state: 0 --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> Bleep , state: 0 --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> MicroPython v1.23.0-1.g82f2d8332 on 2024-09-07; RP2040-Zero with RP2040 Type "help()" for more information. >>> MPY: soft reboot Setting color to (76, 76, 76) Setting color to (0, 0, 0) Starting tasks... Bleep , state: 0 Starting asyncio REPL... --> MicroPython v1.23.0-1.g82f2d8332 on 2024-09-07; RP2040-Zero with RP2040 Type "help()" for more information. >>> >>> >>> MPY: soft reboot Setting color to (76, 76, 76) Setting color to (0, 0, 0) Starting tasks... Bleep , state: 0 Starting asyncio REPL... --> MicroPython v1.23.0-1.g82f2d8332 on 2024-09-07; RP2040-Zero with RP2040 Type "help()" for more information. >>> >>> >>> MPY: soft reboot Setting color to (76, 76, 76) Setting color to (0, 0, 0) Starting tasks... Bleep , state: 0 Starting asyncio REPL... --> MicroPython v1.23.0-1.g82f2d8332 on 2024-09-07; RP2040-Zero with RP2040 Type "help()" for more information. >>> >>> >>> MPY: soft reboot Setting color to (76, 76, 76) Setting color to (0, 0, 0) Starting tasks... Bleep , state: 0 Starting asyncio REPL... --> MicroPython v1.23.0-1.g82f2d8332 on 2024-09-07; RP2040-Zero with RP2040 Type "help()" for more information. >>> >>> >>> MPY: soft reboot Setting color to (76, 76, 76) Setting color to (0, 0, 0) Starting tasks... Bleep , state: 0 Starting asyncio REPL... --> MicroPython v1.23.0-1.g82f2d8332 on 2024-09-07; RP2040-Zero with RP2040 Type "help()" for more information. >>> >>> >>> MPY: soft reboot Setting color to (76, 76, 76) Setting color to (0, 0, 0) Starting tasks... Bleep , state: 0 Starting asyncio REPL... --> MicroPython v1.23.0-1.g82f2d8332 on 2024-09-07; RP2040-Zero with RP2040 Type "help()" for more information. >>> >>> >>> MPY: soft reboot Setting color to (76, 76, 76) Setting color to (0, 0, 0) Starting tasks... Bleep , state: 0 Starting asyncio REPL... --> MicroPython v1.23.0-1.g82f2d8332 on 2024-09-07; RP2040-Zero with RP2040 Type "help()" for more information. >>> >>> >>> MPY: soft reboot Setting color to (76, 76, 76) Setting color to (0, 0, 0) Starting tasks... Bleep , state: 0 Starting asyncio REPL... --> MicroPython v1.23.0-1.g82f2d8332 on 2024-09-07; RP2040-Zero with RP2040 Type "help()" for more information. >>> >>> >>> MPY: soft reboot Setting color to (76, 76, 76) Setting color to (0, 0, 0) Starting tasks... Bleep , state: 0 Starting asyncio REPL... --> MicroPython v1.23.0-1.g82f2d8332 on 2024-09-07; RP2040-Zero with RP2040 Type "help()" for more information. >>> >>> >>> >>>
Additional context I assume that viper-ise waits for detection of a system prompt , and that the expected value is limited to
>>>
and possibly...
.aiorepl uses a default prompt of
-->
In addition the micropython repl allows the prompts to be changed , so it would make sense to allow for prompts other than just
>>>
in advanced configuration