Lerne Firmware für den ESP32-C6-Touch-LCD-2.8 mit Codex für Amateurfunkprojekte zu erstellen.
  • Typst 78.6%
  • Python 11.5%
  • C++ 5.4%
  • Shell 4.2%
  • CMake 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-01 14:53:37 +01:00
.github Master 2026-10-25 11:31:54 +01:00
advanced Master 2026-10-25 11:31:54 +01:00
architecture Master 2026-10-25 11:31:54 +01:00
assets Ergänzung HW Beschreibung 2026-10-26 18:14:23 +01:00
components initial keyer 2026-10-28 17:15:21 +01:00
docs Installation script added 2026-10-28 12:24:06 +01:00
enclosure Master 2026-10-25 11:31:54 +01:00
examples debouncing 3 2026-10-31 13:44:52 +01:00
factory-firmware IAMBIC Keyer v0.1 2026-10-31 12:11:00 +01:00
hardware Installation script added 2026-10-28 12:24:06 +01:00
LICENSES audio & touch & position confirmed 2026-10-28 13:34:32 +01:00
output/pdf Installation script added 2026-10-28 12:24:06 +01:00
scripts Installation script added 2026-10-28 12:24:06 +01:00
slides Master 2026-10-25 11:31:54 +01:00
standards Installation script added 2026-10-28 12:24:06 +01:00
tests Master 2026-10-25 11:31:54 +01:00
tools Master 2026-10-25 11:31:54 +01:00
typst Installation script added 2026-10-28 12:24:06 +01:00
.gitattributes Installation script added 2026-10-28 12:24:06 +01:00
.gitignore iambic keyer 2026-10-29 00:19:53 +01:00
530480210.dxf Installation script added 2026-10-28 12:24:06 +01:00
AGENTS.md IAMBIC Keyer v0.1 2026-10-31 12:11:00 +01:00
CMakeLists.txt Master 2026-10-25 11:31:54 +01:00
Git.DARC.de.en.md Add Git and Forgejo guides 2026-11-01 14:53:37 +01:00
Git.DARC.de.md Add Git and Forgejo guides 2026-11-01 14:53:37 +01:00
LICENSE Master 2026-10-25 11:31:54 +01:00
pytest.ini Master 2026-10-25 11:31:54 +01:00
README.de.md Add Git and Forgejo guides 2026-11-01 14:53:37 +01:00
README.md Add Git and Forgejo guides 2026-11-01 14:53:37 +01:00

ESP32-C6 Codex Workshop

Waveshare ESP32-C6 touch LCD in a blue enclosure displaying Hello World and the DARC logo

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:

  1. Hello World and flashing
  2. Display output
  3. Touch input and LVGL
  4. Wi-Fi functionality
  5. 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

  1. Prepare an Ubuntu Linux machine and basic terminal/Git access. See Chapter 01 (German) for the introduction and Chapter 00 (German) for general requirements.
  2. Install and verify ESP-IDF 6.1.0 and the correct ESP32-C6 toolchain, following the official ESP-IDF instructions.
  3. Connect the Waveshare board; verify the exact hardware revision, pinout, and peripheral controllers before using GPIOs.
  4. Enter a completed example directory and use idf.py set-target esp32c6, idf.py build, and idf.py flash monitor as appropriate.
  5. Read AGENTS.md before 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.