Skip to content

Commit

Permalink
New package releases (#1249)
Browse files Browse the repository at this point in the history
* New package releases

* Fix the `CHANGELOG.md` check in CI

* `defmt` is annoying

* Update documentation index to point to new version, correct release date

* Remove docs.rs badge from and update docs link in `README.md`

* Silence `clippy`

* Fix documentation link in `esp-hal/README.md`
  • Loading branch information
jessebraham authored Mar 8, 2024
1 parent 4bcd5cf commit e198f0e
Show file tree
Hide file tree
Showing 10 changed files with 59 additions and 64 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:

- uses: dangoslen/changelog-enforcer@v3
with:
changeLogPath: CHANGELOG.md
changeLogPath: esp-hal/CHANGELOG.md
skipLabels: "skip-changelog"
missingUpdateErrorMessage: "Please add a changelog entry in the CHANGELOG.md file."
8 changes: 4 additions & 4 deletions esp-hal-procmacros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "esp-hal-procmacros"
version = "0.8.0"
version = "0.9.0"
edition = "2021"
rust-version = "1.76.0"
description = "Procedural macros for esp-hal"
Expand All @@ -14,15 +14,15 @@ features = ["embassy", "has-ulp-core", "interrupt", "ram", "is-ulp-core"]
proc-macro = true

[dependencies]
darling = "0.20.5"
darling = "0.20.8"
document-features = "0.2.8"
litrs = "0.4.1"
object = { version = "0.32.2", optional = true }
object = { version = "0.33.0", optional = true }
proc-macro-crate = "3.1.0"
proc-macro-error = "1.0.4"
proc-macro2 = "1.0.78"
quote = "1.0.35"
syn = { version = "2.0.48", features = ["extra-traits", "full"] }
syn = { version = "2.0.52", features = ["extra-traits", "full"] }

[features]
## Provide a `#[main]` procmacro to mark the entry point for Embassy applications.
Expand Down
8 changes: 4 additions & 4 deletions esp-hal-smartled/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "esp-hal-smartled"
version = "0.8.0"
version = "0.9.0"
edition = "2021"
rust-version = "1.76.0"
description = "RMT adapter for smartleds"
Expand All @@ -12,9 +12,9 @@ features = ["esp32c3"]
targets = ["riscv32imc-unknown-none-elf"]

[dependencies]
defmt = { version = "=0.3.5", optional = true }
document-features = "0.2.7"
esp-hal = { version = "0.15.0", path = "../esp-hal" }
defmt = { version = "=0.3.6", optional = true }
document-features = "0.2.8"
esp-hal = { version = "0.16.0", path = "../esp-hal" }
fugit = "0.3.7"
smart-leds-trait = "0.3.0"

Expand Down
6 changes: 2 additions & 4 deletions CHANGELOG.md → esp-hal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

All notable changes to this project will be documented in this file.

Please note that only changes to the `esp-hal-common` package are tracked in this CHANGELOG.

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.16.0] - 2024-03-08

### Added

Expand Down Expand Up @@ -449,7 +447,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.15.0...HEAD
[0.16.0]: https://github.com/esp-rs/esp-hal/compare/v0.15.0...v0.16.0
[0.15.0]: https://github.com/esp-rs/esp-hal/compare/v0.14.1...v0.15.0
[0.14.1]: https://github.com/esp-rs/esp-hal/compare/v0.14.0...v0.14.1
[0.14.0]: https://github.com/esp-rs/esp-hal/compare/v0.13.1...v0.14.0
Expand Down
38 changes: 21 additions & 17 deletions esp-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
[package]
name = "esp-hal"
version = "0.15.0"
edition = "2021"
rust-version = "1.76.0"
description = "Bare-metal HAL for Espressif devices"
repository = "https://github.com/esp-rs/esp-hal"
license = "MIT OR Apache-2.0"
links = "esp-hal"
name = "esp-hal"
version = "0.16.0"
edition = "2021"
rust-version = "1.76.0"
description = "Bare-metal HAL for Espressif devices"
documentation = "https://docs.esp-rs.org/esp-hal/"
repository = "https://github.com/esp-rs/esp-hal"
license = "MIT OR Apache-2.0"
links = "esp-hal"

