Hi,
I have found some functions in C to manage a cooperative multitask in ESP-32 (https://randomnerdtutorials.com/esp32-d ... duino-ide/) in which you can choose in which core (0 or 1) it is you want to run each task.
Is there something similar in micropython, where you can choose the kernel?
CORE in ESP32
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: CORE in ESP32
No. FreeRTOS runs on one core and MicroPython on the other. MicroPython supports pre-emptive multitasking via _thread and cooperative multitasking via uasyncio, but in both cases (on ESP32) execution is on a single core.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.