# ESP-IDF workshop examples — ESP32-C6

Reference ESP-IDF projects aligned with the **published** [ESP32-C6 workshop](../../EN/) chapters (introduction + assignments **1–6**).

From this directory, `./build-all.sh` sets the target to **esp32c6** and builds each project. On the website, open a project folder to read the files, or download the `.zip` linked beside it.

## Layout

| Workshop chapter | Directory |
| --- | --- |
| Assignment 1: Install ESP-IDF | [`assignment-01-install-verify`](assignment-01-install-verify/) |
| Assignment 2: Basics: Hello World & LED | [`assignment-02-led-components`](assignment-02-led-components/) |
| Assignment 3: Wi-Fi & Provisioning | [`assignment-03-wifi-provisioning`](assignment-03-wifi-provisioning/) |
| Assignment 4: OTA Updates (student board) | [`assignment-04-ota`](assignment-04-ota/) |
| Assignment 4: OTA server (second board) | [`assignment-04-ota-server`](assignment-04-ota-server/) |
| Assignment 5: ESP-NOW Chat Room | [`assignment-05-esp-now`](assignment-05-esp-now/) |
| Assignment 6: LP-core | [`assignment-06-low-power`](assignment-06-low-power/) |

Starting with Assignment 4, these projects assume you have a push-button wired to **GPIO0** (with an external pull-down resistor, other leg to **3V3**) and are using the onboard WS2812 LED on **GPIO8** for status — see Assignment 4's "Connecting a Button" section for the wiring diagram. Assignment 5 uses that LED and `idf.py monitor` for the chat. Assignment 6 adds two external LEDs, blue on **GPIO6** and green on **GPIO7**, and uses the same button on **GPIO0**.

The Assignment 4 server is a second board. Flash `assignment-04-ota-server` onto it; it joins the `ESP32-WS` router and serves the prebuilt `firmware.bin` at `http://192.168.0.100/firmware.bin`.

