Page 1 of 1

CORE in ESP32

Posted: Mon Apr 19, 2021 5:21 pm
by lbayo
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?

Re: CORE in ESP32

Posted: Tue Apr 20, 2021 12:17 pm
by pythoncoder
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.