`esp8266`
Free[](https://crates.io/crates/esp8266) *note: esp8266 is archived, no further development planned*
FreeFree tier
About `esp8266`
esp8266 is a peripheral access crate (PAC) for the ESP8266 microcontroller, written in Rust. It provides low-level access to the ESP8266's hardware peripherals using the svd2rust tool. Since Espressif does not provide an official SVD (System View Description) for the ESP8266, the SVD used in this project was generated from C header documentation via the idf2svd tool. The crate is now part of the esp-rs/esp-pacs repository and is archived with no further development planned.
Key Features
Peripheral access crate (PAC) for the ESP8266
Generated from C header documentation via idf2svd tool
Uses svd2rust for generating Rust register mappings
SVD patching supported via svdtools
Dual-licensed under Apache-2.0 and MIT
Pros & Cons
Pros
- Provides safe, low-level access to ESP8266 hardware from Rust
- Leverages Rust's memory safety guarantees for embedded development
- SVD generation from C headers enables PAC availability despite missing official SVD
- Patching system allows flexible SVD customization
Cons
- Archived repository – no further development or updates planned
- No official SVD from Espressif; SVD generated from headers may have inaccuracies
- Requires manual SVD generation and patching process
- Limited community support compared to active projects
Best For
Embedded Rust development on the ESP8266 microcontrollerAccessing hardware peripherals such as GPIO, UART, I2C, SPIBuilding bare-metal or RTOS-based firmware for ESP8266
FAQ
What is this crate?
It is a Rust peripheral access crate (PAC) for the ESP8266 microcontroller, providing low-level register access generated via svd2rust.
Is this project still maintained?
No, the repository was archived on Feb 26, 2022, and is read-only. The project has moved to the esp-rs/esp-pacs repository.
How was the SVD created?
Since Espressif does not provide an official SVD, it was generated from the C header documentation using the idf2svd tool.
How can I contribute?
The base SVD file should not be edited directly. Instead, use svdtools patching via YAML configuration files. Contributions are no longer accepted as the repository is archived.
What license is this crate under?
Dual-licensed under Apache License 2.0 and MIT license.