esp-hal/hil-test/build.rs
Dániel Buga 692a768b3a
Introduce esp-metadata-generated (#3754)
* Move macros to new crate

* Generate a single file

* Pre-generate esp-metadata-generated

* Move saving code to xtask

* Format with both rustfmt and prettyplease

* Fix doc build

* Unhide macros

* Fix doc string

* Update semver-check baseline
2025-07-07 15:37:05 +00:00

9 lines
228 B
Rust

use std::error::Error;
fn main() -> Result<(), Box<dyn Error>> {
// Define all necessary configuration symbols for the configured device:
esp_metadata_generated::Chip::from_cargo_feature()?.define_cfgs();
Ok(())
}