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