Replies: 3 comments
-
Moving to a discussion. If anyone is interested in implementing this, or knows how it could be done, just comment :) |
Beta Was this translation helpful? Give feedback.
-
I think this is actually something that could be done fairly easily as a user-c-module. The RTT library it pretty much standalone with a read / write pair of functions. These could be wrapped / exposed as a python class that implements the stream protocol so you can use RTT as a normal python stream. This class could be then instantiated in boot/main.py and registered with dupterm to add it to the repl. |
Beta Was this translation helpful? Give feedback.
-
On a whim I asked Gemini:
What it gave actually looks really quite good, it might almost work:
For more info: https://g.co/gemini/share/22c87cdbc161 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Don't know the feasibility of this (not very familiar with RTT), but it would be very useful to support REPL over SEGGER's RTT, for boards that do not have a UART, USB or other means of communication.
Beta Was this translation helpful? Give feedback.
All reactions