esp-hal/esp-sync/build.rs
Dániel Buga 99e2b936df
Introduce esp-sync, avoid critical_section like the plague (#4023)
* Introduce esp-sync

* Avoid critical_section as much as possible
2025-09-03 09:34:18 +00:00

10 lines
249 B
Rust

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