Expand description
§Build support for embedded Rust
A library with many utilities for building embedded frameworks, libraries, and other artifacts in a cargo build script.
It is currently mainly used to simplify building the esp-idf
in the build script of the
esp-idf-sys
crate, but anyone may use them as they’re intended to be general. The
utilities are organized into specific modules so that they and their dependencies can be
turned on or off with features.
Modules§
- bindgen
bindgen
Bindgen utilities for generating bindings to C/C++ code. - bingen
elf
- Build utilities for cargo build scripts.
- Utils for interacting with cargo.
- CLI argument manipulation utilities.
- cmake
cmake
CMake file API and other utilities. - Command building and running utilities.
- espidf
espidf
esp-idf source and tools installation. - Filesystem utilities.
- git
git
Git repository manipulation through the git CLI. - kconfig
kconfig
A quick and dirty parser for the .config files generated by kconfig systems (e.g. used in the esp-idf). - pio
pio
Platformio installation and manipulation support. - Python utilities.
- symgen
elf
- Miscellaneous utilities.
Macros§
- Create a new
Cmd
instance. - Build a command using a given
std::process::Command
orCmd
and return it. - Build a
PathBuf
.