- Typst 78.6%
- Python 11.5%
- C++ 5.4%
- Shell 4.2%
- CMake 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github | ||
| advanced | ||
| architecture | ||
| assets | ||
| components | ||
| docs | ||
| enclosure | ||
| examples | ||
| factory-firmware | ||
| hardware | ||
| LICENSES | ||
| output/pdf | ||
| scripts | ||
| slides | ||
| standards | ||
| tests | ||
| tools | ||
| typst | ||
| .gitattributes | ||
| .gitignore | ||
| 530480210.dxf | ||
| AGENTS.md | ||
| CMakeLists.txt | ||
| Git.DARC.de.en.md | ||
| Git.DARC.de.md | ||
| LICENSE | ||
| pytest.ini | ||
| README.de.md | ||
| README.md | ||
ESP32-C6 Codex Workshop
Languages: English · Deutsch
A hands-on, bilingual amateur-radio technology workshop on developing embedded firmware and mechanical enclosures with OpenAI Codex. The workshop uses the Waveshare ESP32-C6 2.8-inch LCD Touch Display Board as its common hardware platform.
The main learning objective is to turn natural-language requirements into working, tested, and documented engineering results—and to learn how to verify those results independently. The course is designed for participants with different technical backgrounds; prerequisites and terminology will be introduced explicitly.
Versatile hardware
The Waveshare module is exceptionally versatile: it integrates Wi-Fi 6, Bluetooth Low Energy, and Thread for wireless connectivity. It also includes a lithium battery charging circuit, a speaker output with an audio amplifier, and a microphone. Additional peripherals can be connected through interfaces such as I²C, UART, and GPIO. The display has a capacitive touch panel with multi-touch support.
Datasheets, the schematic, and further technical documentation are available in hardware/datasheets/. The Waveshare manufacturer documentation provides an overview of the features.
Technology stack
| Area | Choice |
|---|---|
| Host environment | Ubuntu Linux, command line only (fish examples) |
| Microcontroller | ESP32-C6, Waveshare 2.8-inch touch LCD board |
| Firmware SDK | ESP-IDF 6.1.0 |
| Language | C++, requested GNU++26 dialect |
| Real-time operating system | FreeRTOS (included with ESP-IDF) |
| User interface | LVGL 9 |
| Build | CMake and idf.py |
| Testing | Host tests, ESP-IDF Unity, pytest-embedded, regression tests |
| Coding rules | Internal standard inspired by MISRA C++:2023 |
| Markdown diagrams | Mermaid |
| PDF documents | Typst templates |
| Mechanical CAD | FreeCAD, Codex skill, MCP, manufacturer STEP model |
| Version control | Git |
Toolchain caveat: GNU++26 feature support must be checked against the compiler shipped with the selected ESP-IDF toolchain; no unverified compatibility claim is made.
Workshop modules
1. Embedded firmware with Codex
Progressive ESP-IDF/C++ exercises:
- Hello World and flashing
- Display output
- Touch input and LVGL
- Wi-Fi functionality
- Amateur-radio Morse keyer (including an iambic paddle as an optional hardware input)
Codex is expected to generate and maintain automated tests, run the checks available in its environment, fix failures, and report which hardware checks remain pending.
2. Enclosure design with Codex and FreeCAD
A real case study: Codex found a manufacturer STEP model for the Waveshare board and used a FreeCAD skill to construct an enclosure in approximately two to three prompts. The original prompts and project files will be added when available. Parametric editability, printable geometry, and physical fit still require verification.
3. Advanced module (reserved)
The advanced/mbse-gaphor/ module is intentionally empty. Future topics include model-based and architecture-driven software development with Gaphor.
Repository map
AGENTS.md Codex project instructions and quality rules
README.md English entry point
README.de.md Deutscher Einstieg
docs/de/ German course documentation
docs/en/ English course documentation
examples/ Independent ESP-IDF exercises
components/ Reusable C++ firmware components
tests/ Automated test suites
hardware/ Board documentation and references
enclosure/ FreeCAD models, prompts, and exports
standards/ Coding, testing, documentation, licensing
architecture/ Design decisions and architecture artifacts
advanced/mbse-gaphor/ Reserved for later Gaphor material
typst/ Templates and PDF document sources
slides/ Workshop presentation material
Documentation in Markdown uses Mermaid for diagrams. Course PDFs are built from Typst templates. The workshop does not provide Windows, Microsoft Word, LibreOffice, Arduino, or PlatformIO instructions.
Git and collaboration on git.darc.de
The Git and Forgejo guide explains cloning, forks, branches, pull requests, permissions, SSH keys and HTTPS access tokens using this workshop repository as an example. A German version is also available.
Getting started
- Prepare an Ubuntu Linux machine and basic terminal/Git access. See Chapter 01 (German) for the introduction and Chapter 00 (German) for general requirements.
- Install and verify ESP-IDF 6.1.0 and the correct ESP32-C6 toolchain, following the official ESP-IDF instructions.
- Connect the Waveshare board; verify the exact hardware revision, pinout, and peripheral controllers before using GPIOs.
- Enter a completed example directory and use
idf.py set-target esp32c6,idf.py build, andidf.py flash monitoras appropriate. - Read
AGENTS.mdbefore asking Codex to modify the project.
Project status: Repository scaffolding and instructional material are being prepared. Do not assume that every listed example or CAD export already exists or has been tested.
License
Markdown files (.md) are licensed under Creative Commons Attribution-NonCommercial 4.0 International (CC-BY-NC-4.0); the author is DM1AR. Other project files retain their stated licenses, for example PolyForm Noncommercial for source code and templates. Third-party rights remain unaffected.
See AGENTS.md for binding contributor and Codex rules.