Wish ESP32 using both cores


Well-Known Member
Licensed User
Longtime User
It would be wonderful if we could use both cores of the ESP32! The Arduino code is pretty straight forward but I just don't know how you could go about assigning B4R code to each "task". Is there a way to pass B4R code into library code or inline code?


This will be difficult to add. In most cases a single core should be fast enough to do whatever you need. The problems start with blocking code such as calls to Delay.

I'm just playing with the Nerd Tutorials example shown above.

This is really neat.

It seems like it would be a great way to implement my ADC project – one core collecting samples, the other core doing FFT processing. The only synchronization would be from global variables. I think it should work.

If we stipulate No Blocking and No Synchronization, does it make it a possibility for B4R?