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

* Use TLSF by default * Update example heap usage to leave more stack * Fix test configurations
10 lines
352 B
Rust
10 lines
352 B
Rust
use esp_config::generate_config_from_yaml_definition;
|
|
|
|
fn main() {
|
|
// emit config
|
|
println!("cargo:rerun-if-changed=./esp_config.yml");
|
|
let cfg_yaml = std::fs::read_to_string("./esp_config.yml")
|
|
.expect("Failed to read esp_config.yml for esp-alloc");
|
|
generate_config_from_yaml_definition(&cfg_yaml, true, true, None).unwrap();
|
|
}
|