Correct method of stopping main.py via firmware #13408
Answered
by
dlech
BrunoESP32
asked this question in
ESP32
-
Hi, I'm developing an application in conjunction with the micropython firmware and I need to restart the python codes that are running. I would like to know what would be the best solution to stop main.py or restart mp_task in the most correct way from another task.
if I achieve a soft_reset_exit or soft_reset that would be fine too. |
Beta Was this translation helpful? Give feedback.
Answered by
dlech
Jan 11, 2024
Replies: 2 comments 4 replies
-
What stops you from calling machine.soft_reset()? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Perhaps |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have to also modify the
main.c
(or other appropriate file) for whichever port you are using. The commit message (linked below) has some more info on how you would do this.d54208a