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

github.com/esp-rs/esp-generate @v1.3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.3.0 ↗ · + Follow
180 symbols 392 edges 17 files 28 documented · 16%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

esp-generate

Crates.io MSRV Crates.io

Template generation tool to create no_std applications targeting Espressif's line of SoCs and modules.

At present, this template supports the ESP32, ESP32-C2/C3/C6, ESP32-H2, and ESP32-S2/S3. Support for additional devices will be added as they become available.

Quickstart

To generate a project using this template:

  1. Install esp-generate:
cargo install esp-generate --locked

You can also directly download pre-compiled release binaries or use [cargo-binstall].

  1. Generate a project. There are two options:

  2. Using the Terminal User Interface (TUI):

    esp-generate You will be prompted to select a target chip and name for your project, after which you would use TUI to select the other options you need for your project.

  3. Using the Command Line Interface (CLI), adding the options to the esp-generate command:

    esp-generate --chip esp32 -o alloc -o wifi your-project Use the --headless flag to avoid using the TUI.

    Replace the chip and project name accordingly, and select the desired options using the -o/--option flag. Use the esp-generate list-options command to see a list of available options. Use esp-generate explain <option> to get a detailed explanation of an option.

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

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

select
called by 23
src/config.rs
flatten_options
called by 11
src/config.rs
find_option
called by 9
src/config.rs
metadata
called by 9
src/lib.rs
process_file
called by 7
src/main.rs
current_level
called by 6
src/tui.rs
current_level_desc
called by 6
src/tui.rs
check_version
called by 5
src/check.rs

Shape

Method 81
Function 76
Class 16
Enum 7

Languages

Rust100%

Modules by API surface

src/tui.rs49 symbols
src/config.rs29 symbols
src/main.rs23 symbols
src/check.rs20 symbols
src/template.rs13 symbols
xtask/src/main.rs9 symbols
src/toolchain.rs8 symbols
src/lib.rs8 symbols
src/cargo.rs8 symbols
template/tests/hello_test.rs2 symbols
template/tests/async_hello_test.rs2 symbols
template/src/bin/main.rs2 symbols

For agents

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

⬇ download graph artifact