Compare commits

...

1 Commits

Author SHA1 Message Date
Jesse Braham
2d73fa5af4 Add deprecation notices to all chip-specific HAL packages, bump patch version 2024-03-08 06:48:57 -08:00
28 changed files with 238 additions and 7 deletions

View File

@ -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"]

View File

@ -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).

View File

@ -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<dyn Error>> {
// Put the linker script somewhere the linker can find it
let out = &PathBuf::from(env::var_os("OUT_DIR").unwrap());

View File

@ -1,5 +1,13 @@
//! `no_std` HAL for the ESP32 from Espressif.
//!
//! <div class="warning">
//! This package has been deprecated in favour of <a href="https://github.com/esp-rs/esp-hal/tree/main/esp-hal">esp-hal</a>.
//! Please refer to the migration guide for help with updating your projects
//! to use the new <em>esp-hal</em> package:
//! <br /><br />
//! <a href="https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0">https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0</a>
//! </div>
//!
//! Implements a number of the traits defined by the various packages in the
//! [embedded-hal] repository.
//!

View File

@ -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"]

View File

@ -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).

View File

@ -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<dyn Error>> {
check_features();

View File

@ -1,5 +1,13 @@
//! `no_std` HAL for the ESP32-C2/ESP8684 from Espressif.
//!
//! <div class="warning">
//! This package has been deprecated in favour of <a href="https://github.com/esp-rs/esp-hal/tree/main/esp-hal">esp-hal</a>.
//! Please refer to the migration guide for help with updating your projects
//! to use the new <em>esp-hal</em> package:
//! <br /><br />
//! <a href="https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0">https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0</a>
//! </div>
//!
//! Implements a number of the traits defined by the various packages in the
//! [embedded-hal] repository.
//!

View File

@ -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"]

View File

@ -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).

View File

@ -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<dyn Error>> {
// Put the linker script somewhere the linker can find it
let out = &PathBuf::from(env::var_os("OUT_DIR").unwrap());

View File

@ -1,5 +1,13 @@
//! `no_std` HAL for the ESP32-C3/ESP8685 from Espressif.
//!
//! <div class="warning">
//! This package has been deprecated in favour of <a href="https://github.com/esp-rs/esp-hal/tree/main/esp-hal">esp-hal</a>.
//! Please refer to the migration guide for help with updating your projects
//! to use the new <em>esp-hal</em> package:
//! <br /><br />
//! <a href="https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0">https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0</a>
//! </div>
//!
//! Implements a number of the traits defined by the various packages in the
//! [embedded-hal] repository.
//!

View File

@ -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"]

View File

@ -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).

View File

@ -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<dyn Error>> {
// Put the linker script somewhere the linker can find it
let out = &PathBuf::from(env::var_os("OUT_DIR").unwrap());

View File

@ -1,5 +1,13 @@
//! `no_std` HAL for the ESP32-C6 from Espressif.
//!
//! <div class="warning">
//! This package has been deprecated in favour of <a href="https://github.com/esp-rs/esp-hal/tree/main/esp-hal">esp-hal</a>.
//! Please refer to the migration guide for help with updating your projects
//! to use the new <em>esp-hal</em> package:
//! <br /><br />
//! <a href="https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0">https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0</a>
//! </div>
//!
//! Implements a number of the traits defined by the various packages in the
//! [embedded-hal] repository.
//!

View File

@ -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"]

View File

@ -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).

View File

@ -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<dyn Error>> {
// Put the linker script somewhere the linker can find it
let out = &PathBuf::from(env::var_os("OUT_DIR").unwrap());

View File

@ -1,5 +1,13 @@
//! `no_std` HAL for the ESP32-H2 from Espressif.
//!
//! <div class="warning">
//! This package has been deprecated in favour of <a href="https://github.com/esp-rs/esp-hal/tree/main/esp-hal">esp-hal</a>.
//! Please refer to the migration guide for help with updating your projects
//! to use the new <em>esp-hal</em> package:
//! <br /><br />
//! <a href="https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0">https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0</a>
//! </div>
//!
//! Implements a number of the traits defined by the various packages in the
//! [embedded-hal] repository.
//!

View File

@ -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"]

View File

@ -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).

View File

@ -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<dyn Error>> {
// Put the linker script somewhere the linker can find it
let out = &PathBuf::from(env::var_os("OUT_DIR").unwrap());

View File

@ -1,5 +1,13 @@
//! `no_std` HAL for the ESP32-S2 from Espressif.
//!
//! <div class="warning">
//! This package has been deprecated in favour of <a href="https://github.com/esp-rs/esp-hal/tree/main/esp-hal">esp-hal</a>.
//! Please refer to the migration guide for help with updating your projects
//! to use the new <em>esp-hal</em> package:
//! <br /><br />
//! <a href="https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0">https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0</a>
//! </div>
//!
//! Implements a number of the traits defined by the various packages in the
//! [embedded-hal] repository.
//!

View File

@ -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"]

View File

@ -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).

View File

@ -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<dyn Error>> {
// Put the linker script somewhere the linker can find it
let out = &PathBuf::from(env::var_os("OUT_DIR").unwrap());

View File

@ -1,5 +1,13 @@
//! `no_std` HAL for the ESP32-S3 from Espressif.
//!
//! <div class="warning">
//! This package has been deprecated in favour of <a href="https://github.com/esp-rs/esp-hal/tree/main/esp-hal">esp-hal</a>.
//! Please refer to the migration guide for help with updating your projects
//! to use the new <em>esp-hal</em> package:
//! <br /><br />
//! <a href="https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0">https://github.com/esp-rs/esp-hal/releases/tag/v0.16.0</a>
//! </div>
//!
//! Implements a number of the traits defined by the various packages in the
//! [embedded-hal] repository.
//!