Introduction to RTOS Part 12 - Multicore Systems | Digi-Key Electronics

Running tasks in an RTOS on a multicore system can seem daunting at first. Many processors have unique architectures that you must keep in mind when writing programs that use more than one core. We examine the FreeRTOS port for the ESP32 (known as ESP-IDF) and how to synchronize tasks on both cores. The solution to the challenge can be found here: Code for this video series (including demonstrations, challenges, and solutions) can be found here: Programming a multicore system can be separated into two paradigms: asymmetric multiprocessing (AMP) and symmetric multiprocessing (SMP). AMP requires a primary core running an operating system to schedule tasks in other (secondary) cores. In SMP, the OS runs on all cores, and the scheduler is free to pull tasks from a shared list. ESP-IDF is the port of FreeRTOS for the ESP32, and
Back to Top