LoPy multiple cores?
-
Hi guys and gals,
I am new to uPy and LoPy. Started a week ago but love it.
I had some questions about threading. As i understand it, it would be able to support multi core systems and take advantage of the multiple cores. But the specs of the LoPy is not dual core?
Am i correct that the LoPy or the other pycom hardware is NOT dual core at the moment?
If so, are there any plans for dual core processors in the future?If any of you know other ESP32 systems that have dual core? Please send me the links :)
tl;dr: Does LoPy have dual core? If not, is it planned for the future?
-
@jmarcelino Great, then work is being done :)
Thanks for the reply!
-
This post is deleted!
-
@emil-jacero
IIRC the original plan was to use one core for the networking stack and the other core to user tasks, so I think μPython threads would still only use one core?Actually I remembered seeing a patch to add multi-core support which was merged recently:
but I haven't seen it mentioned in any release notes. Perhaps it's already using the two cores.
-
Ok,
So is it _thread that does not have support for it yet or something else?
-
The LoPy is in fact a dual core ESP32, however the firmware isn't ready to support the two cores yet.
If you program it in C you can use the two cores.