mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-27 04:10:28 +00:00

* Define a metadata symbol for SWD * Use `cfg_if` rather than multiple `cfg`s * Eliminate some pointless variable declarations * Make derives match for both versions of `RtcCalSel` * Disallow instantiation of `Rtwdt` or `Swd` outside of `Rtc`
esp-metadata
Metadata for Espressif devices, intended for use in build scripts.
Firmware crates are meant to depend on esp-metadata-generated
, not on this crate directly. To update esp-metadata-generated
, make your changes in esp-metadata
, then run cargo xtask update-metadata
.
Documentation
Minimum Supported Rust Version (MSRV)
This crate is guaranteed to compile when using the latest stable Rust version at the time of the crate's release. It might compile with older versions, but that may change in any new release, including patches.
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.