esp-sync 0.1.1

Synchronization primitives for Espressif devices
1
2
3
4
5
6
7
8
9
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(())
}