Skip to content
Discussion options

You must be logged in to vote

Is it possible to use both cores on the ESP32 and how?

@PWSJA MicroPython does not support dual-core on the ESP32, it will always run all its threads on the same core.

@karfas This isn't specifically related to the GIL -- the threads are on the same core the OP's problem would happen regardless.

You're right though, if we did add support for multi-core on ESP32 then we would have to disable the GIL in order to get any real benefit -- exactly like on rp2040.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@PWSJA
Comment options

@karfas
Comment options

@PWSJA
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by PWSJA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
3 participants