diff --git a/esp32-hal/Cargo.toml b/esp32-hal/Cargo.toml index ee6a81c49..fec5608ae 100644 --- a/esp32-hal/Cargo.toml +++ b/esp32-hal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "esp32-hal" -version = "0.18.0" +version = "0.18.1" edition = "2021" rust-version = "1.67.0" description = "HAL for ESP32 microcontrollers" @@ -46,6 +46,9 @@ smart-leds = "0.4.0" ssd1306 = "0.8.4" static_cell = { version = "2.0.0", features = ["nightly"] } +[build-dependencies] +build-alert = "0.1.6" + [features] default = ["rt", "vectored", "xtal-40mhz", "embassy-integrated-timers"] async = ["esp-hal-common/async"] diff --git a/esp32-hal/README.md b/esp32-hal/README.md index 60c79a027..650594ff8 100644 --- a/esp32-hal/README.md +++ b/esp32-hal/README.md @@ -5,6 +5,15 @@ ![Crates.io](https://img.shields.io/crates/l/esp32-hal?labelColor=1C2C2E&style=flat-square) [![Matrix](https://img.shields.io/matrix/esp-rs:matrix.org?label=join%20matrix&labelColor=1C2C2E&color=BEC5C9&logo=matrix&style=flat-square)](https://matrix.to/#/#esp-rs:matrix.org) +> [!WARNING] +> +> This package has been deprecated in favour of [esp-hal](https://github.com/esp-rs/esp-hal/tree/main/esp-hal). +> +> Please refer to the migration guide for help with updating your projects +> to use the new 'esp-hal' package: +> +> https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 + `no_std` HAL for the ESP32 from Espressif. Implements a number of the traits defined in [embedded-hal](https://github.com/rust-embedded/embedded-hal). diff --git a/esp32-hal/build.rs b/esp32-hal/build.rs index 5b96f6a64..c308d0171 100644 --- a/esp32-hal/build.rs +++ b/esp32-hal/build.rs @@ -1,5 +1,18 @@ use std::{env, error::Error, fs::File, io::Write, path::PathBuf}; +build_alert::yellow! {" + +WARNING: package deprecated! + + The 'esp32-hal' package has been deprecated in favour of 'esp-hal'. + + Please refer to the migration guide for help with updating your projects + to use the new 'esp-hal' package: + + https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 + +"} + fn main() -> Result<(), Box> { // Put the linker script somewhere the linker can find it let out = &PathBuf::from(env::var_os("OUT_DIR").unwrap()); diff --git a/esp32-hal/src/lib.rs b/esp32-hal/src/lib.rs index 151698b55..eb38508f6 100644 --- a/esp32-hal/src/lib.rs +++ b/esp32-hal/src/lib.rs @@ -1,5 +1,13 @@ //! `no_std` HAL for the ESP32 from Espressif. //! +//!
+//! This package has been deprecated in favour of esp-hal. +//! Please refer to the migration guide for help with updating your projects +//! to use the new esp-hal package: +//!

+//! https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 +//!
+//! //! Implements a number of the traits defined by the various packages in the //! [embedded-hal] repository. //! diff --git a/esp32c2-hal/Cargo.toml b/esp32c2-hal/Cargo.toml index fe74d30a5..ce80a8ae2 100644 --- a/esp32c2-hal/Cargo.toml +++ b/esp32c2-hal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "esp32c2-hal" -version = "0.13.0" +version = "0.13.1" edition = "2021" rust-version = "1.67.0" description = "HAL for ESP32-C2 microcontrollers" @@ -46,6 +46,9 @@ sha2 = { version = "0.10.8", default-features = false} ssd1306 = "0.8.4" static_cell = { version = "2.0.0", features = ["nightly"] } +[build-dependencies] +build-alert = "0.1.6" + [features] default = ["rt", "vectored", "xtal-40mhz", "embassy-integrated-timers"] async = ["esp-hal-common/async"] diff --git a/esp32c2-hal/README.md b/esp32c2-hal/README.md index 242e4134f..89173a34f 100644 --- a/esp32c2-hal/README.md +++ b/esp32c2-hal/README.md @@ -5,6 +5,15 @@ ![Crates.io](https://img.shields.io/crates/l/esp32c2-hal?labelColor=1C2C2E&style=flat-square) [![Matrix](https://img.shields.io/matrix/esp-rs:matrix.org?label=join%20matrix&labelColor=1C2C2E&color=BEC5C9&logo=matrix&style=flat-square)](https://matrix.to/#/#esp-rs:matrix.org) +> [!WARNING] +> +> This package has been deprecated in favour of [esp-hal](https://github.com/esp-rs/esp-hal/tree/main/esp-hal). +> +> Please refer to the migration guide for help with updating your projects +> to use the new 'esp-hal' package: +> +> https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 + `no_std` HAL for the ESP32-C2 from Espressif. Implements a number of the traits defined in [embedded-hal](https://github.com/rust-embedded/embedded-hal). diff --git a/esp32c2-hal/build.rs b/esp32c2-hal/build.rs index b8014395b..1447b7c79 100644 --- a/esp32c2-hal/build.rs +++ b/esp32c2-hal/build.rs @@ -1,5 +1,18 @@ use std::{env, error::Error, path::PathBuf}; +build_alert::yellow! {" + +WARNING: package deprecated! + + The 'esp32c2-hal' package has been deprecated in favour of 'esp-hal'. + + Please refer to the migration guide for help with updating your projects + to use the new 'esp-hal' package: + + https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 + +"} + fn main() -> Result<(), Box> { check_features(); diff --git a/esp32c2-hal/src/lib.rs b/esp32c2-hal/src/lib.rs index 6fda9cdc2..68704d38f 100644 --- a/esp32c2-hal/src/lib.rs +++ b/esp32c2-hal/src/lib.rs @@ -1,5 +1,13 @@ //! `no_std` HAL for the ESP32-C2/ESP8684 from Espressif. //! +//!
+//! This package has been deprecated in favour of esp-hal. +//! Please refer to the migration guide for help with updating your projects +//! to use the new esp-hal package: +//!

+//! https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 +//!
+//! //! Implements a number of the traits defined by the various packages in the //! [embedded-hal] repository. //! diff --git a/esp32c3-hal/Cargo.toml b/esp32c3-hal/Cargo.toml index aafdf004b..8f2030bcf 100644 --- a/esp32c3-hal/Cargo.toml +++ b/esp32c3-hal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "esp32c3-hal" -version = "0.15.0" +version = "0.15.1" edition = "2021" rust-version = "1.67.0" description = "HAL for ESP32-C3 microcontrollers" @@ -48,6 +48,9 @@ smart-leds = "0.4.0" ssd1306 = "0.8.4" static_cell = { version = "2.0.0", features = ["nightly"] } +[build-dependencies] +build-alert = "0.1.6" + [features] default = ["rt", "vectored", "zero-rtc-bss", "embassy-integrated-timers"] async = ["esp-hal-common/async"] diff --git a/esp32c3-hal/README.md b/esp32c3-hal/README.md index b750205d4..d620a98ec 100644 --- a/esp32c3-hal/README.md +++ b/esp32c3-hal/README.md @@ -5,6 +5,15 @@ ![Crates.io](https://img.shields.io/crates/l/esp32c3-hal?labelColor=1C2C2E&style=flat-square) [![Matrix](https://img.shields.io/matrix/esp-rs:matrix.org?label=join%20matrix&labelColor=1C2C2E&color=BEC5C9&logo=matrix&style=flat-square)](https://matrix.to/#/#esp-rs:matrix.org) +> [!WARNING] +> +> This package has been deprecated in favour of [esp-hal](https://github.com/esp-rs/esp-hal/tree/main/esp-hal). +> +> Please refer to the migration guide for help with updating your projects +> to use the new 'esp-hal' package: +> +> https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 + `no_std` HAL for the ESP32-C3 from Espressif. Implements a number of the traits defined in [embedded-hal](https://github.com/rust-embedded/embedded-hal). diff --git a/esp32c3-hal/build.rs b/esp32c3-hal/build.rs index 023b7905b..95467af53 100644 --- a/esp32c3-hal/build.rs +++ b/esp32c3-hal/build.rs @@ -1,5 +1,18 @@ use std::{env, error::Error, path::PathBuf}; +build_alert::yellow! {" + +WARNING: package deprecated! + + The 'esp32c3-hal' package has been deprecated in favour of 'esp-hal'. + + Please refer to the migration guide for help with updating your projects + to use the new 'esp-hal' package: + + https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 + +"} + fn main() -> Result<(), Box> { // Put the linker script somewhere the linker can find it let out = &PathBuf::from(env::var_os("OUT_DIR").unwrap()); diff --git a/esp32c3-hal/src/lib.rs b/esp32c3-hal/src/lib.rs index dd2403bbd..c631c0a20 100644 --- a/esp32c3-hal/src/lib.rs +++ b/esp32c3-hal/src/lib.rs @@ -1,5 +1,13 @@ //! `no_std` HAL for the ESP32-C3/ESP8685 from Espressif. //! +//!
+//! This package has been deprecated in favour of esp-hal. +//! Please refer to the migration guide for help with updating your projects +//! to use the new esp-hal package: +//!

+//! https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 +//!
+//! //! Implements a number of the traits defined by the various packages in the //! [embedded-hal] repository. //! diff --git a/esp32c6-hal/Cargo.toml b/esp32c6-hal/Cargo.toml index 430ee903c..d51fb58ae 100644 --- a/esp32c6-hal/Cargo.toml +++ b/esp32c6-hal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "esp32c6-hal" -version = "0.8.0" +version = "0.8.1" edition = "2021" rust-version = "1.67.0" description = "HAL for ESP32-C6 microcontrollers" @@ -51,6 +51,9 @@ smart-leds = "0.4.0" ssd1306 = "0.8.4" static_cell = { version = "2.0.0", features = ["nightly"] } +[build-dependencies] +build-alert = "0.1.6" + [features] default = ["rt", "vectored", "zero-rtc-bss", "embassy-integrated-timers"] async = ["esp-hal-common/async"] diff --git a/esp32c6-hal/README.md b/esp32c6-hal/README.md index 5bfe90b83..1c7f4a86d 100644 --- a/esp32c6-hal/README.md +++ b/esp32c6-hal/README.md @@ -5,6 +5,15 @@ ![Crates.io](https://img.shields.io/crates/l/esp32c6-hal?labelColor=1C2C2E&style=flat-square) [![Matrix](https://img.shields.io/matrix/esp-rs:matrix.org?label=join%20matrix&labelColor=1C2C2E&color=BEC5C9&logo=matrix&style=flat-square)](https://matrix.to/#/#esp-rs:matrix.org) +> [!WARNING] +> +> This package has been deprecated in favour of [esp-hal](https://github.com/esp-rs/esp-hal/tree/main/esp-hal). +> +> Please refer to the migration guide for help with updating your projects +> to use the new 'esp-hal' package: +> +> https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 + `no_std` HAL for the ESP32-C6 from Espressif. Implements a number of the traits defined in [embedded-hal](https://github.com/rust-embedded/embedded-hal). diff --git a/esp32c6-hal/build.rs b/esp32c6-hal/build.rs index 023b7905b..f4cf57615 100644 --- a/esp32c6-hal/build.rs +++ b/esp32c6-hal/build.rs @@ -1,5 +1,18 @@ use std::{env, error::Error, path::PathBuf}; +build_alert::yellow! {" + +WARNING: package deprecated! + + The 'esp32c6-hal' package has been deprecated in favour of 'esp-hal'. + + Please refer to the migration guide for help with updating your projects + to use the new 'esp-hal' package: + + https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 + +"} + fn main() -> Result<(), Box> { // Put the linker script somewhere the linker can find it let out = &PathBuf::from(env::var_os("OUT_DIR").unwrap()); diff --git a/esp32c6-hal/src/lib.rs b/esp32c6-hal/src/lib.rs index b34b312fe..0ec89d588 100644 --- a/esp32c6-hal/src/lib.rs +++ b/esp32c6-hal/src/lib.rs @@ -1,5 +1,13 @@ //! `no_std` HAL for the ESP32-C6 from Espressif. //! +//!
+//! This package has been deprecated in favour of esp-hal. +//! Please refer to the migration guide for help with updating your projects +//! to use the new esp-hal package: +//!

+//! https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 +//!
+//! //! Implements a number of the traits defined by the various packages in the //! [embedded-hal] repository. //! diff --git a/esp32h2-hal/Cargo.toml b/esp32h2-hal/Cargo.toml index 7801a7747..a051dd8e3 100644 --- a/esp32h2-hal/Cargo.toml +++ b/esp32h2-hal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "esp32h2-hal" -version = "0.6.0" +version = "0.6.1" edition = "2021" rust-version = "1.67.0" description = "HAL for ESP32-H2 microcontrollers" @@ -51,6 +51,9 @@ smart-leds = "0.4.0" ssd1306 = "0.8.4" static_cell = { version = "2.0.0", features = ["nightly"] } +[build-dependencies] +build-alert = "0.1.6" + [features] default = ["rt", "vectored", "zero-rtc-bss", "embassy-integrated-timers"] async = ["esp-hal-common/async"] diff --git a/esp32h2-hal/README.md b/esp32h2-hal/README.md index c37165f81..7f97d5703 100644 --- a/esp32h2-hal/README.md +++ b/esp32h2-hal/README.md @@ -5,6 +5,15 @@ ![Crates.io](https://img.shields.io/crates/l/esp32h2-hal?labelColor=1C2C2E&style=flat-square) [![Matrix](https://img.shields.io/matrix/esp-rs:matrix.org?label=join%20matrix&labelColor=1C2C2E&color=BEC5C9&logo=matrix&style=flat-square)](https://matrix.to/#/#esp-rs:matrix.org) +> [!WARNING] +> +> This package has been deprecated in favour of [esp-hal](https://github.com/esp-rs/esp-hal/tree/main/esp-hal). +> +> Please refer to the migration guide for help with updating your projects +> to use the new 'esp-hal' package: +> +> https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 + `no_std` HAL for the ESP32-H2 from Espressif. Implements a number of the traits defined in [embedded-hal](https://github.com/rust-embedded/embedded-hal). diff --git a/esp32h2-hal/build.rs b/esp32h2-hal/build.rs index 023b7905b..0666f3dc3 100644 --- a/esp32h2-hal/build.rs +++ b/esp32h2-hal/build.rs @@ -1,5 +1,18 @@ use std::{env, error::Error, path::PathBuf}; +build_alert::yellow! {" + +WARNING: package deprecated! + + The 'esp32h2-hal' package has been deprecated in favour of 'esp-hal'. + + Please refer to the migration guide for help with updating your projects + to use the new 'esp-hal' package: + + https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 + +"} + fn main() -> Result<(), Box> { // Put the linker script somewhere the linker can find it let out = &PathBuf::from(env::var_os("OUT_DIR").unwrap()); diff --git a/esp32h2-hal/src/lib.rs b/esp32h2-hal/src/lib.rs index a56051fbf..8a5016858 100644 --- a/esp32h2-hal/src/lib.rs +++ b/esp32h2-hal/src/lib.rs @@ -1,5 +1,13 @@ //! `no_std` HAL for the ESP32-H2 from Espressif. //! +//!
+//! This package has been deprecated in favour of esp-hal. +//! Please refer to the migration guide for help with updating your projects +//! to use the new esp-hal package: +//!

+//! https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 +//!
+//! //! Implements a number of the traits defined by the various packages in the //! [embedded-hal] repository. //! diff --git a/esp32s2-hal/Cargo.toml b/esp32s2-hal/Cargo.toml index 53e51fb01..72167606a 100644 --- a/esp32s2-hal/Cargo.toml +++ b/esp32s2-hal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "esp32s2-hal" -version = "0.15.0" +version = "0.15.1" edition = "2021" rust-version = "1.67.0" description = "HAL for ESP32-S2 microcontrollers" @@ -49,6 +49,9 @@ static_cell = { version = "2.0.0", features = ["nightly"] } usb-device = "0.3.1" usbd-serial = "0.2.0" +[build-dependencies] +build-alert = "0.1.6" + [features] default = ["rt", "vectored", "embassy-integrated-timers"] async = ["esp-hal-common/async"] diff --git a/esp32s2-hal/README.md b/esp32s2-hal/README.md index 03bbb46f0..802f8a769 100644 --- a/esp32s2-hal/README.md +++ b/esp32s2-hal/README.md @@ -5,6 +5,15 @@ ![Crates.io](https://img.shields.io/crates/l/esp32s2-hal?labelColor=1C2C2E&style=flat-square) [![Matrix](https://img.shields.io/matrix/esp-rs:matrix.org?label=join%20matrix&labelColor=1C2C2E&color=BEC5C9&logo=matrix&style=flat-square)](https://matrix.to/#/#esp-rs:matrix.org) +> [!WARNING] +> +> This package has been deprecated in favour of [esp-hal](https://github.com/esp-rs/esp-hal/tree/main/esp-hal). +> +> Please refer to the migration guide for help with updating your projects +> to use the new 'esp-hal' package: +> +> https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 + `no_std` HAL for the ESP32 from Espressif. Implements a number of the traits defined in [embedded-hal](https://github.com/rust-embedded/embedded-hal). diff --git a/esp32s2-hal/build.rs b/esp32s2-hal/build.rs index 67e3ba808..61b04cefd 100644 --- a/esp32s2-hal/build.rs +++ b/esp32s2-hal/build.rs @@ -1,5 +1,18 @@ use std::{env, error::Error, fs::File, io::Write, path::PathBuf}; +build_alert::yellow! {" + +WARNING: package deprecated! + + The 'esp32s2-hal' package has been deprecated in favour of 'esp-hal'. + + Please refer to the migration guide for help with updating your projects + to use the new 'esp-hal' package: + + https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 + +"} + fn main() -> Result<(), Box> { // Put the linker script somewhere the linker can find it let out = &PathBuf::from(env::var_os("OUT_DIR").unwrap()); diff --git a/esp32s2-hal/src/lib.rs b/esp32s2-hal/src/lib.rs index 94f875524..7b6cc3a02 100644 --- a/esp32s2-hal/src/lib.rs +++ b/esp32s2-hal/src/lib.rs @@ -1,5 +1,13 @@ //! `no_std` HAL for the ESP32-S2 from Espressif. //! +//!
+//! This package has been deprecated in favour of esp-hal. +//! Please refer to the migration guide for help with updating your projects +//! to use the new esp-hal package: +//!

+//! https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 +//!
+//! //! Implements a number of the traits defined by the various packages in the //! [embedded-hal] repository. //! diff --git a/esp32s3-hal/Cargo.toml b/esp32s3-hal/Cargo.toml index 2292b481b..9a95875b1 100644 --- a/esp32s3-hal/Cargo.toml +++ b/esp32s3-hal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "esp32s3-hal" -version = "0.15.0" +version = "0.15.1" edition = "2021" rust-version = "1.67.0" description = "HAL for ESP32-S3 microcontrollers" @@ -52,6 +52,9 @@ static_cell = { version = "2.0.0", features = ["nightly"] } usb-device = "0.3.1" usbd-serial = "0.2.0" +[build-dependencies] +build-alert = "0.1.6" + [features] default = ["rt", "vectored", "embassy-integrated-timers"] async = ["esp-hal-common/async"] diff --git a/esp32s3-hal/README.md b/esp32s3-hal/README.md index 8b82b3315..a05f6538b 100644 --- a/esp32s3-hal/README.md +++ b/esp32s3-hal/README.md @@ -5,6 +5,15 @@ ![Crates.io](https://img.shields.io/crates/l/esp32s3-hal?labelColor=1C2C2E&style=flat-square) [![Matrix](https://img.shields.io/matrix/esp-rs:matrix.org?label=join%20matrix&labelColor=1C2C2E&color=BEC5C9&logo=matrix&style=flat-square)](https://matrix.to/#/#esp-rs:matrix.org) +> [!WARNING] +> +> This package has been deprecated in favour of [esp-hal](https://github.com/esp-rs/esp-hal/tree/main/esp-hal). +> +> Please refer to the migration guide for help with updating your projects +> to use the new 'esp-hal' package: +> +> https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 + `no_std` HAL for the ESP32 from Espressif. Implements a number of the traits defined in [embedded-hal](https://github.com/rust-embedded/embedded-hal). diff --git a/esp32s3-hal/build.rs b/esp32s3-hal/build.rs index 023b7905b..22b296cc9 100644 --- a/esp32s3-hal/build.rs +++ b/esp32s3-hal/build.rs @@ -1,5 +1,18 @@ use std::{env, error::Error, path::PathBuf}; +build_alert::yellow! {" + +WARNING: package deprecated! + + The 'esp32s3-hal' package has been deprecated in favour of 'esp-hal'. + + Please refer to the migration guide for help with updating your projects + to use the new 'esp-hal' package: + + https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 + +"} + fn main() -> Result<(), Box> { // Put the linker script somewhere the linker can find it let out = &PathBuf::from(env::var_os("OUT_DIR").unwrap()); diff --git a/esp32s3-hal/src/lib.rs b/esp32s3-hal/src/lib.rs index 8a6f9ee59..6e93cb09c 100644 --- a/esp32s3-hal/src/lib.rs +++ b/esp32s3-hal/src/lib.rs @@ -1,5 +1,13 @@ //! `no_std` HAL for the ESP32-S3 from Espressif. //! +//!
+//! This package has been deprecated in favour of esp-hal. +//! Please refer to the migration guide for help with updating your projects +//! to use the new esp-hal package: +//!

+//! https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0 +//!
+//! //! Implements a number of the traits defined by the various packages in the //! [embedded-hal] repository. //!