New package releases (#1018)

* Fix typos in top-level `README.md`

* Bump version numbers of all packages and update necessary dependencies

* Update `CHANGELOG.md` files
This commit is contained in:
Jesse Braham 2023-12-12 18:17:17 +00:00 committed by GitHub
parent 19c9cef9a8
commit c55a6b70ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 152 additions and 186 deletions

View File

@ -7,9 +7,10 @@ Please note that only changes to the `esp-hal-common` package are tracked in thi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.14.0] - 2023-12-12
### Added
- ESP32-C6: LP core clock is configurable (#907)
- Derive `Clone` and `Copy` for `EspTwaiFrame` (#914)
- A way to configure inverted pins (#912)
@ -26,12 +27,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Improve DMA documentation & clean up module (#915)
- Only allow a single version of `esp-hal-common` to be present in an application (#934)
- C3, C6 and H2 can now use the `zero-rtc-bss` feature to enable `esp-hal-common/rv-zero-rtc-bss` (#867)
- ESP32-C3/C6 and ESP32-H2 can now use the `zero-rtc-bss` feature to enable `esp-hal-common/rv-zero-rtc-bss` (#867)
- Reuse `ieee802154_clock_enable/disable()` functions for BLE and rename `ble_ieee802154_clock_enable()` (#953)
- The `embedded-io` trait implementations are now gated behind the `embedded-io` feature (#964)
- Simplifed RMT channels and channel creators (#958)
- Reworked construction of I2S driver instances (#983)
- S2 / S3: Don't require GPIO 18 to create a USB peripheral driver instance (#990)
- ESP32-S2/S3: Don't require GPIO 18 to create a USB peripheral driver instance (#990)
- Updated to latest release candidate (`1.0.0-rc.2`) for `embedded-hal{-async,-nb}` (#994)
- Explicit panic when hitting the `DefaultHandler` (#1005)
- Relevant interrupts are now auto enabled in `embassy::init` (#1014).
@ -52,14 +53,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
- Direct boot support has been removed (#903).
- Removed the `mcu-boot` feature from `esp32c3-hal` (#938)
- Removed SpiBusController and SpiBusDevice in favour of embedded-hal-bus and embassy-embedded-hal implementataions. (#978)
### Breaking
- Direct boot support has been removed (#903).
- `Spi::new`/`Spi::new_half_duplex` takes no gpio pin now, instead you need to call `with_pins` to setup those (#901).
- ESP32C2, ESP32C3, ESP32S2: atomic emulation trap has been removed. When upgrading you must either remove [these lines](https://github.com/esp-rs/riscv-atomic-emulation-trap#usage) from your `.cargo/config.toml`. Usage of `core::sync::atomic::*` in dependent crates should be replaced with [portable-atomic](https://github.com/taiki-e/portable-atomic). (#904) (#985)
- RSA driver now takes u32 words instead of u8 bytes. The expected slice length is now 4 times shorter. (#981)
- ESP32-C2, ESP32-C3, ESP32-S2: atomic emulation trap has been removed. (#904) (#985)
- When upgrading you must either remove [these lines](https://github.com/esp-rs/riscv-atomic-emulation-trap#usage) from your `.cargo/config.toml`.
- Usage of `core::sync::atomic::*` in dependent crates should be replaced with [portable-atomic](https://github.com/taiki-e/portable-atomic).
- RSA driver now takes `u32` words instead of `u8` bytes. The expected slice length is now 4 times shorter. (#981)
## [0.13.1] - 2023-11-02
@ -337,7 +341,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.1.0] - 2022-08-05
[Unreleased]: https://github.com/esp-rs/esp-hal/compare/v0.13.1...HEAD
[0.14.0]: https://github.com/esp-rs/esp-hal/compare/v0.13.1...v0.14.0
[0.13.1]: https://github.com/esp-rs/esp-hal/compare/v0.13.0...v0.13.1
[0.13.0]: https://github.com/esp-rs/esp-hal/compare/v0.12.0...v0.13.0
[0.12.0]: https://github.com/esp-rs/esp-hal/compare/v0.11.0...v0.12.0

View File

@ -76,8 +76,8 @@ For information about the HAL and how to use it in your own projects, please ref
| Crate | Documentation | Target |
| :-----------------: | :------------------------: | :----------------------------: |
| [esp-ulp-riscv-hal] | N/A (_Not yet ppublished_) | `riscv32imc-unknown-none-elf` |
| [esp32c6-lp-hal] | N/A (_Not yet ppublished_) | `riscv32imac-unknown-none-elf` |
| [esp-ulp-riscv-hal] | N/A (_Not yet published_) | `riscv32imc-unknown-none-elf` |
| [esp32c6-lp-hal] | N/A (_Not yet published_) | `riscv32imac-unknown-none-elf` |
[esp-ulp-riscv-hal]: https://github.com/esp-rs/esp-hal/tree/main/esp-ulp-riscv-hal
[esp32c6-lp-hal]: https://github.com/esp-rs/esp-hal/tree/main/esp32c6-lp-hal

View File

@ -1,10 +1,6 @@
[package]
name = "esp-hal-common"
version = "0.13.1"
authors = [
"Jesse Braham <jesse@beta7.io>",
"Björn Quentin <bjoern.quentin@mobile-j.de>",
]
name = "esp-hal-common"
version = "0.14.0"
edition = "2021"
rust-version = "1.67.0"
description = "HAL implementations for peripherals common among Espressif devices; should not be used directly"
@ -33,12 +29,12 @@ embedded-io = { version = "0.6.1", optional = true }
enumset = "1.1.3"
esp-synopsys-usb-otg = { version = "0.4.0", optional = true, features = ["fs", "esp32sx"] }
fugit = "0.3.7"
heapless = "0.8"
heapless = "0.8.0"
log = { version = "0.4.20", optional = true }
nb = "1.1.0"
paste = "1.0.14"
portable-atomic = { version = "1.5.1", default-features = false }
procmacros = { version = "0.7.0", features = ["enum-dispatch", "ram"], package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
portable-atomic = { version = "1.6.0", default-features = false }
procmacros = { version = "0.8.0", features = ["enum-dispatch", "ram"], package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
strum = { version = "0.25.0", default-features = false, features = ["derive"] }
void = { version = "1.0.2", default-features = false }
usb-device = { version = "0.3.1", optional = true }
@ -52,7 +48,7 @@ embassy-sync = { version = "0.5.0", optional = true }
embassy-time = { version = "0.2.0", optional = true }
# RISC-V
esp-riscv-rt = { version = "0.5.0", optional = true, path = "../esp-riscv-rt" }
esp-riscv-rt = { version = "0.6.0", optional = true, path = "../esp-riscv-rt" }
# Xtensa
xtensa-lx = { version = "0.8.0", optional = true }
@ -67,7 +63,7 @@ ufmt-write = { version = "0.1.0", optional = true }
esp32 = { version = "0.28.0", features = ["critical-section"], optional = true }
esp32c2 = { version = "0.16.0", features = ["critical-section"], optional = true }
esp32c3 = { version = "0.19.0", features = ["critical-section"], optional = true }
esp32c6 = { version = "0.10.0", features = ["critical-section"], optional = true }
esp32c6 = { version = "0.10.0", features = ["critical-section"], optional = true }
esp32h2 = { version = "0.6.0", features = ["critical-section"], optional = true }
esp32s2 = { version = "0.19.0", features = ["critical-section"], optional = true }
esp32s3 = { version = "0.23.0", features = ["critical-section"], optional = true }
@ -89,7 +85,7 @@ esp32s3 = ["xtensa", "esp32s3/rt", "procmacros/esp32s3", "xtensa-lx/esp32s3", "x
xtal-26mhz = []
xtal-40mhz = []
# Only certain chips support flip-link
# Only certain chips support flip-link (ESP32-C6 and ESPS32-H2)
flip-link = ["esp-riscv-rt/fix-sp"]
# PSRAM support
@ -98,9 +94,9 @@ psram-4m = []
psram-8m = []
# Octal RAM support
opsram-2m = []
opsram-4m = []
opsram-8m = []
opsram-2m = []
opsram-4m = []
opsram-8m = []
opsram-16m = []
# USB OTG support (ESP32-S2 and ESP32-S3 only! Enabled by default)
@ -145,7 +141,7 @@ embassy-executor-thread = ["embassy", "embassy-executor"]
embassy-time-systick = []
embassy-time-timg0 = []
# prefer integrated timers, but allow using the generic queue if needed
# Prefer integrated timers, but allow using the generic queue if needed
embassy-integrated-timers = ["embassy-executor?/integrated-timers"]
embassy-generic-queue-8 = ["embassy-time/generic-queue-8"]
embassy-generic-queue-16 = ["embassy-time/generic-queue-16"]

View File

@ -1,6 +1,6 @@
[package]
name = "esp-hal-procmacros"
version = "0.7.0"
version = "0.8.0"
edition = "2021"
rust-version = "1.67.0"
description = "Procedural macros for ESP-HAL"
@ -17,11 +17,11 @@ proc-macro = true
darling = "0.20.3"
litrs = "0.4.1"
object = { version = "0.32.1", optional = true }
proc-macro-crate = "2.0.0"
proc-macro-crate = "2.0.1"
proc-macro-error = "1.0.4"
proc-macro2 = "1.0.69"
proc-macro2 = "1.0.70"
quote = "1.0.33"
syn = { version = "2.0.38", features = ["extra-traits", "full"] }
syn = { version = "2.0.40", features = ["extra-traits", "full"] }
[features]
# Select a target device:

View File

@ -1,6 +1,6 @@
[package]
name = "esp-hal-smartled"
version = "0.6.0"
version = "0.7.0"
edition = "2021"
rust-version = "1.67.0"
description = "RMT adapter for smartleds"
@ -12,7 +12,7 @@ features = ["esp32c3"]
[dependencies]
defmt = { version = "=0.3.5", optional = true }
esp-hal-common = { version = "0.13.0", path = "../esp-hal-common" }
esp-hal-common = { version = "0.14.0", path = "../esp-hal-common" }
fugit = "0.3.7"
smart-leds-trait = "0.2.1"

View File

@ -5,18 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Added
### Changed
## 0.6.0 - 2023-12-12
### Fixed
- Fix overwriting rtc-uninit-data when there is no rtc-bss data (#952)
- Fix overwriting `rtc-uninit-data` when there is no rtc-bss data (#952)
- Fix RISC-V stack allocation (#988)
- ESP32-C6/ESP32-H2: Add `fix-sp` feature to support `flip-link` in `esp-hal-common` (#1008)
### Removed
## 0.5.0
## 0.5.0 - 2023-09-05
### Changed

View File

@ -1,6 +1,6 @@
[package]
name = "esp-riscv-rt"
version = "0.5.0"
version = "0.6.0"
edition = "2021"
rust-version = "1.65"
description = "Minimal runtime / startup for RISC-V CPUs from Espressif"
@ -13,31 +13,28 @@ categories = ["embedded", "no-std"]
riscv = "0.10.1"
riscv-rt-macros = "0.2.0"
[dev-dependencies]
panic-halt = "0.2.0"
[features]
direct-vectoring = []
direct-vectoring = []
fix-sp = []
has-mie-mip = []
init-data = []
init-rtc-fast-data = []
init-rtc-fast-text = []
init-rw-text = []
interrupt-preemption = []
has-mie-mip = []
zero-bss = []
zero-rtc-fast-bss = []
init-data = []
init-rw-text = []
init-rtc-fast-data = []
init-rtc-fast-text = []
fix-sp = []
zero-bss = []
zero-rtc-fast-bss = []
# This feature is intended for testing; you probably don't want to enable it:
ci = [
"direct-vectoring",
"interrupt-preemption",
"fix-sp",
"has-mie-mip",
"zero-bss",
"zero-rtc-fast-bss",
"init-data",
"init-rw-text",
"init-rtc-fast-data",
"init-rtc-fast-text",
"fix-sp",
"init-rw-text",
"interrupt-preemption",
"zero-bss",
"zero-rtc-fast-bss",
]

View File

@ -1,10 +1,6 @@
[package]
name = "esp32-hal"
version = "0.16.0"
authors = [
"Jesse Braham <jesse@beta7.io>",
"Björn Quentin <bjoern.quentin@mobile-j.de>",
]
name = "esp32-hal"
version = "0.17.0"
edition = "2021"
rust-version = "1.67.0"
description = "HAL for ESP32 microcontrollers"
@ -25,25 +21,25 @@ categories = [
]
[dependencies]
esp-hal-common = { version = "0.13.0", features = ["esp32"], path = "../esp-hal-common" }
esp-hal-common = { version = "0.14.0", features = ["esp32"], path = "../esp-hal-common" }
embassy-time = { version = "0.2.0", optional = true }
[dev-dependencies]
aes = "0.8.3"
critical-section = "1.1.2"
crypto-bigint = { version = "0.5.3", default-features = false }
crypto-bigint = { version = "0.5.5", default-features = false }
embassy-executor = { version = "0.4.0", features = ["nightly"] }
embassy-sync = "0.5.0"
embedded-graphics = "0.8.1"
embedded-hal-1 = { version = "=1.0.0-rc.2", package = "embedded-hal" }
embedded-hal-async = "=1.0.0-rc.2"
embedded-io-async = "0.6.0"
embedded-io-async = "0.6.1"
embedded-hal-bus = "0.1.0-rc.2"
esp-alloc = "0.3.0"
esp-backtrace = { version = "0.9.0", features = ["esp32", "panic-handler", "exception-handler", "print-uart"] }
esp-hal-smartled = { version = "0.6.0", features = ["esp32"], path = "../esp-hal-smartled" }
esp-println = { version = "0.7.0", features = ["esp32"] }
heapless = "0.8"
esp-hal-smartled = { version = "0.7.0", features = ["esp32"], path = "../esp-hal-smartled" }
esp-println = { version = "0.7.1", features = ["esp32"] }
heapless = "0.8.0"
lis3dh-async = "0.8.0"
sha2 = { version = "0.10.8", default-features = false}
smart-leds = "0.3.0"

View File

@ -1,10 +1,6 @@
[package]
name = "esp32c2-hal"
version = "0.11.0"
authors = [
"Jesse Braham <jesse@beta7.io>",
"Björn Quentin <bjoern.quentin@mobile-j.de>",
]
name = "esp32c2-hal"
version = "0.12.0"
edition = "2021"
rust-version = "1.67.0"
description = "HAL for ESP32-C2 microcontrollers"
@ -25,30 +21,30 @@ categories = [
]
[dependencies]
esp-hal-common = { version = "0.13.0", features = ["esp32c2"], path = "../esp-hal-common" }
embassy-time = { version = "0.2.0", optional = true }
esp-hal-common = { version = "0.14.0", features = ["esp32c2"], path = "../esp-hal-common" }
embassy-time = { version = "0.2.0", optional = true }
[dev-dependencies]
critical-section = "1.1.2"
embassy-executor = { version = "0.4.0", features = ["nightly"] }
crypto-bigint = { version = "0.5.5", default-features = false }
elliptic-curve = { version = "0.13.8", default-features = false, features = ["sec1"] }
embassy-executor = { version = "0.4.0", features = ["nightly"] }
embassy-sync = "0.5.0"
embedded-graphics = "0.8.1"
embedded-hal-1 = { version = "=1.0.0-rc.2", package = "embedded-hal" }
embedded-hal-async = "=1.0.0-rc.2"
embedded-io-async = "0.6.0"
embedded-io-async = "0.6.1"
embedded-hal-bus = "0.1.0-rc.2"
esp-backtrace = { version = "0.9.0", features = ["esp32c2", "panic-handler", "exception-handler", "print-uart"] }
esp-println = { version = "0.7.0", features = ["esp32c2"] }
heapless = "0.8"
esp-println = { version = "0.7.1", features = ["esp32c2"] }
heapless = "0.8.0"
hex-literal = "0.4.1"
lis3dh-async = "0.8.0"
p192 = { version = "0.13.0", default-features = false, features = ["arithmetic"] }
p256 = { version = "0.13.2", default-features = false, features = ["arithmetic"] }
sha2 = { version = "0.10.8", default-features = false}
ssd1306 = "0.8.4"
static_cell = { version = "2.0.0", features = ["nightly"] }
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.5.0"
[features]
default = ["rt", "vectored", "xtal-40mhz", "embassy-integrated-timers"]

View File

@ -1,10 +1,6 @@
[package]
name = "esp32c3-hal"
version = "0.13.0"
authors = [
"Jesse Braham <jesse@beta7.io>",
"Björn Quentin <bjoern.quentin@mobile-j.de>",
]
name = "esp32c3-hal"
version = "0.14.0"
edition = "2021"
rust-version = "1.67.0"
description = "HAL for ESP32-C3 microcontrollers"
@ -26,32 +22,32 @@ categories = [
[dependencies]
cfg-if = "1.0.0"
esp-hal-common = { version = "0.13.0", features = ["esp32c3"], path = "../esp-hal-common" }
embassy-time = { version = "0.2.0", optional = true }
esp-hal-common = { version = "0.14.0", features = ["esp32c3"], path = "../esp-hal-common" }
embassy-time = { version = "0.2.0", optional = true }
[dev-dependencies]
aes = "0.8.3"
critical-section = "1.1.2"
crypto-bigint = { version = "0.5.3", default-features = false }
crypto-bigint = { version = "0.5.5", default-features = false }
embassy-executor = { version = "0.4.0", features = ["nightly"] }
embassy-sync = "0.5.0"
embedded-can = "0.4.1"
embedded-graphics = "0.8.1"
embedded-hal = { version = "0.2.7", features = ["unproven"] }
embedded-hal-1 = { version = "=1.0.0-rc.2", package = "embedded-hal" }
embedded-hal-async = "=1.0.0-rc.2"
embedded-io-async = "0.6.0"
embedded-io-async = "0.6.1"
embedded-hal-bus = "0.1.0-rc.2"
esp-backtrace = { version = "0.9.0", features = ["esp32c3", "panic-handler", "exception-handler", "print-uart"] }
esp-hal-smartled = { version = "0.6.0", features = ["esp32c3"], path = "../esp-hal-smartled" }
esp-println = { version = "0.7.0", features = ["esp32c3"] }
heapless = "0.8"
esp-hal-smartled = { version = "0.7.0", features = ["esp32c3"], path = "../esp-hal-smartled" }
esp-println = { version = "0.7.1", features = ["esp32c3"] }
heapless = "0.8.0"
hmac = { version = "0.12.1", default-features = false }
lis3dh-async = "0.8.0"
sha2 = { version = "0.10.8", default-features = false }
smart-leds = "0.3.0"
ssd1306 = "0.8.4"
static_cell = { version = "2.0.0", features = ["nightly"] }
embassy-sync = "0.5.0"
[features]
default = ["rt", "vectored", "zero-rtc-bss", "embassy-integrated-timers"]
@ -67,9 +63,9 @@ ufmt = ["esp-hal-common/ufmt"]
vectored = ["esp-hal-common/vectored"]
# Initialize / clear data sections and RTC memory
zero-rtc-bss = ["esp-hal-common/rv-zero-rtc-bss"]
init-data = ["esp-hal-common/rv-init-data"]
init-rtc-data = ["esp-hal-common/rv-init-rtc-data"]
zero-rtc-bss = ["esp-hal-common/rv-zero-rtc-bss"]
init-data = ["esp-hal-common/rv-init-data"]
init-rtc-data = ["esp-hal-common/rv-init-rtc-data"]
# Embassy support
embassy = ["esp-hal-common/embassy"]

View File

@ -1,11 +1,6 @@
[package]
name = "esp32c6-hal"
version = "0.6.0"
authors = [
"Jesse Braham <jesse@beta7.io>",
"Björn Quentin <bjoern.quentin@mobile-j.de>",
"Juraj Sadel <jurajsadel@gmail.com>",
]
name = "esp32c6-hal"
version = "0.7.0"
edition = "2021"
rust-version = "1.67.0"
description = "HAL for ESP32-C6 microcontrollers"
@ -26,35 +21,35 @@ categories = [
]
[dependencies]
esp-hal-common = { version = "0.13.0", features = ["esp32c6"], path = "../esp-hal-common" }
embassy-time = { version = "0.2.0", optional = true }
esp-hal-common = { version = "0.14.0", features = ["esp32c6"], path = "../esp-hal-common" }
embassy-time = { version = "0.2.0", 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.4.0", features = ["nightly"] }
crypto-bigint = { version = "0.5.5", default-features = false}
elliptic-curve = { version = "0.13.8", default-features = false, features = ["sec1"] }
embassy-executor = { version = "0.4.0", features = ["nightly"] }
embassy-sync = "0.5.0"
embedded-graphics = "0.8.1"
embedded-hal-1 = { version = "=1.0.0-rc.2", package = "embedded-hal" }
embedded-hal-async = "=1.0.0-rc.2"
embedded-can = "0.4.1"
embedded-io-async = "0.6.0"
embedded-io-async = "0.6.1"
embedded-hal-bus = "0.1.0-rc.2"
esp-backtrace = { version = "0.9.0", features = ["esp32c6", "panic-handler", "exception-handler", "print-uart"] }
esp-hal-smartled = { version = "0.6.0", features = ["esp32c6"], path = "../esp-hal-smartled" }
esp-println = { version = "0.7.0", features = ["esp32c6"] }
heapless = "0.8"
esp-hal-smartled = { version = "0.7.0", features = ["esp32c6"], path = "../esp-hal-smartled" }
esp-println = { version = "0.7.1", features = ["esp32c6"] }
heapless = "0.8.0"
hex-literal = "0.4.1"
hmac = { version = "0.12.1", default-features = false }
lis3dh-async = "0.8.0"
p192 = { version = "0.13.0", default-features = false, features = ["arithmetic"] }
p256 = { version = "0.13.2", default-features = false, features = ["arithmetic"] }
sha2 = { version = "0.10.8", default-features = false}
smart-leds = "0.3.0"
ssd1306 = "0.8.4"
static_cell = { version = "2.0.0", features = ["nightly"] }
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.5.0"
[features]
default = ["rt", "vectored", "zero-rtc-bss", "embassy-integrated-timers"]
@ -71,9 +66,9 @@ vectored = ["esp-hal-common/vectored"]
flip-link = ["esp-hal-common/flip-link"]
# Initialize / clear data sections and RTC memory
zero-rtc-bss = ["esp-hal-common/rv-zero-rtc-bss"]
init-data = ["esp-hal-common/rv-init-data"]
init-rtc-data = ["esp-hal-common/rv-init-rtc-data"]
zero-rtc-bss = ["esp-hal-common/rv-zero-rtc-bss"]
init-data = ["esp-hal-common/rv-init-data"]
init-rtc-data = ["esp-hal-common/rv-init-rtc-data"]
# Embassy support
embassy = ["esp-hal-common/embassy"]

View File

@ -1,11 +1,6 @@
[package]
name = "esp32h2-hal"
version = "0.4.0"
authors = [
"Kirill Mikhailov <playfulfence@gmail.com>",
"Jesse Braham <jesse@beta7.io>",
"Sergio Gasquez Arcos <sergio.gasquez@gmail.com",
]
name = "esp32h2-hal"
version = "0.4.0"
edition = "2021"
rust-version = "1.67.0"
description = "HAL for ESP32-H2 microcontrollers"
@ -26,35 +21,35 @@ categories = [
]
[dependencies]
esp-hal-common = { version = "0.13.0", features = ["esp32h2"], path = "../esp-hal-common" }
embassy-time = { version = "0.2.0", optional = true }
esp-hal-common = { version = "0.14.0", features = ["esp32h2"], path = "../esp-hal-common" }
embassy-time = { version = "0.2.0", optional = true }
[dev-dependencies]
aes = "0.8.3"
critical-section = "1.1.2"
crypto-bigint = { version = "0.5.3", default-features = false }
crypto-bigint = { version = "0.5.5", default-features = false }
elliptic-curve = { version = "0.13.8", default-features = false, features = ["sec1"] }
embassy-executor = { version = "0.4.0", features = ["nightly"] }
embassy-sync = "0.5.0"
embedded-graphics = "0.8.1"
embedded-hal-1 = { version = "=1.0.0-rc.2", package = "embedded-hal" }
embedded-hal-async = "=1.0.0-rc.2"
embedded-can = "0.4.1"
embedded-io-async = "0.6.0"
embedded-io-async = "0.6.1"
embedded-hal-bus = "0.1.0-rc.2"
esp-backtrace = { version = "0.9.0", features = ["esp32h2", "panic-handler", "exception-handler", "print-uart"] }
esp-hal-smartled = { version = "0.6.0", features = ["esp32h2"], path = "../esp-hal-smartled" }
esp-println = { version = "0.7.0", features = ["esp32h2"] }
heapless = "0.8"
esp-hal-smartled = { version = "0.7.0", features = ["esp32h2"], path = "../esp-hal-smartled" }
esp-println = { version = "0.7.1", features = ["esp32h2"] }
heapless = "0.8.0"
hex-literal = "0.4.1"
hmac = { version = "0.12.1", default-features = false }
lis3dh-async = "0.8.0"
p192 = { version = "0.13.0", default-features = false, features = ["arithmetic"] }
p256 = { version = "0.13.2", default-features = false, features = ["arithmetic"] }
sha2 = { version = "0.10.8", default-features = false}
smart-leds = "0.3.0"
ssd1306 = "0.8.4"
static_cell = { version = "2.0.0", features = ["nightly"] }
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.5.0"
[features]
default = ["rt", "vectored", "zero-rtc-bss", "embassy-integrated-timers"]
@ -71,9 +66,9 @@ vectored = ["esp-hal-common/vectored"]
flip-link = ["esp-hal-common/flip-link"]
# Initialize / clear data sections and RTC memory
zero-rtc-bss = ["esp-hal-common/rv-zero-rtc-bss"]
init-data = ["esp-hal-common/rv-init-data"]
init-rtc-data = ["esp-hal-common/rv-init-rtc-data"]
zero-rtc-bss = ["esp-hal-common/rv-zero-rtc-bss"]
init-data = ["esp-hal-common/rv-init-data"]
init-rtc-data = ["esp-hal-common/rv-init-rtc-data"]
# Embassy support
embassy = ["esp-hal-common/embassy"]

View File

@ -1,10 +1,6 @@
[package]
name = "esp32s2-hal"
version = "0.13.0"
authors = [
"Jesse Braham <jesse@beta7.io>",
"Björn Quentin <bjoern.quentin@mobile-j.de>",
]
name = "esp32s2-hal"
version = "0.14.0"
edition = "2021"
rust-version = "1.67.0"
description = "HAL for ESP32-S2 microcontrollers"
@ -25,28 +21,28 @@ categories = [
]
[dependencies]
esp-hal-common = { version = "0.13.0", features = ["esp32s2"], path = "../esp-hal-common" }
embassy-time = { version = "0.2.0", optional = true }
esp-hal-common = { version = "0.14.0", features = ["esp32s2"], path = "../esp-hal-common" }
embassy-time = { version = "0.2.0", optional = true }
[dev-dependencies]
aes = "0.8.3"
critical-section = "1.1.2"
crypto-bigint = { version = "0.5.3", default-features = false }
crypto-bigint = { version = "0.5.5", default-features = false }
embassy-executor = { version = "0.4.0", features = ["nightly"] }
embassy-sync = "0.5.0"
embedded-graphics = "0.8.1"
embedded-hal-1 = { version = "=1.0.0-rc.2", package = "embedded-hal" }
embedded-hal-async = "=1.0.0-rc.2"
embedded-io-async = "0.6.0"
embedded-io-async = "0.6.1"
embedded-hal-bus = "0.1.0-rc.2"
esp-alloc = "0.3.0"
esp-backtrace = { version = "0.9.0", features = ["esp32s2", "panic-handler", "print-uart", "exception-handler"] }
esp-hal-smartled = { version = "0.6.0", features = ["esp32s2"], path = "../esp-hal-smartled" }
esp-println = { version = "0.7.0", features = ["esp32s2"] }
heapless = { version = "0.8", features = ["portable-atomic"] }
# xtensa targets are not auto detected to need atomic emulation in the futures-* crates.
# see https://github.com/rust-lang/futures-rs/pull/2805 as to how to remove this dep for good
futures-util = { version = "0.3.17", default-features = false, features = ["portable-atomic"] }
esp-hal-smartled = { version = "0.7.0", features = ["esp32s2"], path = "../esp-hal-smartled" }
esp-println = { version = "0.7.1", features = ["esp32s2"] }
# Xtensa targets are not auto detected to need atomic emulation in the futures-* crates.
# As for how to remove this dep for good, see: https://github.com/rust-lang/futures-rs/pull/2805
futures-util = { version = "0.3.17", default-features = false, features = ["portable-atomic"] }
heapless = { version = "0.8.0", features = ["portable-atomic"] }
hmac = { version = "0.12.1", default-features = false }
lis3dh-async = "0.8.0"
sha2 = { version = "0.10.8", default-features = false }
@ -68,7 +64,7 @@ ufmt = ["esp-hal-common/ufmt"]
vectored = ["esp-hal-common/vectored"]
# Embassy support
embassy = ["esp-hal-common/embassy"]
embassy = ["esp-hal-common/embassy"]
embassy-time-systick = ["esp-hal-common/embassy-time-systick", "embassy-time/tick-hz-80_000_000"]
embassy-time-timg0 = ["esp-hal-common/embassy-time-timg0", "embassy-time/tick-hz-1_000_000"]
embassy-executor-interrupt = ["esp-hal-common/embassy-executor-interrupt"]
@ -83,10 +79,10 @@ embassy-generic-queue-64 = ["esp-hal-common/embassy-generic-queue-64"]
embassy-generic-queue-128 = ["esp-hal-common/embassy-generic-queue-128"]
# PSRAM support
psram = []
psram-2m = ["esp-hal-common/psram-2m", "psram"]
psram-4m = ["esp-hal-common/psram-4m", "psram"]
psram-8m = ["esp-hal-common/psram-8m", "psram"]
psram = []
psram-2m = ["esp-hal-common/psram-2m", "psram"]
psram-4m = ["esp-hal-common/psram-4m", "psram"]
psram-8m = ["esp-hal-common/psram-8m", "psram"]
[profile.release]
debug = true

View File

@ -1,10 +1,6 @@
[package]
name = "esp32s3-hal"
version = "0.13.0"
authors = [
"Jesse Braham <jesse@beta7.io>",
"Björn Quentin <bjoern.quentin@mobile-j.de>",
]
name = "esp32s3-hal"
version = "0.13.0"
edition = "2021"
rust-version = "1.67.0"
description = "HAL for ESP32-S3 microcontrollers"
@ -25,14 +21,14 @@ categories = [
]
[dependencies]
esp-hal-common = { version = "0.13.0", features = ["esp32s3"], path = "../esp-hal-common" }
embassy-time = { version = "0.2.0", optional = true }
esp-hal-common = { version = "0.14.0", features = ["esp32s3"], path = "../esp-hal-common" }
embassy-time = { version = "0.2.0", optional = true }
r0 = { version = "1.0.0", optional = true }
[dev-dependencies]
aes = "0.8.3"
critical-section = "1.1.2"
crypto-bigint = { version = "0.5.3", default-features = false }
crypto-bigint = { version = "0.5.5", default-features = false }
embassy-executor = { version = "0.4.0", features = ["nightly"] }
embassy-sync = "0.5.0"
embedded-graphics = "0.8.1"
@ -40,13 +36,13 @@ embedded-hal = { version = "0.2.7", features = ["unproven"] }
embedded-hal-1 = { version = "=1.0.0-rc.2", package = "embedded-hal" }
embedded-hal-async = "=1.0.0-rc.2"
embedded-can = "0.4.1"
embedded-io-async = "0.6.0"
embedded-io-async = "0.6.1"
embedded-hal-bus = "0.1.0-rc.2"
esp-alloc = "0.3.0"
esp-backtrace = { version = "0.9.0", features = ["esp32s3", "panic-handler", "exception-handler", "print-uart"] }
esp-hal-smartled = { version = "0.6.0", features = ["esp32s3"], path = "../esp-hal-smartled" }
esp-println = { version = "0.7.0", features = ["esp32s3"] }
heapless = "0.8"
esp-hal-smartled = { version = "0.7.0", features = ["esp32s3"], path = "../esp-hal-smartled" }
esp-println = { version = "0.7.1", features = ["esp32s3"] }
heapless = "0.8.0"
hmac = { version = "0.12.1", default-features = false }
lis3dh-async = "0.8.0"
sha2 = { version = "0.10.8", default-features = false }
@ -83,10 +79,10 @@ embassy-generic-queue-64 = ["esp-hal-common/embassy-generic-queue-64"]
embassy-generic-queue-128 = ["esp-hal-common/embassy-generic-queue-128"]
# PSRAM support
psram = []
psram-2m = ["esp-hal-common/psram-2m", "psram"]
psram-4m = ["esp-hal-common/psram-4m", "psram"]
psram-8m = ["esp-hal-common/psram-8m", "psram"]
psram = []
psram-2m = ["esp-hal-common/psram-2m", "psram"]
psram-4m = ["esp-hal-common/psram-4m", "psram"]
psram-8m = ["esp-hal-common/psram-8m", "psram"]
# Octal RAM support
opsram-2m = ["esp-hal-common/opsram-2m", "psram"]