Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit 31fe642

Browse files
sirhcelivmarkov
authored andcommitted
Add note on ESP IDF version format used in .cargo/config.toml
1 parent 77150c2 commit 31fe642

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.cargo/config.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,17 @@ build-std = ["std", "panic_abort"]
3333
#build-std-features = ["panic_immediate_abort"] # Only necessary if building against ESP-IDF tag `v4.3.2` (the minimum supported version)
3434

3535
[env]
36+
# Select ESP IDF version in embuild's format described here:
37+
# https://github.com/esp-rs/esp-idf-sys/blob/master/README.md#esp_idf_version-esp_idf_version-native-builder-only
38+
#
3639
# Uncomment this to build against ESP-IDF master (currently unreleased ESP IDF 5.1)
3740
#ESP_IDF_VERSION = "master"
3841
# Don't forget to uncomment also the `rustflags` parameter in your "target" section above
39-
42+
#
4043
# Uncomment this to build against ESP-IDF 5.0
4144
# Don't forget to uncomment also the `rustflags` parameter in your "target" section above
4245
#ESP_IDF_VERSION = "release/v5.0"
43-
46+
#
4447
# Comment out this when using the PlatformIO build, i.e. `cargo build --features pio` (it only supports `v4.3.2`)
4548
ESP_IDF_VERSION = "release/v4.4"
4649

0 commit comments

Comments
 (0)