Skip to content

Commit

Permalink
repair ESP_IDF_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshitakaNaraoka committed Feb 18, 2025
1 parent 0136a28 commit 8888acb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ build-std = ["std", "panic_abort"]
[env]
MCU="esp32"
# Note: this variable is not used by the pio builder (`cargo build --features pio`)
ESP_IDF_VERSION = "master"
ESP_IDF_VERSION = "v5.4"

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ esp-idf-svc = { version = "0.51", features = ["critical-section", "embassy-time-
#下2桁ありの””なしはエラー
esp-idf-hal = "0.45"
esp-idf-sys = "0.36"
anyhow = {version = "1", features = ["backtrace"]}

[build-dependencies]
embuild = "0.33"
7 changes: 4 additions & 3 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fn main() {
embuild::espidf::sysenv::output();
}
fn main() -> anyhow::Result<()> {
embuild::build::CfgArgs::output_propagated("ESP_IDF")?;
embuild::build::LinkArgs::output_propagated("ESP_IDF")
}

0 comments on commit 8888acb

Please sign in to comment.