logoalt Hacker News

MrBuddyCasinolast Friday at 10:41 AM1 replyview on HN

Can it use multiple cores, eg on the ESP32? It doesn't so say on the landing page.

UPDATE: it seems so, using a second executor. There is "embassy_sync" to communicate.


Replies

cyberaxlast Friday at 8:50 PM

Absolutely. I'm using it on RP2040, and it's actually superfun to have real low-level code working in parallel.

In my case, one CPU is doing the CAN-based communication and the device control loop, and the other core is providing the IP-based interface with SNMP-based monitoring.