Why remove ctrlCOnConnect? #297
Unanswered
leopollini
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am writing flash code for an esp32C3 module (the one with a 0.42 inch oled embedded, yes, from Aliexpress). I have created a program which simulates a remote python terminal for running and loading script remotely (https://github.com/leopollini/esp32c3-Remote-Micropython-Terminal), but I have this problem: There is a main.py script which initializes the server, but after a few second the code is blocked by the micropico terminal initialization, which sends a ctrl-c signal. I added a try/catch block in order to prevent the blocking of the main.py scipt, but since it is blocking the micropico console never starts, and never lets me upload files either. I manages a workaround by manually running the main.py every time, but it kinda sucks. It would be very nice if I could simply let the micropico console connect and read uart content, without waiting for the signal response, but I think this is all because of some initialization properties which need the board to be ready to execute code.
Beta Was this translation helpful? Give feedback.
All reactions