MCPcopy Index your code
hub / github.com/esp-rs/esp-hal-community

github.com/esp-rs/esp-hal-community @esp-hal-smartled-v0.17.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release esp-hal-smartled-v0.17.0 ↗ · + Follow
35 symbols 55 edges 7 files 21 documented · 60% updated 2mo agoesp-hal-buzzer-v0.2.0 · 2025-10-02★ 709 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

esp-hal-community

GitHub Actions Workflow Status MIT/Apache-2.0 licensed Matrix

A collection of crates for use alongside esp-hal, but which are maintained by the community.

Examples

The following command can be used to run the smart LED example on a ESP32C6 target.

cargo +stable run --example hello_rgb --features "esp32c6" --target=riscv32imac-unknown-none-elf --release

This repository also provides a justfile which provides just run-esp32c6 hello_rgb as a shorthand for the command above. There are also shorthands for running other examples and running on other chips. You can use just --list to list all provided shorthands.

There are two sample toolchain files available for simplifying development: rust-toolchain-risc-v.toml and rust-toolchain-xtensa.toml. Depending on which target you develop for, you can use cp rust-toolchain-risc-v.toml rust-toolchain.toml or cp rust-toolchain-xtensa.toml rust-toolchain.toml to set the correct Rust toolchain.

Contributing a Crate

If you have a crate which depends on esp-hal and provides some additional functionality, we encourage you to contribute it to this repository!

When opening a pull request to add a new crate, we ask that you please ensure the following criteria are met:

  • The new crate follows the esp-hal-* naming convention
  • The new crate contains CHANGELOG.md and README.md files, following the formatting of other crates in this repository
  • The new crate is added to the CI workflow
  • The new crate has been added to CODEOWNERS along with your username
  • If you are unable or unwilling to take ownership of this crate for whatever reason, please state such in your pull request and we can try to find an owner for it

Upon approval of your pull request, you will be granted Maintainer privileges on the repository and be added as an owner on crates.io, assuming you are commiting to be code owner for the added crate.

License

Licensed under either of:

  • Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Contribution notice

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Core symbols most depended-on inside this repo

play_song
called by 14
esp-hal-buzzer/src/lib.rs
mute
called by 7
esp-hal-buzzer/src/lib.rs
write
called by 3
esp-hal-smartled/src/lib.rs
play
called by 3
esp-hal-buzzer/src/lib.rs
led_pulses_for_clock
called by 2
esp-hal-smartled/src/lib.rs
led_config
called by 2
esp-hal-smartled/src/lib.rs
convert_to_pulses
called by 2
esp-hal-smartled/src/lib.rs
convert_rgb_channel_to_pulses
called by 2
esp-hal-smartled/src/lib.rs

Shape

Method 15
Function 12
Class 5
Enum 3

Languages

Rust100%

Modules by API surface

esp-hal-smartled/src/lib.rs17 symbols
esp-hal-buzzer/src/lib.rs14 symbols
esp-hal-smartled/examples/hello_rgbw.rs1 symbols
esp-hal-smartled/examples/hello_rgb_async.rs1 symbols
esp-hal-smartled/examples/hello_rgb.rs1 symbols
esp-hal-buzzer/examples/buzzer.rs1 symbols

For agents

$ claude mcp add esp-hal-community \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page