ESP32 Multi-Core Programming: Dual-Core Task Assignment and Shared Memory Synchronization
The ESP32 features a dual-core Xtensa processor. This guide walks through how to assign tasks to different cores using FreeRTOS, and safely synchronize shared memory across cores with mutexes, semaphores, and message queues — complete with full code examples.