Skip to main content

WS00C

ESP-IDF Workshop: ESP32-C5

·5 mins
This workshop covers Wi-Fi 5 connectivity, partition tables, OTA updates, and the Extra ULP coprocessor on the ESP32-C5.

ESP-IDF C5 - Lecture 4

·5 mins
Discover how the ESP32-C5 saves power through its sleep modes and the Ultra Low Power (ULP) LP core coprocessor, including how to program the LP core, enter sleep, and wake the main CPU.

ESP-IDF C5 - Lecture 3

·6 mins
Learn how Over-the-Air (OTA) updates work on Espressif devices, including the ESP-IDF app_update and esp_https_ota components and the partition table layout required to support safe updates.

ESP-IDF C5 - Lecture 2

·5 mins
This lecture introduces the ESP-IDF partition table, its typical elements, and how to select a built-in scheme through menuconfig.

ESP-IDF C5 - Lecture 1

·3 mins
This lecture introduces the ESP32-C5 and its dual-band Wi-Fi 6 radio, then explains how to configure the 2.4 GHz and 5 GHz bands using the ESP-IDF Wi-Fi driver.

ESP-IDF C5 - Assign. 4.2

·5 mins
Write a program that runs on the LP core while the main CPU is in deep sleep. The LP core wakes periodically on the LP timer, increments a counter, and wakes the main CPU once the counter reaches a threshold.

ESP-IDF C5 - Assign. 4.1

·4 mins
Write an application that enters deep sleep, wakes up periodically with the RTC timer, and keeps a counter alive across sleep cycles using RTC memory.

ESP-IDF C5 - Assign. 3.3

·6 mins
Extend the application from Assignment 3.1 so it fetches a remote version string before updating, and only calls esp_https_ota when that remote version is newer than the one currently running.

ESP-IDF C5 - Assign. 3.2 (Optional)

·6 mins
Extend the OTA application from the previous assignment with rollback support, so that a newly updated firmware must confirm it works before it is trusted, and is otherwise automatically reverted to the previous working image.

ESP-IDF C5 - Assign. 3.1

·6 mins
Configure the partition table for OTA, then write an application that connects to Wi-Fi and performs a single OTA update by downloading new firmware from a fixed HTTPS URL with esp_https_ota.

ESP-IDF C5 - Assign. 2.2

·2 mins
Create a custom partition table that adds a spiffs filesystem partition, then flash it and confirm the change by reading it back from flash.

ESP-IDF C5 - Assign. 2.1

·3 mins
Switch the partition table to a scheme that supports OTA updates, and confirm the change by reading it back from flash.

ESP-IDF C5 - Assign. 1.2

·4 mins
Change the band mode of the station from Assignment 1.1 so the ESP32-C5 picks the band automatically instead of being locked to 5 GHz.

ESP-IDF C5 - Assign. 1.1

·9 mins
Write an application that connects the ESP32-C5 to a Wi-Fi network as a station, restricts the radio to the 5 GHz band, and reports the band and channel it joined.