From 29ebd170eee686e61683ae704d7e9b4a834040a0 Mon Sep 17 00:00:00 2001 From: Jesse Braham Date: Fri, 27 Oct 2023 06:41:04 -0700 Subject: [PATCH] Update dependencies, miscellaneous fixes/improvements (#878) * Force frame pointers for RISC-V chips * Various dependency updates * Update to latest published PACs and resolve build errors * Top-level `README` updates * Further clarify when `RUSCT_BOOTSTRAP=1` is required --- README.md | 34 +++++++++++++++++++++------------- esp-hal-common/Cargo.toml | 30 +++++++++++++++--------------- esp-hal-common/src/hmac.rs | 9 ++------- esp-hal-common/src/twai/mod.rs | 3 +++ esp32-hal/Cargo.toml | 14 +++++++------- esp32c2-hal/.cargo/config.toml | 1 + esp32c2-hal/Cargo.toml | 20 ++++++++++---------- esp32c3-hal/.cargo/config.toml | 1 + esp32c3-hal/Cargo.toml | 14 +++++++------- esp32c6-hal/.cargo/config.toml | 1 + esp32c6-hal/Cargo.toml | 18 +++++++++--------- esp32h2-hal/.cargo/config.toml | 1 + esp32h2-hal/Cargo.toml | 18 +++++++++--------- esp32s2-hal/Cargo.toml | 14 +++++++------- esp32s3-hal/Cargo.toml | 14 +++++++------- 15 files changed, 101 insertions(+), 91 deletions(-) diff --git a/README.md b/README.md index 48708aae4..3f7d2be2e 100644 --- a/README.md +++ b/README.md @@ -23,29 +23,30 @@ If you have any questions, comments, or concerns, please [open an issue], [start For information relating to the development of Rust applications on ESP devices, please first read [The Rust on ESP Book]. -For information about the HAL and how to use it in your own projects, please refer to the documentation on [crates.io] for the relevant chip. +For information about the HAL and how to use it in your own projects, please refer to the documentation on [docs.rs] for the relevant chip. [The Rust on ESP Book]: (https://esp-rs.github.io/book/) -[crates.io]: https://crates.io +[docs.rs]: https://docs.rs ## Resources - [The Rust Programming Language](https://doc.rust-lang.org/book/) - [The Embedded Rust Book](https://docs.rust-embedded.org/book/index.html) - [The Rust on ESP Book](https://esp-rs.github.io/book/) +- [The Embedonomicon](https://docs.rust-embedded.org/embedonomicon/) ## HAL Crates -| Crate | Target | Technical Reference Manual | -| :--------------: | :----------------------------: | :------------------------: | -| [esp32-hal] | `xtensa-esp32-none-elf` | [ESP32] | -| [esp32c2-hal] | `riscv32imc-unknown-none-elf` | [ESP32-C2] | -| [esp32c3-hal] | `riscv32imc-unknown-none-elf` | [ESP32-C3] | -| [esp32c6-hal] | `riscv32imac-unknown-none-elf` | [ESP32-C6] | -| [esp32c6-lp-hal] | `riscv32imac-unknown-none-elf` | N/A | -| [esp32h2-hal] | `riscv32imac-unknown-none-elf` | [ESP32-H2] | -| [esp32s2-hal] | `xtensa-esp32s2-none-elf` | [ESP32-S2] | -| [esp32s3-hal] | `xtensa-esp32s3-none-elf` | [ESP32-S3] | +| Crate | Documentation | Technical Reference Manual | Target | +| :--------------: | :------------------------------------------------: | :------------------------: | :----------------------------: | +| [esp32-hal] | [![esp32-hal-docs]](https://docs.rs/esp32-hal) | [ESP32] | `xtensa-esp32-none-elf` | +| [esp32c2-hal] | [![esp32c2-hal-docs]](https://docs.rs/esp32c2-hal) | [ESP32-C2] | `riscv32imc-unknown-none-elf` | +| [esp32c3-hal] | [![esp32c3-hal-docs]](https://docs.rs/esp32c3-hal) | [ESP32-C3] | `riscv32imc-unknown-none-elf` | +| [esp32c6-hal] | [![esp32c6-hal-docs]](https://docs.rs/esp32c6-hal) | [ESP32-C6] | `riscv32imac-unknown-none-elf` | +| [esp32c6-lp-hal] | N/A | N/A | `riscv32imac-unknown-none-elf` | +| [esp32h2-hal] | [![esp32h2-hal-docs]](https://docs.rs/esp32h2-hal) | [ESP32-H2] | `riscv32imac-unknown-none-elf` | +| [esp32s2-hal] | [![esp32s2-hal-docs]](https://docs.rs/esp32s2-hal) | [ESP32-S2] | `xtensa-esp32s2-none-elf` | +| [esp32s3-hal] | [![esp32s3-hal-docs]](https://docs.rs/esp32s3-hal) | [ESP32-S3] | `xtensa-esp32s3-none-elf` | [esp32-hal]: https://github.com/esp-rs/esp-hal/tree/main/esp32-hal [esp32c2-hal]: https://github.com/esp-rs/esp-hal/tree/main/esp32c2-hal @@ -55,6 +56,13 @@ For information about the HAL and how to use it in your own projects, please ref [esp32h2-hal]: https://github.com/esp-rs/esp-hal/tree/main/esp32h2-hal [esp32s2-hal]: https://github.com/esp-rs/esp-hal/tree/main/esp32s2-hal [esp32s3-hal]: https://github.com/esp-rs/esp-hal/tree/main/esp32s3-hal +[esp32-hal-docs]: https://img.shields.io/docsrs/esp32-hal?color=C96329&logo=rust&style=flat-square +[esp32c2-hal-docs]: https://img.shields.io/docsrs/esp32c2-hal?color=C96329&logo=rust&style=flat-square +[esp32c3-hal-docs]: https://img.shields.io/docsrs/esp32c3-hal?color=C96329&logo=rust&style=flat-square +[esp32c6-hal-docs]: https://img.shields.io/docsrs/esp32c6-hal?color=C96329&logo=rust&style=flat-square +[esp32h2-hal-docs]: https://img.shields.io/docsrs/esp32h2-hal?color=C96329&logo=rust&style=flat-square +[esp32s2-hal-docs]: https://img.shields.io/docsrs/esp32s2-hal?color=C96329&logo=rust&style=flat-square +[esp32s3-hal-docs]: https://img.shields.io/docsrs/esp32s3-hal?color=C96329&logo=rust&style=flat-square [esp32]: https://www.espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf [esp32-c2]: https://www.espressif.com/sites/default/files/documentation/esp8684_technical_reference_manual_en.pdf [esp32-c3]: https://www.espressif.com/sites/default/files/documentation/esp32-c3_technical_reference_manual_en.pdf @@ -103,7 +111,7 @@ The **M**inimum **S**upported **R**ust **V**ersion is `1.67.0` for all packages. RISC-V is officially supported by the official Rust compiler, however, it should be noted that targeting the Xtensa ISA currently requires the use of the [esp-rs/rust] compiler fork. Our recommend method of installation is [espup]. -When targetting the RISC-V architecture, it is necessary to set `RUSTC_BOOTSTRAP=1` in order to build with a previous stable release; this is not required when targeting Xtensa. +When targetting the RISC-V architecture *and* using a `stable` Rust release, it is necessary to set `RUSTC_BOOTSTRAP=1` in order to build successfully; this is not required when using a `nightly` release or when targeting Xtensa. [esp-rs/rust]: https://github.com/esp-rs/rust [espup]: https://github.com/esp-rs/espup diff --git a/esp-hal-common/Cargo.toml b/esp-hal-common/Cargo.toml index b2fe2927f..876ebc226 100644 --- a/esp-hal-common/Cargo.toml +++ b/esp-hal-common/Cargo.toml @@ -12,7 +12,7 @@ repository = "https://github.com/esp-rs/esp-hal" license = "MIT OR Apache-2.0" [dependencies] -bitflags = "2.4.0" +bitflags = "2.4.1" bitfield = "0.14.0" cfg-if = "1.0.0" critical-section = "1.1.2" @@ -22,7 +22,7 @@ embedded-dma = "0.2.0" embedded-hal = { version = "0.2.7", features = ["unproven"] } embedded-hal-1 = { version = "=1.0.0-rc.1", optional = true, package = "embedded-hal" } embedded-hal-nb = { version = "=1.0.0-rc.1", optional = true } -embedded-io = "0.5.0" +embedded-io = "0.6.1" esp-synopsys-usb-otg = { version = "0.3.2", optional = true, features = ["fs", "esp32sx"] } fugit = "0.3.7" log = { version = "0.4.20", optional = true } @@ -35,11 +35,11 @@ usb-device = { version = "0.2.9", optional = true } # async embedded-hal-async = { version = "=1.0.0-rc.1", optional = true } -embedded-io-async = { version = "0.5.0", optional = true } -embassy-executor = { version = "0.3.0", features = ["integrated-timers"], optional = true } -embassy-sync = { version = "0.3.0", optional = true } -embassy-time = { version = "0.1.4", features = ["nightly"], optional = true } +embedded-io-async = { version = "0.6.0", optional = true } +embassy-executor = { version = "0.3.0", optional = true, features = ["integrated-timers"] } embassy-futures = { version = "0.1.0", optional = true } +embassy-sync = { version = "0.3.0", optional = true } +embassy-time = { version = "0.1.5", optional = true, features = ["nightly"] } # RISC-V esp-riscv-rt = { version = "0.5.0", optional = true, path = "../esp-riscv-rt" } @@ -55,17 +55,17 @@ ufmt-write = { version = "0.1.0", optional = true } # IMPORTANT: # Each supported device MUST have its PAC included below along with a # corresponding feature. -esp32 = { version = "0.26.0", features = ["critical-section"], optional = true } -esp32c2 = { version = "0.14.0", features = ["critical-section"], optional = true } -esp32c3 = { version = "0.17.0", features = ["critical-section"], optional = true } -esp32c6 = { git = "https://github.com/esp-rs/esp-pacs", rev = "1b1ce7b", features = ["critical-section"], optional = true } -esp32h2 = { git = "https://github.com/esp-rs/esp-pacs", rev = "1b1ce7b", features = ["critical-section"], optional = true } -esp32s2 = { version = "0.17.0", features = ["critical-section"], optional = true } -esp32s3 = { git = "https://github.com/esp-rs/esp-pacs", rev = "1b1ce7b", features = ["critical-section"], optional = true } +esp32 = { version = "0.27.0", features = ["critical-section"], optional = true } +esp32c2 = { version = "0.15.0", features = ["critical-section"], optional = true } +esp32c3 = { version = "0.18.0", features = ["critical-section"], optional = true } +esp32c6 = { version = "0.8.0", features = ["critical-section"], optional = true } +esp32h2 = { version = "0.4.0", features = ["critical-section"], optional = true } +esp32s2 = { version = "0.18.0", features = ["critical-section"], optional = true } +esp32s3 = { version = "0.22.0", features = ["critical-section"], optional = true } [build-dependencies] -basic-toml = "0.1.4" -serde = { version = "1.0.188", features = ["derive"] } +basic-toml = "0.1.6" +serde = { version = "1.0.190", features = ["derive"] } [features] esp32 = ["xtensa", "esp32/rt", "procmacros/esp32", "xtensa-lx/esp32", "xtensa-lx-rt/esp32"] diff --git a/esp-hal-common/src/hmac.rs b/esp-hal-common/src/hmac.rs index ee6fe70dc..0f88f759a 100644 --- a/esp-hal-common/src/hmac.rs +++ b/esp-hal-common/src/hmac.rs @@ -135,16 +135,11 @@ impl<'d> Hmac<'d> { .set_para_finish .write(|w| w.set_para_end().set_bit()); - // TODO align `query_check` in SVDs/PACs - #[cfg(esp32h2)] if self.hmac.query_error.read().query_check().bit_is_set() { return Err(nb::Error::Other(Error::KeyPurposeMismatch)); } - #[cfg(not(esp32h2))] - if self.hmac.query_error.read().qurey_check().bit_is_set() { - return Err(nb::Error::Other(Error::KeyPurposeMismatch)); - } - return Ok(()); + + Ok(()) } /// Process the msg block after block diff --git a/esp-hal-common/src/twai/mod.rs b/esp-hal-common/src/twai/mod.rs index 2dd6ea581..a3279634f 100644 --- a/esp-hal-common/src/twai/mod.rs +++ b/esp-hal-common/src/twai/mod.rs @@ -312,6 +312,9 @@ where let tseg_2 = timing.tseg_2 - 1; let triple_sample = timing.triple_sample; + #[cfg(esp32)] + let prescale = prescale as u8; + // Set up the prescaler and sync jump width. self.peripheral .register_block() diff --git a/esp32-hal/Cargo.toml b/esp32-hal/Cargo.toml index ccf46808d..f3607949c 100644 --- a/esp32-hal/Cargo.toml +++ b/esp32-hal/Cargo.toml @@ -26,27 +26,27 @@ categories = [ [dependencies] esp-hal-common = { version = "0.12.0", features = ["esp32"], path = "../esp-hal-common" } -embassy-time = { version = "0.1.4", features = ["nightly"], optional = true } +embassy-time = { version = "0.1.5", features = ["nightly"], optional = true } [dev-dependencies] aes = "0.8.3" critical-section = "1.1.2" crypto-bigint = { version = "0.5.3", default-features = false } embassy-executor = { version = "0.3.0", features = ["nightly"] } -embassy-sync = "0.2.0" +embassy-sync = "0.3.0" embedded-graphics = "0.8.1" embedded-hal-1 = { version = "=1.0.0-rc.1", package = "embedded-hal" } embedded-hal-async = "=1.0.0-rc.1" -embedded-io-async = "0.5.0" +embedded-io-async = "0.6.0" esp-alloc = "0.3.0" -esp-backtrace = { version = "0.8.0", features = ["esp32", "panic-handler", "exception-handler", "print-uart"] } +esp-backtrace = { version = "0.9.0", features = ["esp32", "panic-handler", "exception-handler", "print-uart"] } esp-hal-smartled = { version = "0.5.0", features = ["esp32"], path = "../esp-hal-smartled" } -esp-println = { version = "0.6.0", features = ["esp32"] } +esp-println = { version = "0.7.0", features = ["esp32"] } heapless = "0.7.16" lis3dh-async = "0.8.0" -sha2 = { version = "0.10.7", default-features = false} +sha2 = { version = "0.10.8", default-features = false} smart-leds = "0.3.0" -ssd1306 = "0.8.1" +ssd1306 = "0.8.3" static_cell = { version = "1.2.0", features = ["nightly"] } [features] diff --git a/esp32c2-hal/.cargo/config.toml b/esp32c2-hal/.cargo/config.toml index c57687d93..9b2287f08 100644 --- a/esp32c2-hal/.cargo/config.toml +++ b/esp32c2-hal/.cargo/config.toml @@ -2,6 +2,7 @@ runner = "espflash flash --monitor" rustflags = [ "-C", "link-arg=-Tlinkall.x", + "-C", "force-frame-pointers", # comment the cfgs below if you do _not_ wish to emulate atomics. # enable the atomic codegen option for RISCV diff --git a/esp32c2-hal/Cargo.toml b/esp32c2-hal/Cargo.toml index d9fdf414d..6f129e42b 100644 --- a/esp32c2-hal/Cargo.toml +++ b/esp32c2-hal/Cargo.toml @@ -26,7 +26,7 @@ categories = [ [dependencies] esp-hal-common = { version = "0.12.0", features = ["esp32c2"], path = "../esp-hal-common" } -embassy-time = { version = "0.1.4", features = ["nightly"], optional = true } +embassy-time = { version = "0.1.5", features = ["nightly"], optional = true } [dev-dependencies] critical-section = "1.1.2" @@ -34,20 +34,20 @@ embassy-executor = { version = "0.3.0", features = ["nightly", "integrated-tim embedded-graphics = "0.8.1" embedded-hal-1 = { version = "=1.0.0-rc.1", package = "embedded-hal" } embedded-hal-async = "=1.0.0-rc.1" -embedded-io-async = "0.5.0" -esp-backtrace = { version = "0.8.0", features = ["esp32c2", "panic-handler", "exception-handler", "print-uart"] } -esp-println = { version = "0.6.0", features = ["esp32c2"] } +embedded-io-async = "0.6.0" +esp-backtrace = { version = "0.9.0", features = ["esp32c2", "panic-handler", "exception-handler", "print-uart"] } +esp-println = { version = "0.7.0", features = ["esp32c2"] } heapless = "0.7.16" lis3dh-async = "0.8.0" -sha2 = { version = "0.10.7", default-features = false} -ssd1306 = "0.8.1" +sha2 = { version = "0.10.8", default-features = false} +ssd1306 = "0.8.3" static_cell = { version = "1.2.0", features = ["nightly"] } -hex-literal = "0" -crypto-bigint = {version = "0.5.1", default-features = false } -elliptic-curve = {version = "0.13.4", default-features = false, features = ["sec1"] } +hex-literal = "0.4.1" +crypto-bigint = {version = "0.5.3", default-features = false } +elliptic-curve = {version = "0.13.6", default-features = false, features = ["sec1"] } p192 = {version = "0.13.0", default-features = false, features = ["arithmetic"] } p256 = {version = "0.13.2", default-features = false, features = ["arithmetic"] } -embassy-sync = "0.2.0" +embassy-sync = "0.3.0" [features] default = ["rt", "vectored", "xtal-40mhz"] diff --git a/esp32c3-hal/.cargo/config.toml b/esp32c3-hal/.cargo/config.toml index 922b77a22..94569ce09 100644 --- a/esp32c3-hal/.cargo/config.toml +++ b/esp32c3-hal/.cargo/config.toml @@ -2,6 +2,7 @@ runner = "espflash flash --monitor" rustflags = [ "-C", "link-arg=-Tlinkall.x", + "-C", "force-frame-pointers", # comment the cfgs below if you do _not_ wish to emulate atomics. # enable the atomic codegen option for RISCV diff --git a/esp32c3-hal/Cargo.toml b/esp32c3-hal/Cargo.toml index fa5242892..43d8997ec 100644 --- a/esp32c3-hal/Cargo.toml +++ b/esp32c3-hal/Cargo.toml @@ -27,7 +27,7 @@ categories = [ [dependencies] cfg-if = "1.0.0" esp-hal-common = { version = "0.12.0", features = ["esp32c3"], path = "../esp-hal-common" } -embassy-time = { version = "0.1.4", features = ["nightly"], optional = true } +embassy-time = { version = "0.1.5", features = ["nightly"], optional = true } [dev-dependencies] aes = "0.8.3" @@ -39,18 +39,18 @@ embedded-graphics = "0.8.1" embedded-hal = { version = "0.2.7", features = ["unproven"] } embedded-hal-1 = { version = "=1.0.0-rc.1", package = "embedded-hal" } embedded-hal-async = "=1.0.0-rc.1" -embedded-io-async = "0.5.0" -esp-backtrace = { version = "0.8.0", features = ["esp32c3", "panic-handler", "exception-handler", "print-uart"] } +embedded-io-async = "0.6.0" +esp-backtrace = { version = "0.9.0", features = ["esp32c3", "panic-handler", "exception-handler", "print-uart"] } esp-hal-smartled = { version = "0.5.0", features = ["esp32c3"], path = "../esp-hal-smartled" } -esp-println = { version = "0.6.0", features = ["esp32c3"] } +esp-println = { version = "0.7.0", features = ["esp32c3"] } heapless = "0.7.16" hmac = { version = "0.12.1", default-features = false } lis3dh-async = "0.8.0" -sha2 = { version = "0.10.7", default-features = false } +sha2 = { version = "0.10.8", default-features = false } smart-leds = "0.3.0" -ssd1306 = "0.8.1" +ssd1306 = "0.8.3" static_cell = { version = "1.2.0", features = ["nightly"] } -embassy-sync = "0.2.0" +embassy-sync = "0.3.0" [features] default = ["rt", "vectored", "esp-hal-common/rv-zero-rtc-bss"] diff --git a/esp32c6-hal/.cargo/config.toml b/esp32c6-hal/.cargo/config.toml index 3e8a0bd01..68c020c7c 100644 --- a/esp32c6-hal/.cargo/config.toml +++ b/esp32c6-hal/.cargo/config.toml @@ -2,6 +2,7 @@ runner = "espflash flash --monitor" rustflags = [ "-C", "link-arg=-Tlinkall.x", + "-C", "force-frame-pointers", ] [build] diff --git a/esp32c6-hal/Cargo.toml b/esp32c6-hal/Cargo.toml index bae49abb6..c551466af 100644 --- a/esp32c6-hal/Cargo.toml +++ b/esp32c6-hal/Cargo.toml @@ -27,7 +27,7 @@ categories = [ [dependencies] esp-hal-common = { version = "0.12.0", features = ["esp32c6"], path = "../esp-hal-common" } -embassy-time = { version = "0.1.4", features = ["nightly"], optional = true } +embassy-time = { version = "0.1.5", features = ["nightly"], optional = true } [dev-dependencies] aes = "0.8.3" @@ -38,22 +38,22 @@ embedded-graphics = "0.8.1" embedded-hal-1 = { version = "=1.0.0-rc.1", package = "embedded-hal" } embedded-hal-async = "=1.0.0-rc.1" embedded-can = "0.4.1" -embedded-io-async = "0.5.0" -esp-backtrace = { version = "0.8.0", features = ["esp32c6", "panic-handler", "exception-handler", "print-uart"] } +embedded-io-async = "0.6.0" +esp-backtrace = { version = "0.9.0", features = ["esp32c6", "panic-handler", "exception-handler", "print-uart"] } esp-hal-smartled = { version = "0.5.0", features = ["esp32c6"], path = "../esp-hal-smartled" } -esp-println = { version = "0.6.0", features = ["esp32c6"] } +esp-println = { version = "0.7.0", features = ["esp32c6"] } heapless = "0.7.16" hmac = { version = "0.12.1", default-features = false } lis3dh-async = "0.8.0" -sha2 = { version = "0.10.7", default-features = false} +sha2 = { version = "0.10.8", default-features = false} smart-leds = "0.3.0" -ssd1306 = "0.8.1" +ssd1306 = "0.8.3" static_cell = { version = "1.2.0", features = ["nightly"] } -hex-literal = "0" -elliptic-curve = {version = "0.13.4", default-features = false, features = ["sec1"] } +hex-literal = "0.4.1" +elliptic-curve = {version = "0.13.6", default-features = false, features = ["sec1"] } p192 = {version = "0.13.0", default-features = false, features = ["arithmetic"] } p256 = {version = "0.13.2", default-features = false, features = ["arithmetic"] } -embassy-sync = "0.2.0" +embassy-sync = "0.3.0" [features] default = ["rt", "vectored", "esp-hal-common/rv-zero-rtc-bss"] diff --git a/esp32h2-hal/.cargo/config.toml b/esp32h2-hal/.cargo/config.toml index 3e8a0bd01..68c020c7c 100644 --- a/esp32h2-hal/.cargo/config.toml +++ b/esp32h2-hal/.cargo/config.toml @@ -2,6 +2,7 @@ runner = "espflash flash --monitor" rustflags = [ "-C", "link-arg=-Tlinkall.x", + "-C", "force-frame-pointers", ] [build] diff --git a/esp32h2-hal/Cargo.toml b/esp32h2-hal/Cargo.toml index 7e46594ce..eb661c65e 100644 --- a/esp32h2-hal/Cargo.toml +++ b/esp32h2-hal/Cargo.toml @@ -27,7 +27,7 @@ categories = [ [dependencies] esp-hal-common = { version = "0.12.0", features = ["esp32h2"], path = "../esp-hal-common" } -embassy-time = { version = "0.1.4", features = ["nightly"], optional = true } +embassy-time = { version = "0.1.5", features = ["nightly"], optional = true } [dev-dependencies] aes = "0.8.3" @@ -38,22 +38,22 @@ embedded-graphics = "0.8.1" embedded-hal-1 = { version = "=1.0.0-rc.1", package = "embedded-hal" } embedded-hal-async = "=1.0.0-rc.1" embedded-can = "0.4.1" -embedded-io-async = "0.5.0" -esp-backtrace = { version = "0.8.0", features = ["esp32h2", "panic-handler", "exception-handler", "print-uart"] } +embedded-io-async = "0.6.0" +esp-backtrace = { version = "0.9.0", features = ["esp32h2", "panic-handler", "exception-handler", "print-uart"] } esp-hal-smartled = { version = "0.5.0", features = ["esp32h2"], path = "../esp-hal-smartled" } -esp-println = { version = "0.6.0", features = ["esp32h2"] } +esp-println = { version = "0.7.0", features = ["esp32h2"] } heapless = "0.7.16" hmac = { version = "0.12.1", default-features = false } lis3dh-async = "0.8.0" -sha2 = { version = "0.10.7", default-features = false} +sha2 = { version = "0.10.8", default-features = false} smart-leds = "0.3.0" -ssd1306 = "0.8.1" +ssd1306 = "0.8.3" static_cell = { version = "1.2.0", features = ["nightly"] } -hex-literal = "0" -elliptic-curve = {version = "0.13.4", default-features = false, features = ["sec1"] } +hex-literal = "0.4.1" +elliptic-curve = {version = "0.13.6", default-features = false, features = ["sec1"] } p192 = {version = "0.13.0", default-features = false, features = ["arithmetic"] } p256 = {version = "0.13.2", default-features = false, features = ["arithmetic"] } -embassy-sync = "0.2.0" +embassy-sync = "0.3.0" [features] default = ["rt", "vectored", "esp-hal-common/rv-zero-rtc-bss"] diff --git a/esp32s2-hal/Cargo.toml b/esp32s2-hal/Cargo.toml index db9172fbe..e15cfeb5a 100644 --- a/esp32s2-hal/Cargo.toml +++ b/esp32s2-hal/Cargo.toml @@ -26,7 +26,7 @@ categories = [ [dependencies] esp-hal-common = { version = "0.12.0", features = ["esp32s2"], path = "../esp-hal-common" } -embassy-time = { version = "0.1.4", features = ["nightly"], optional = true } +embassy-time = { version = "0.1.5", features = ["nightly"], optional = true } xtensa-atomic-emulation-trap = "0.4.0" [dev-dependencies] @@ -34,21 +34,21 @@ aes = "0.8.3" critical-section = "1.1.2" crypto-bigint = { version = "0.5.3", default-features = false } embassy-executor = { version = "0.3.0", features = ["nightly"] } -embassy-sync = "0.2.0" +embassy-sync = "0.3.0" embedded-graphics = "0.8.1" embedded-hal-1 = { version = "=1.0.0-rc.1", package = "embedded-hal" } embedded-hal-async = "=1.0.0-rc.1" -embedded-io-async = "0.5.0" +embedded-io-async = "0.6.0" esp-alloc = "0.3.0" -esp-backtrace = { version = "0.8.0", features = ["esp32s2", "panic-handler", "print-uart", "exception-handler"] } +esp-backtrace = { version = "0.9.0", features = ["esp32s2", "panic-handler", "print-uart", "exception-handler"] } esp-hal-smartled = { version = "0.5.0", features = ["esp32s2"], path = "../esp-hal-smartled" } -esp-println = { version = "0.6.0", features = ["esp32s2"] } +esp-println = { version = "0.7.0", features = ["esp32s2"] } heapless = "0.7.16" hmac = { version = "0.12.1", default-features = false } lis3dh-async = "0.8.0" -sha2 = { version = "0.10.7", default-features = false } +sha2 = { version = "0.10.8", default-features = false } smart-leds = "0.3.0" -ssd1306 = "0.8.1" +ssd1306 = "0.8.3" static_cell = { version = "1.2.0", features = ["nightly"] } usb-device = "0.2.9" usbd-serial = "0.1.1" diff --git a/esp32s3-hal/Cargo.toml b/esp32s3-hal/Cargo.toml index d788c51d0..75519159e 100644 --- a/esp32s3-hal/Cargo.toml +++ b/esp32s3-hal/Cargo.toml @@ -26,7 +26,7 @@ categories = [ [dependencies] esp-hal-common = { version = "0.12.0", features = ["esp32s3"], path = "../esp-hal-common" } -embassy-time = { version = "0.1.4", features = ["nightly"], optional = true } +embassy-time = { version = "0.1.5", features = ["nightly"], optional = true } r0 = { version = "1.0.0", optional = true } [dev-dependencies] @@ -34,23 +34,23 @@ aes = "0.8.3" critical-section = "1.1.2" crypto-bigint = { version = "0.5.3", default-features = false } embassy-executor = { version = "0.3.0", features = ["nightly"] } -embassy-sync = "0.2.0" +embassy-sync = "0.3.0" embedded-graphics = "0.8.1" embedded-hal = { version = "0.2.7", features = ["unproven"] } embedded-hal-1 = { version = "=1.0.0-rc.1", package = "embedded-hal" } embedded-hal-async = "=1.0.0-rc.1" embedded-can = "0.4.1" -embedded-io-async = "0.5.0" +embedded-io-async = "0.6.0" esp-alloc = "0.3.0" -esp-backtrace = { version = "0.8.0", features = ["esp32s3", "panic-handler", "exception-handler", "print-uart"] } +esp-backtrace = { version = "0.9.0", features = ["esp32s3", "panic-handler", "exception-handler", "print-uart"] } esp-hal-smartled = { version = "0.5.0", features = ["esp32s3"], path = "../esp-hal-smartled" } -esp-println = { version = "0.6.0", features = ["esp32s3"] } +esp-println = { version = "0.7.0", features = ["esp32s3"] } heapless = "0.7.16" hmac = { version = "0.12.1", default-features = false } lis3dh-async = "0.8.0" -sha2 = { version = "0.10.7", default-features = false } +sha2 = { version = "0.10.8", default-features = false } smart-leds = "0.3.0" -ssd1306 = "0.8.1" +ssd1306 = "0.8.3" static_cell = { version = "1.2.0", features = ["nightly"] } usb-device = "0.2.9" usbd-serial = "0.1.1"