mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-28 04:40:52 +00:00

* inter-state * inter-state (2) * warnings fix * fix warnings * fmt + changelogs * another unsafe extern "C" doode * real fmt now * MSRV + format * Ignore unsafe_op_in_unsafe_fn lint for now in esp-hal and esp-wifi * msrv + fmt * ugh.... * get lcd_cam example right * expr_2021 -> expr experiment * gagagugu * reviews * more unneeded unsafes (help) * finish esp-hal unsafe cleanup * each unsafe call is marked separately fmt * should be good now (?) * piece was never an option... * dumb
24 lines
654 B
Rust
24 lines
654 B
Rust
use std::{env, path::PathBuf};
|
|
|
|
use esp_config::{ConfigOption, Stability, Validator, Value, generate_config};
|
|
|
|
fn main() {
|
|
let out = PathBuf::from(env::var_os("OUT_DIR").unwrap());
|
|
println!("cargo:rustc-link-search={}", out.display());
|
|
|
|
// emit config
|
|
generate_config(
|
|
"esp_ieee802154",
|
|
&[ConfigOption {
|
|
name: "rx_queue_size",
|
|
description: "Size of the RX queue in frames",
|
|
default_value: Value::Integer(50),
|
|
constraint: Some(Validator::PositiveInteger),
|
|
stability: Stability::Unstable,
|
|
active: true,
|
|
}],
|
|
true,
|
|
true,
|
|
);
|
|
}
|