Practical Sections
Setting Up FreeRTOS on ESP-32
Two cores in ESP-32 let this low-power microcontroller operate:
- CPU0: Handles BLE, Bluetooth, and Wi-Fi wireless protocols.
- CPU1: Executes code for user apps.
Installing and configuring the ESP-32 Arduino Core:
1. Obtain the most recent Arduino IDE and install it.
2. Launch Arduino IDE then go to File / Preferences. Enter in the field Additional Boards Manager URLs:
https://dl.espressif.com/dl/package_esp32_index.json
3. Go to Tools / Board / Boards Manager, look for esp32, and install the most recent release from Espressif Systems.
4. Go to Tools / Board / ESP32 Arduino and pick the right board (like ESP32 Dev Module or ESP32 Wrover Module).
All about FreeRTOS APIs
1. `xTaskCreate()`