mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-27 12:20:56 +00:00

* 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
9 lines
228 B
Rust
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(())
|
|
}
|