Replies: 1 comment 1 reply
-
Yes, this is possible. See #11430 and its use in cwalther/pew-playdate for examples, in particular commit cwalther/pew-playdate@463cb1b and following. It has been a while since I have worked on it, so I don’t remember the details. I vaguely remember that there are two ways of running the REPL, or standard input in general: A “blocking” one where the library calls you to ask/wait for input (typically used on bare-metal targets), and an “event-driven” one where you call into the library to provide input (may be more convenient in an embedding situation). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Im using micropython building inside eclipse project, generating all the files from the embed port: https://github.com/micropython/micropython/tree/master/ports/embed
The executable works file, its able to compile a hardcoded python program and run it, but I need the REPL functionality.
Its supported?, how can I add it?
Beta Was this translation helpful? Give feedback.
All reactions