ESP32 dual-core question
Posted: Wed Apr 13, 2022 4:44 pm
Hi MP forum users,
I'm wondering how MicroPython handles the dual-core function from the ESP32. Since usually the network tasks run on core 0, and basically any other tasks on core 1 (user program). The user can obviously decide to add more functions to each core, but I'm wondering how this is handled within MicroPython.
Besides that I'm wondering if it's possible if MicroPython allows the user to decide what function to run in which core? Could be useful for optimization maybe?
Thanks for any help.
I'm wondering how MicroPython handles the dual-core function from the ESP32. Since usually the network tasks run on core 0, and basically any other tasks on core 1 (user program). The user can obviously decide to add more functions to each core, but I'm wondering how this is handled within MicroPython.
Besides that I'm wondering if it's possible if MicroPython allows the user to decide what function to run in which core? Could be useful for optimization maybe?
Thanks for any help.