mirror of
https://github.com/esp-rs/esp-idf-hal.git
synced 2025-09-28 21:01:26 +00:00
Propagate sdkconfig tristate keys as Rustc cfg conditionals
This commit is contained in:
parent
ee6cc88454
commit
d818ca18a6
4
build.rs
4
build.rs
@ -1,4 +1,4 @@
|
|||||||
fn main() {
|
fn main() -> anyhow::Result<()> {
|
||||||
#[cfg(not(feature = "ulp"))]
|
#[cfg(not(feature = "ulp"))]
|
||||||
pio::kconfig::CfgArgs::output_propagated("ESP_IDF")?;
|
pio::kconfig::CfgArgs::output_propagated("ESP_IDF")?;
|
||||||
|
|
||||||
@ -28,4 +28,6 @@ fn main() {
|
|||||||
ulp_dir.join("ulp_link.x").display()
|
ulp_dir.join("ulp_link.x").display()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user