Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
matteriot committed Aug 2, 2023
1 parent aff3f3c commit 28b7eb5
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,15 @@ target = "riscv32imc-esp-espidf"

# [target.xtensa-esp32-espidf]
# [target.xtensa-esp32s2-espidf]
# [target.xtensa-esp32s3-espidf]
[target.xtensa-esp32s3-espidf]
linker = "ldproxy"
runner = "espflash flash --monitor --no-stub"
rustflags = [ "--cfg", "espidf_time64"]
[target.riscv32imc-esp-espidf]
# [target.riscv32imac-esp-espidf]
linker = "ldproxy"
runner = "espflash flash --monitor" # Select this runner for espflash v2.x.x
# {% if espidfver != "v4.4" and arch == "xtensa" -%}
# rustflags = [ "--cfg", "espidf_time64"] # Extending time_t for ESP IDF 5: https://github.com/esp-rs/rust/issues/110
# {%- elsif espidfver != "v4.4" and arch == "riscv" -%}
runner = "espflash flash --monitor --no-stub"
rustflags = ["--cfg", "espidf_time64", "-C", "default-linker-libraries"]
# {%- elsif espidfver == "v4.4" and arch == "riscv" -%}
# rustflags = ["-C", "default-linker-libraries"]
# {%- endif %}

[unstable]

Expand All @@ -30,6 +28,6 @@ build-std = ["std", "panic_abort"]
# Note: these variables are not used when using pio builder (`cargo build --features pio`)
# Builds against ESP-IDF stable (v4.4)
# ESP_IDF_VERSION = "release/v4.4"
ESP_IDF_VERSION = "release/v5.1"
# ESP_IDF_VERSION = "release/v5.1"
# Builds against ESP-IDF master (mainline)
#ESP_IDF_VERSION = "master"
ESP_IDF_VERSION = "master"

0 comments on commit 28b7eb5

Please sign in to comment.