Search found 3 matches
- Sat Feb 05, 2022 2:47 pm
- Forum: Development of MicroPython
- Topic: Executing MicroPython program in non-blocking fashion
- Replies: 1
- Views: 5847
Executing MicroPython program in non-blocking fashion
If I call "mp_call_function_0(...)" my program is blocked until that function returns (i.e. when MP program finishes). Is it possible to execute MP program in non-blocking fashion? Something like "mp_call_function_0_start(...)" and it returns immediately and later I call "mp_call_function_0_continue...
- Mon Jan 31, 2022 8:13 am
- Forum: General Discussion and Questions
- Topic: Executing MicroPython program in non-blocking fashion
- Replies: 3
- Views: 6187
Re: Executing MicroPython program in non-blocking fashion
This is more of a question how to run embedded MicroPython interpreter inside some firmware and not how to write MicroPython code. I don't want my firmware to be blocked while python interpreter is running. I could use for example FreeRTOS and run MP interpreter in another thread, but if I have sing...
- Sun Jan 30, 2022 2:43 pm
- Forum: General Discussion and Questions
- Topic: Executing MicroPython program in non-blocking fashion
- Replies: 3
- Views: 6187
Executing MicroPython program in non-blocking fashion
If I call "mp_call_function_0(...)" my program is blocked until that function returns (i.e. when MP program finishes). Is it possible to execute MP program in non-blocking fashion? Something like "mp_call_function_0_start(...)" and it returns immediately and later I call "mp_call_function_0_continue...