mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-10-02 14:44:42 +00:00
Decouple default features from esp-hal-common (#867)
This commit is contained in:
parent
506c698f53
commit
6814822cfd
@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- C2, C3: atomic emulation trap is now opt-in (#904)
|
||||
- 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)
|
||||
|
||||
### Fixed
|
||||
|
||||
|
@ -55,7 +55,7 @@ static_cell = { version = "2.0.0", features = ["nightly"] }
|
||||
embassy-sync = "0.4.0"
|
||||
|
||||
[features]
|
||||
default = ["rt", "vectored", "esp-hal-common/rv-zero-rtc-bss"]
|
||||
default = ["rt", "vectored", "zero-rtc-bss"]
|
||||
async = ["esp-hal-common/async"]
|
||||
debug = ["esp-hal-common/debug"]
|
||||
defmt = ["esp-hal-common/defmt", "esp-println/defmt"]
|
||||
@ -67,6 +67,11 @@ rt = []
|
||||
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"]
|
||||
|
||||
# Embassy support
|
||||
embassy = ["esp-hal-common/embassy"]
|
||||
embassy-time-systick = ["esp-hal-common/embassy-time-systick", "embassy-time/tick-hz-16_000_000"]
|
||||
|
@ -56,7 +56,7 @@ p256 = {version = "0.13.2", default-features = false, features = ["
|
||||
embassy-sync = "0.4.0"
|
||||
|
||||
[features]
|
||||
default = ["rt", "vectored", "esp-hal-common/rv-zero-rtc-bss"]
|
||||
default = ["rt", "vectored", "zero-rtc-bss"]
|
||||
async = ["esp-hal-common/async"]
|
||||
debug = ["esp-hal-common/debug"]
|
||||
defmt = ["esp-hal-common/defmt", "esp-println/defmt"]
|
||||
@ -68,6 +68,11 @@ rt = []
|
||||
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"]
|
||||
|
||||
# Embassy support
|
||||
embassy = ["esp-hal-common/embassy"]
|
||||
embassy-time-systick = ["esp-hal-common/embassy-time-systick", "embassy-time/tick-hz-16_000_000"]
|
||||
|
@ -56,7 +56,7 @@ p256 = {version = "0.13.2", default-features = false, features = ["
|
||||
embassy-sync = "0.4.0"
|
||||
|
||||
[features]
|
||||
default = ["rt", "vectored", "esp-hal-common/rv-zero-rtc-bss"]
|
||||
default = ["rt", "vectored", "zero-rtc-bss"]
|
||||
async = ["esp-hal-common/async"]
|
||||
debug = ["esp-hal-common/debug"]
|
||||
defmt = ["esp-hal-common/defmt", "esp-println/defmt"]
|
||||
@ -68,6 +68,11 @@ rt = []
|
||||
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"]
|
||||
|
||||
# Embassy support
|
||||
embassy = ["esp-hal-common/embassy"]
|
||||
embassy-time-systick = ["esp-hal-common/embassy-time-systick", "embassy-time/tick-hz-16_000_000"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user