Skip to main content

Crate dmx_interface

Crate dmx_interface 

Source
Expand description

DMX interface firmware for ESP32-S2 (Lolin S2 Mini).

Current scope: status LED on GPIO7 (LEDC PWM, own embassy task), user button on GPIO5 (power-up factory-reset hold plus click actions), USB-CDC with esptool auto-reset, ring-buffer logging over the CDC port, panic reports persisted across resets, and a WiFi network stack (AP with DHCP server or station mode, AP fallback).

Modulesยง

boards ๐Ÿ”’
Board-specific pin definitions and configuration.
config ๐Ÿ”’
Configuration data model for the DMX interface.
hardware ๐Ÿ”’
Hardware abstraction layer.
logging ๐Ÿ”’
Logging backend: routes the log-04 facade into a static ring buffer which is drained over the USB-CDC connection.
net ๐Ÿ”’
WiFi radio and TCP/IP stack (esp-radio + embassy-net).
panic_report ๐Ÿ”’
Panic capture and last-panic persistence.
storage ๐Ÿ”’
NVS persistent storage for device configuration and crash reports.

Staticsยง

ESP_APP_DESC
Application metadata descriptor.

Functionsยง

stable_marker ๐Ÿ”’
Clears the panic boot-loop counter once the firmware ran stably for 30 s.