Skip to content

Commit

Permalink
Add docs.rs metadata (#1129)
Browse files Browse the repository at this point in the history
* Add docs.rs metadata

* changelog

* add p4

* Fix targets for c6, h2, p4
  • Loading branch information
jneem authored Jan 31, 2024
1 parent 6f73815 commit 858fd4f
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Fix embassy-time tick rate not set when using systick as the embassy timebase (#1124)
- Fix `get_raw_core` on Xtensa (#1126)
- Fix docs.rs documentation builds (#1129)

### Changed

Expand Down
3 changes: 3 additions & 0 deletions esp32c2-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ categories = [
"no-std",
]

[package.metadata.docs.rs]
targets = ["riscv32imc-unknown-none-elf"]

[dependencies]
document-features = "0.2.7"
esp-hal-common = { version = "0.15.0", features = ["esp32c2"], path = "../esp-hal-common" }
Expand Down
3 changes: 3 additions & 0 deletions esp32c3-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ categories = [
"no-std",
]

[package.metadata.docs.rs]
targets = ["riscv32imc-unknown-none-elf"]

[dependencies]
document-features = "0.2.7"
esp-hal-common = { version = "0.15.0", features = ["esp32c3"], path = "../esp-hal-common" }
Expand Down
3 changes: 3 additions & 0 deletions esp32c6-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ categories = [
"no-std",
]

[package.metadata.docs.rs]
targets = ["riscv32imac-unknown-none-elf"]

[dependencies]
document-features = "0.2.7"
esp-hal-common = { version = "0.15.0", features = ["esp32c6"], path = "../esp-hal-common" }
Expand Down
3 changes: 3 additions & 0 deletions esp32h2-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ categories = [
"no-std",
]

[package.metadata.docs.rs]
targets = ["riscv32imac-unknown-none-elf"]

[dependencies]
document-features = "0.2.7"
esp-hal-common = { version = "0.15.0", features = ["esp32h2"], path = "../esp-hal-common" }
Expand Down
3 changes: 3 additions & 0 deletions esp32p4-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ categories = [
"no-std",
]

[package.metadata.docs.rs]
targets = ["riscv32imafc-unknown-none-elf"]

[dependencies]
document-features = "0.2.7"
esp-hal-common = { version = "0.15.0", features = ["esp32p4"], path = "../esp-hal-common" }
Expand Down

0 comments on commit 858fd4f

Please sign in to comment.