Skip to content

Commit b1aedf6

Browse files
authored
Disable default features of esp-hal in esp-rtos (#4433)
* don't enable default feature of esp-hal when depending on it as a library * changelong * review
1 parent c429093 commit b1aedf6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

esp-rtos/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515

1616
### Fixed
1717

18+
- No longer enables the default feature of `esp-hal` (#4433).
1819

1920
### Removed
2021

esp-rtos/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ features = ["esp32c6", "embassy", "esp-radio"]
3131
bench = false
3232

3333
[dependencies]
34-
esp-hal = { version = "1.0.0", path = "../esp-hal", features = [
35-
"requires-unstable",
34+
esp-hal = { version = "1.0.0", path = "../esp-hal", default-features = false, features = [
35+
# FIXME: rt technically shouldn't be enabled, but rtos requires `TrapFrame`
36+
# and uses reexported riscv/xtena-lx from esp-hal
37+
"requires-unstable", "rt"
3638
] }
3739

3840
cfg-if = "1"

0 commit comments

Comments
 (0)