This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 106
/
config.toml
64 lines (56 loc) · 3.07 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[build]
# Uncomment the relevant target for your chip here (ESP32, ESP32-S2, ESP32-S3 or ESP32-C3)
#target = "xtensa-esp32-espidf"
#target = "xtensa-esp32s2-espidf"
#target = "xtensa-esp32s3-espidf"
target = "riscv32imc-esp-espidf"
#target = "riscv32imac-esp-espidf"
[target.xtensa-esp32-espidf]
linker = "ldproxy"
# 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
rustflags = ["--cfg", "espidf_time64"]
[target.xtensa-esp32s2-espidf]
linker = "ldproxy"
# 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
rustflags = ["--cfg", "espidf_time64"]
[target.xtensa-esp32s3-espidf]
linker = "ldproxy"
# 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
rustflags = ["--cfg", "espidf_time64"]
[target.riscv32imc-esp-espidf]
linker = "ldproxy"
# 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
rustflags = ["--cfg", "espidf_time64"]
[target.riscv32imac-esp-espidf]
linker = "ldproxy"
# 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
rustflags = ["--cfg", "espidf_time64"]
[unstable]
build-std = ["std", "panic_abort"]
#build-std-features = ["panic_immediate_abort"] # Only necessary if building against ESP-IDF tag `v4.3.2` (the minimum supported version); using it reduces the binary size by ~ 10% to 20%
[env]
# Select ESP IDF version in embuild's format described here:
# https://github.com/esp-rs/esp-idf-sys/blob/master/README.md#esp_idf_version-esp_idf_version-native-builder-only
# (Not used by PlatformIO, i.e. `cargo build --features pio`)
#
# Uncomment this to build against ESP-IDF master
#ESP_IDF_VERSION = "master"
# Don't forget to uncomment also the `rustflags` parameter in your "target" section above
#
# Uncomment this to build against ESP-IDF 5.0
# Don't forget to uncomment also the `rustflags` parameter in your "target" section above
#ESP_IDF_VERSION = "v5.0.4"
#
# Uncomment this to build against ESP-IDF 5.1
# Don't forget to uncomment also the `rustflags` parameter in your "target" section above
#ESP_IDF_VERSION = "v5.1.1"
#
# Comment out this when using the PlatformIO build, i.e. `cargo build --features pio` (it only supports `v4.3.2`)
#ESP_IDF_VERSION = "v4.4.6"
ESP_IDF_VERSION = "v5.1.1"
# These configurations will pick up your custom "sdkconfig.release", "sdkconfig.debug" or "sdkconfig.defaults[.*]" files
# that you might put in the root of the project
# The easiest way to generate a full "sdkconfig" configuration (as opposed to manually enabling only the necessary flags via "sdkconfig.defaults[.*]"
# is by running "cargo pio espidf menuconfig" (that is, if using the pio builder)
#ESP_IDF_SDKCONFIG = "sdkconfig.release;sdkconfig.debug"
ESP_IDF_SDKCONFIG_DEFAULTS = "sdkconfig.defaults;sdkconfig.defaults.esp32;sdkconfig.defaults.esp32s2"