diff --git a/advanced/button-interrupt/.cargo/config.toml b/advanced/button-interrupt/.cargo/config.toml index 82e2a45c..ca3f7442 100644 --- a/advanced/button-interrupt/.cargo/config.toml +++ b/advanced/button-interrupt/.cargo/config.toml @@ -12,7 +12,7 @@ rustflags = ["--cfg", "espidf_time64", "-C", "default-linker-libraries"] build-std = ["panic_abort", "std"] [env] -# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.1.2) +# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.2.2) ESP_IDF_VERSION = { value = "tag:v5.2.2" } # These configurations will pick up your custom "sdkconfig.release", "sdkconfig.debug" or "sdkconfig.defaults[.*]" files @@ -25,3 +25,5 @@ ESP_IDF_SDKCONFIG_DEFAULTS = { value = "./sdkconfig.defaults", relative = true } # ESP-IDF will be installed in ~/.espressif so it can be reused across the different examples. # See also https://github.com/esp-rs/esp-idf-sys#esp_idf_tools_install_dir-esp_idf_tools_install_dir ESP_IDF_TOOLS_INSTALL_DIR = { value = "global" } +# Workaround for https://github.com/esp-rs/esp-idf-template/issues/174 +CRATE_CC_NO_DEFAULTS = "1" diff --git a/advanced/i2c-driver/.cargo/config.toml b/advanced/i2c-driver/.cargo/config.toml index 82e2a45c..ca3f7442 100644 --- a/advanced/i2c-driver/.cargo/config.toml +++ b/advanced/i2c-driver/.cargo/config.toml @@ -12,7 +12,7 @@ rustflags = ["--cfg", "espidf_time64", "-C", "default-linker-libraries"] build-std = ["panic_abort", "std"] [env] -# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.1.2) +# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.2.2) ESP_IDF_VERSION = { value = "tag:v5.2.2" } # These configurations will pick up your custom "sdkconfig.release", "sdkconfig.debug" or "sdkconfig.defaults[.*]" files @@ -25,3 +25,5 @@ ESP_IDF_SDKCONFIG_DEFAULTS = { value = "./sdkconfig.defaults", relative = true } # ESP-IDF will be installed in ~/.espressif so it can be reused across the different examples. # See also https://github.com/esp-rs/esp-idf-sys#esp_idf_tools_install_dir-esp_idf_tools_install_dir ESP_IDF_TOOLS_INSTALL_DIR = { value = "global" } +# Workaround for https://github.com/esp-rs/esp-idf-template/issues/174 +CRATE_CC_NO_DEFAULTS = "1" diff --git a/advanced/i2c-sensor-reading/.cargo/config.toml b/advanced/i2c-sensor-reading/.cargo/config.toml index 82e2a45c..ca3f7442 100644 --- a/advanced/i2c-sensor-reading/.cargo/config.toml +++ b/advanced/i2c-sensor-reading/.cargo/config.toml @@ -12,7 +12,7 @@ rustflags = ["--cfg", "espidf_time64", "-C", "default-linker-libraries"] build-std = ["panic_abort", "std"] [env] -# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.1.2) +# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.2.2) ESP_IDF_VERSION = { value = "tag:v5.2.2" } # These configurations will pick up your custom "sdkconfig.release", "sdkconfig.debug" or "sdkconfig.defaults[.*]" files @@ -25,3 +25,5 @@ ESP_IDF_SDKCONFIG_DEFAULTS = { value = "./sdkconfig.defaults", relative = true } # ESP-IDF will be installed in ~/.espressif so it can be reused across the different examples. # See also https://github.com/esp-rs/esp-idf-sys#esp_idf_tools_install_dir-esp_idf_tools_install_dir ESP_IDF_TOOLS_INSTALL_DIR = { value = "global" } +# Workaround for https://github.com/esp-rs/esp-idf-template/issues/174 +CRATE_CC_NO_DEFAULTS = "1" diff --git a/common/lib/rgb-led/.cargo/config.toml b/common/lib/rgb-led/.cargo/config.toml index 82e2a45c..ca3f7442 100644 --- a/common/lib/rgb-led/.cargo/config.toml +++ b/common/lib/rgb-led/.cargo/config.toml @@ -12,7 +12,7 @@ rustflags = ["--cfg", "espidf_time64", "-C", "default-linker-libraries"] build-std = ["panic_abort", "std"] [env] -# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.1.2) +# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.2.2) ESP_IDF_VERSION = { value = "tag:v5.2.2" } # These configurations will pick up your custom "sdkconfig.release", "sdkconfig.debug" or "sdkconfig.defaults[.*]" files @@ -25,3 +25,5 @@ ESP_IDF_SDKCONFIG_DEFAULTS = { value = "./sdkconfig.defaults", relative = true } # ESP-IDF will be installed in ~/.espressif so it can be reused across the different examples. # See also https://github.com/esp-rs/esp-idf-sys#esp_idf_tools_install_dir-esp_idf_tools_install_dir ESP_IDF_TOOLS_INSTALL_DIR = { value = "global" } +# Workaround for https://github.com/esp-rs/esp-idf-template/issues/174 +CRATE_CC_NO_DEFAULTS = "1" diff --git a/common/lib/wifi/.cargo/config.toml b/common/lib/wifi/.cargo/config.toml index 82e2a45c..ca3f7442 100644 --- a/common/lib/wifi/.cargo/config.toml +++ b/common/lib/wifi/.cargo/config.toml @@ -12,7 +12,7 @@ rustflags = ["--cfg", "espidf_time64", "-C", "default-linker-libraries"] build-std = ["panic_abort", "std"] [env] -# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.1.2) +# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.2.2) ESP_IDF_VERSION = { value = "tag:v5.2.2" } # These configurations will pick up your custom "sdkconfig.release", "sdkconfig.debug" or "sdkconfig.defaults[.*]" files @@ -25,3 +25,5 @@ ESP_IDF_SDKCONFIG_DEFAULTS = { value = "./sdkconfig.defaults", relative = true } # ESP-IDF will be installed in ~/.espressif so it can be reused across the different examples. # See also https://github.com/esp-rs/esp-idf-sys#esp_idf_tools_install_dir-esp_idf_tools_install_dir ESP_IDF_TOOLS_INSTALL_DIR = { value = "global" } +# Workaround for https://github.com/esp-rs/esp-idf-template/issues/174 +CRATE_CC_NO_DEFAULTS = "1" diff --git a/intro/hardware-check/.cargo/config.toml b/intro/hardware-check/.cargo/config.toml index f6304ef7..708d2571 100644 --- a/intro/hardware-check/.cargo/config.toml +++ b/intro/hardware-check/.cargo/config.toml @@ -12,7 +12,7 @@ rustflags = ["--cfg", "espidf_time64", "-C", "default-linker-libraries"] build-std = ["std", "panic_abort"] [env] -# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.1.2) +# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.2.2) ESP_IDF_VERSION = { value = "tag:v5.2.2" } # These configurations will pick up your custom "sdkconfig.release", "sdkconfig.debug" or "sdkconfig.defaults[.*]" files @@ -25,3 +25,5 @@ ESP_IDF_SDKCONFIG_DEFAULTS = { value = "./sdkconfig.defaults", relative = true } # ESP-IDF will be installed in ~/.espressif so it can be reused across the different examples. # See also https://github.com/esp-rs/esp-idf-sys#esp_idf_tools_install_dir-esp_idf_tools_install_dir ESP_IDF_TOOLS_INSTALL_DIR = { value = "global" } +# Workaround for https://github.com/esp-rs/esp-idf-template/issues/174 +CRATE_CC_NO_DEFAULTS = "1" diff --git a/intro/http-client/.cargo/config.toml b/intro/http-client/.cargo/config.toml index 82e2a45c..ca3f7442 100644 --- a/intro/http-client/.cargo/config.toml +++ b/intro/http-client/.cargo/config.toml @@ -12,7 +12,7 @@ rustflags = ["--cfg", "espidf_time64", "-C", "default-linker-libraries"] build-std = ["panic_abort", "std"] [env] -# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.1.2) +# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.2.2) ESP_IDF_VERSION = { value = "tag:v5.2.2" } # These configurations will pick up your custom "sdkconfig.release", "sdkconfig.debug" or "sdkconfig.defaults[.*]" files @@ -25,3 +25,5 @@ ESP_IDF_SDKCONFIG_DEFAULTS = { value = "./sdkconfig.defaults", relative = true } # ESP-IDF will be installed in ~/.espressif so it can be reused across the different examples. # See also https://github.com/esp-rs/esp-idf-sys#esp_idf_tools_install_dir-esp_idf_tools_install_dir ESP_IDF_TOOLS_INSTALL_DIR = { value = "global" } +# Workaround for https://github.com/esp-rs/esp-idf-template/issues/174 +CRATE_CC_NO_DEFAULTS = "1" diff --git a/intro/http-server/.cargo/config.toml b/intro/http-server/.cargo/config.toml index 82e2a45c..ca3f7442 100644 --- a/intro/http-server/.cargo/config.toml +++ b/intro/http-server/.cargo/config.toml @@ -12,7 +12,7 @@ rustflags = ["--cfg", "espidf_time64", "-C", "default-linker-libraries"] build-std = ["panic_abort", "std"] [env] -# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.1.2) +# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.2.2) ESP_IDF_VERSION = { value = "tag:v5.2.2" } # These configurations will pick up your custom "sdkconfig.release", "sdkconfig.debug" or "sdkconfig.defaults[.*]" files @@ -25,3 +25,5 @@ ESP_IDF_SDKCONFIG_DEFAULTS = { value = "./sdkconfig.defaults", relative = true } # ESP-IDF will be installed in ~/.espressif so it can be reused across the different examples. # See also https://github.com/esp-rs/esp-idf-sys#esp_idf_tools_install_dir-esp_idf_tools_install_dir ESP_IDF_TOOLS_INSTALL_DIR = { value = "global" } +# Workaround for https://github.com/esp-rs/esp-idf-template/issues/174 +CRATE_CC_NO_DEFAULTS = "1" diff --git a/intro/mqtt/exercise/.cargo/config.toml b/intro/mqtt/exercise/.cargo/config.toml index 16b2b703..1ca93d68 100644 --- a/intro/mqtt/exercise/.cargo/config.toml +++ b/intro/mqtt/exercise/.cargo/config.toml @@ -13,7 +13,7 @@ build-std = ["panic_abort", "std"] [env] -# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.1.2) +# Enables the esp-idf-sys "native" build feature (`cargo build --features native`) to build against ESP-IDF (v5.2.2) ESP_IDF_VERSION = { value = "tag:v5.2.2" } # These configurations will pick up your custom "sdkconfig.release", "sdkconfig.debug" or "sdkconfig.defaults[.*]" files @@ -26,3 +26,5 @@ ESP_IDF_SDKCONFIG_DEFAULTS = { value = "./sdkconfig.defaults", relative = true } # ESP-IDF will be installed in ~/.espressif so it can be reused across the different examples. # See also https://github.com/esp-rs/esp-idf-sys#esp_idf_tools_install_dir-esp_idf_tools_install_dir ESP_IDF_TOOLS_INSTALL_DIR = { value = "global" } +# Workaround for https://github.com/esp-rs/esp-idf-template/issues/174 +CRATE_CC_NO_DEFAULTS = "1"