[dependencies]
bitflags = "2.4.2"
bitfield = "0.14.0"
cfg-if = "1.0.0"
critical-section = "1.1.2"
defmt = { version = "=0.3.5", optional = true }
defmt = { version = "=0.3.6", optional = true }
document-features = "0.2.8"
embassy-executor = { version = "0.5.0", optional = true }
embassy-futures = { version = "0.1.1", optional = true }
Expand All @@ -30,15 +31,15 @@ embedded-io-async = { 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"
log = { version = "0.4.20", optional = true }
log = { version = "0.4.21", optional = true }
nb = "1.1.0"
paste = "1.0.14"
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" }
riscv = { version = "0.11.0", optional = true }
strum = { version = "0.25.0", default-features = false, features = ["derive"] }
procmacros = { version = "0.9.0", features = ["enum-dispatch", "ram"], package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
riscv = { version = "0.11.1", optional = true }
strum = { version = "0.26.1", default-features = false, features = ["derive"] }
void = { version = "1.0.2", default-features = false }
usb-device = { version = "0.3.1", optional = true }
usb-device = { version = "0.3.2", optional = true }
rand_core = "0.6.4"
ufmt-write = { version = "0.1.0", optional = true }
xtensa-lx = { version = "0.9.0", optional = true }
Expand All @@ -56,15 +57,15 @@ esp32s2 = { version = "0.20.0", features = ["critical-section"], optional = true
esp32s3 = { version = "0.24.0", features = ["critical-section"], optional = true }

[target.'cfg(target_arch = "riscv32")'.dependencies]
esp-riscv-rt = { version = "0.6.1", optional = true }
esp-riscv-rt = { version = "0.7.0", optional = true, path = "../esp-riscv-rt" }

[target.'cfg(target_arch = "xtensa")'.dependencies]
xtensa-lx-rt = { version = "0.16.0", optional = true }

[build-dependencies]
basic-toml = "0.1.8"
serde = { version = "1.0.195", features = ["derive"] }
cfg-if = "1"
cfg-if = "1.0.0"
serde = { version = "1.0.197", features = ["derive"] }

[features]
default = ["rt", "vectored"]
Expand Down Expand Up @@ -211,3 +212,6 @@ opsram-4m = []
opsram-8m = []
## Use externally connected Octal RAM (16MB).
opsram-16m = []

[lints.clippy]
mixed_attributes_style = "allow"
3 changes: 1 addition & 2 deletions esp-hal/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# esp-hal

[![Crates.io](https://img.shields.io/crates/v/esp-hal?labelColor=1C2C2E&color=C96329&logo=Rust&style=flat-square)](https://crates.io/crates/esp-hal)
[![docs.rs](https://img.shields.io/docsrs/esp-hal?labelColor=1C2C2E&color=C96329&logo=rust&style=flat-square)](https://docs.rs/esp-hal)
![Crates.io](https://img.shields.io/crates/l/esp-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)

Expand All @@ -15,7 +14,7 @@ Most traits defined by the [embedded-hal] family of packages are implemented as

## [Documentation]

[documentation]: https://docs.rs/esp-hal/
[documentation]: https://docs.esp-rs.org/esp-hal/

## Usage

Expand Down
8 changes: 1 addition & 7 deletions esp-riscv-rt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,12 @@ 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

### Fixed
## 0.7.0 - 2024-03-08

### Changed

- `start_rust` calls `hal_main` instead of calling user's `main` directly (#1135)

### Removed

## 0.6.1 - 2024-01-19

### Changed
Expand Down
6 changes: 3 additions & 3 deletions esp-riscv-rt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "esp-riscv-rt"
version = "0.6.1"
version = "0.7.0"
edition = "2021"
rust-version = "1.65"
description = "Minimal runtime / startup for RISC-V CPUs from Espressif"
Expand All @@ -10,8 +10,8 @@ keywords = ["esp32", "riscv", "runtime", "startup"]
categories = ["embedded", "no-std"]

[dependencies]
document-features = "0.2.7"
riscv = "0.11.0"
document-features = "0.2.8"
riscv = "0.11.1"
riscv-rt-macros = "0.2.1"

[features]
Expand Down
12 changes: 6 additions & 6 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
publish = false

[dependencies]
aes = "0.8.3"
aes = "0.8.4"
cfg-if = "1.0.0"
critical-section = "1.1.2"
crypto-bigint = { version = "0.5.5", default-features = false }
Expand All @@ -23,22 +23,22 @@ embedded-hal-bus = "0.1.0"
embedded-io-async = "0.6.1"
esp-alloc = "0.3.0"
esp-backtrace = { version = "0.11.0", features = ["exception-handler", "panic-handler", "println"] }
esp-hal = { version = "0.15.0", path = "../esp-hal" }
esp-hal-smartled = { version = "0.8.0", path = "../esp-hal-smartled", optional = true }
esp-hal = { version = "0.16.0", path = "../esp-hal" }
esp-hal-smartled = { version = "0.9.0", path = "../esp-hal-smartled", optional = true }
esp-println = "0.9.0"
heapless = "0.8.0"
hex-literal = "0.4.1"
hmac = { version = "0.12.1", default-features = false }
lis3dh-async = "0.9.1"
lis3dh-async = "0.9.2"
nb = "1.1.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.4.0"
ssd1306 = "0.8.4"
static_cell = { version = "2.0.0", features = ["nightly"] }
usb-device = "0.3.1"
usbd-serial = "0.2.0"
usb-device = "0.3.2"
usbd-serial = "0.2.1"

[features]
esp32 = ["esp-hal/esp32", "esp-backtrace/esp32", "esp-println/esp32", "esp-hal-smartled/esp32"]
Expand Down
32 changes: 16 additions & 16 deletions resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,51 +88,51 @@
the package version in the URL and '.crate-version' span. -->

<div class="crate">
<span class="crate-name"><a href="esp-hal/0.15.0/esp32/esp_hal/index.html">esp32</a></span>
<span class="crate-name"><a href="esp-hal/0.16.0/esp32/esp_hal/index.html">esp32</a></span>
<span class="crate-description">esp-hal (targeting ESP32)</span>
<span class="crate-version">0.15.0</span>
<span class="crate-version">0.16.0</span>
</div>

<div class="crate">
<span class="crate-name"><a href="esp-hal/0.15.0/esp32c2/esp_hal/index.html">esp32c2</a></span>
<span class="crate-name"><a href="esp-hal/0.16.0/esp32c2/esp_hal/index.html">esp32c2</a></span>
<span class="crate-description">esp-hal (targeting ESP32-C2)</span>
<span class="crate-version">0.15.0</span>
<span class="crate-version">0.16.0</span>
</div>

<div class="crate">
<span class="crate-name"><a href="esp-hal/0.15.0/esp32c3/esp_hal/index.html">esp32c3</a></span>
<span class="crate-name"><a href="esp-hal/0.16.0/esp32c3/esp_hal/index.html">esp32c3</a></span>
<span class="crate-description">esp-hal (targeting ESP32-C3)</span>
<span class="crate-version">0.15.0</span>
<span class="crate-version">0.16.0</span>
</div>

<div class="crate">
<span class="crate-name"><a href="esp-hal/0.15.0/esp32c6/esp_hal/index.html">esp32c6</a></span>
<span class="crate-name"><a href="esp-hal/0.16.0/esp32c6/esp_hal/index.html">esp32c6</a></span>
<span class="crate-description">esp-hal (targeting ESP32-C6)</span>
<span class="crate-version">0.15.0</span>
<span class="crate-version">0.16.0</span>
</div>

<div class="crate">
<span class="crate-name"><a href="esp-hal/0.15.0/esp32h2/esp_hal/index.html">esp32h2</a></span>
<span class="crate-name"><a href="esp-hal/0.16.0/esp32h2/esp_hal/index.html">esp32h2</a></span>
<span class="crate-description">esp-hal (targeting ESP32-H2)</span>
<span class="crate-version">0.15.0</span>
<span class="crate-version">0.16.0</span>
</div>

<div class="crate">
<span class="crate-name"><a href="esp-hal/0.15.0/esp32p4/esp_hal/index.html">esp32p4</a></span>
<span class="crate-name"><a href="esp-hal/0.16.0/esp32p4/esp_hal/index.html">esp32p4</a></span>
<span class="crate-description">esp-hal (targeting ESP32-P4)</span>
<span class="crate-version">0.15.0</span>
<span class="crate-version">0.16.0</span>
</div>

<div class="crate">
<span class="crate-name"><a href="esp-hal/0.15.0/esp32s2/esp_hal/index.html">esp32s2</a></span>
<span class="crate-name"><a href="esp-hal/0.16.0/esp32s2/esp_hal/index.html">esp32s2</a></span>
<span class="crate-description">esp-hal (targeting ESP32-S2)</span>
<span class="crate-version">0.15.0</span>
<span class="crate-version">0.16.0</span>
</div>

<div class="crate">
<span class="crate-name"><a href="esp-hal/0.15.0/esp32s3/esp_hal/index.html">esp32s3</a></span>
<span class="crate-name"><a href="esp-hal/0.16.0/esp32s3/esp_hal/index.html">esp32s3</a></span>
<span class="crate-description">esp-hal (targeting ESP32-S3)</span>
<span class="crate-version">0.15.0</span>
<span class="crate-version">0.16.0</span>
</div>
</div>
</body>
Expand Down

0 comments on commit e198f0e

Please sign in to comment.