@@ -8,29 +8,28 @@ target = "xtensa-esp32-espidf"
8
8
9
9
[target .xtensa-esp32-espidf ]
10
10
linker = " ldproxy"
11
- # Uncomment for ESP- IDF 5 and later . Don't forget to also uncomment the `ESP_IDF_VERSION = "release/v5.0"` parameter in the `[env]` section below
12
- # rustflags = ["--cfg", "espidf_time64"]
11
+ # Comment the line below for ESP IDF 4 . Don't forget to also uncomment the `ESP_IDF_VERSION = "v4.4.6"` parameter in the `[env]` section below
12
+ rustflags = [" --cfg" , " espidf_time64" ]
13
13
14
14
[target .xtensa-esp32s2-espidf ]
15
15
linker = " ldproxy"
16
- # Uncomment for ESP- IDF 5 and later . Don't forget to also uncomment the `ESP_IDF_VERSION = "release/v5.0"` parameter in the `[env]` section below
17
- # rustflags = ["--cfg", "espidf_time64"]
16
+ # Comment the line below for ESP IDF 4 . Don't forget to also uncomment the `ESP_IDF_VERSION = "v4.4.6"` parameter in the `[env]` section below
17
+ rustflags = [" --cfg" , " espidf_time64" ]
18
18
19
19
[target .xtensa-esp32s3-espidf ]
20
20
linker = " ldproxy"
21
- # Uncomment for ESP- IDF 5 and later . Don't forget to also uncomment the `ESP_IDF_VERSION = "release/v5.0"` parameter in the `[env]` section below
22
- # rustflags = ["--cfg", "espidf_time64"]
21
+ # Comment the line below for ESP IDF 4 . Don't forget to also uncomment the `ESP_IDF_VERSION = "v4.4.6"` parameter in the `[env]` section below
22
+ rustflags = [" --cfg" , " espidf_time64" ]
23
23
24
24
[target .riscv32imc-esp-espidf ]
25
25
linker = " ldproxy"
26
- # TODO: Is `["-C", "default-linker-libraries"]` still necessary? See https://github.com/ivmarkov/embuild/issues/16
27
- # Uncomment for ESP-IDF 5 and later. Don't forget to also uncomment the `ESP_IDF_VERSION = "release/v5.0"`parameter in the `[env]` section below
28
- # rustflags = ["--cfg", "espidf_time64"]
26
+ # Comment the line below for ESP IDF 4. Don't forget to also uncomment the `ESP_IDF_VERSION = "v4.4.6"` parameter in the `[env]` section below
27
+ rustflags = [" --cfg" , " espidf_time64" ]
29
28
30
29
[target .riscv32imac-esp-espidf ]
31
30
linker = " ldproxy"
32
- # Uncomment for ESP- IDF 5 and later . Don't forget to also uncomment the `ESP_IDF_VERSION = "release/v5.0"` parameter in the `[env]` section below
33
- # rustflags = ["--cfg", "espidf_time64"]
31
+ # Comment the line below for ESP IDF 4 . Don't forget to also uncomment the `ESP_IDF_VERSION = "v4.4.6"` parameter in the `[env]` section below
32
+ rustflags = [" --cfg" , " espidf_time64" ]
34
33
35
34
[unstable ]
36
35
build-std = [" std" , " panic_abort" ]
@@ -47,15 +46,15 @@ build-std = ["std", "panic_abort"]
47
46
#
48
47
# Uncomment this to build against ESP-IDF 5.0
49
48
# Don't forget to uncomment also the `rustflags` parameter in your "target" section above
50
- # ESP_IDF_VERSION = "release/ v5.0"
49
+ # ESP_IDF_VERSION = "v5.0.4 "
51
50
#
52
51
# Uncomment this to build against ESP-IDF 5.1
53
52
# Don't forget to uncomment also the `rustflags` parameter in your "target" section above
54
- # ESP_IDF_VERSION = "release/v5 .1"
53
+ # ESP_IDF_VERSION = "v5.1 .1"
55
54
#
56
55
# Comment out this when using the PlatformIO build, i.e. `cargo build --features pio` (it only supports `v4.3.2`)
57
- ESP_IDF_VERSION = " release/ v4.4"
58
- # ESP_IDF_VERSION = "master "
56
+ # ESP_IDF_VERSION = "v4.4.6 "
57
+ ESP_IDF_VERSION = " v5.1.1 "
59
58
60
59
# These configurations will pick up your custom "sdkconfig.release", "sdkconfig.debug" or "sdkconfig.defaults[.*]" files
61
60
# that you might put in the root of the project
0 commit comments