1 unstable release
new 0.1.0 | May 1, 2025 |
---|
#1695 in Embedded development
115KB
1.5K
SLoC
gledopto
Rust no_std
embedded board support crate for Gledopto ESP32 Digital LED controllers.
Supported Boards
Currently this library only supports one board:
- Gledopto GL-C-016WL-D,
gl_c_016wl_d
Select the board by using its respective feature.
Features
- 1D, 2D, or 3D LED control using
blinksy
- Built-in "Function" button
- Alternative "IO33" button
- Built-in microphone
Getting started
Pre-requisites
- Install Rust with
rustup
- Install ESP components
cargo install espup
espup install
- Install
espflash
cargo install espflash
- On Linux, add user to
dialout
group
sudo adduser $USER dialout
Run An Example
Source the ESP environment variables
. $HOME/export-esp.sh
(See also: https://docs.esp-rs.org/book/installation/riscv-and-xtensa.html#3-set-up-the-environment-variables )
cargo run --example dev
Resources
- Rust on ESP book: https://docs.esp-rs.org/book
- ESP no-std book: https://docs.esp-rs.org/no_std-training
- ESP no-std examples: https://github.com/esp-rs/no_std-training
- Gledopto GL-C-016WL-D page: https://www.gledopto.eu/gledopto-esp32-wled-uart_1
- Gledopto GL-C-016WL-D user instructions: https://www.gledopto.eu/mediafiles/anleitungen/7002-gl-c-016wl-d-eng.pdf
Dependencies
~70MB
~1.5M SLoC