mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-10-02 14:44:42 +00:00
Do not implement async delay for SYSTIMER
if the embassy-time-systick
feature is enabled (#839)
* Do not implement async delay for `SYSTIMER` if the `embassy-time-systick` feature is enabled * Update CHANGELOG.md
This commit is contained in:
parent
727b8e621e
commit
6ab08efd6b
@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Async support for I2S (#801)
|
||||
- Async support for PARL_IO (#807)
|
||||
- Implement `embeded_hal_async::delay::DelayUs` trait for `SYSTIMER` alarms (#812)
|
||||
- This trait is NOT implemented when the `embassy-time-systick` feature is enabled!
|
||||
- ETM driver, GPIO ETM (#819)
|
||||
- (G)DMA AES support (#821)
|
||||
- SYSTIMER ETM functionality (#828)
|
||||
|
@ -268,7 +268,11 @@ impl<T> Alarm<T, 2> {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "async")]
|
||||
// FIXME: The `embedded_hal_async::delay::DelayUs` trait implementation
|
||||
// interferes with the embassy time driver, which also uses the
|
||||
// `SYSTIMER` peripheral. Until we come up with a solution, do not
|
||||
// implement this trait if the `embassy-time-systick` feature is enabled.
|
||||
#[cfg(all(feature = "async", not(feature = "embassy-time-systick")))]
|
||||
mod asynch {
|
||||
use core::{
|
||||
pin::Pin,
|
||||
|
Loading…
x
Reference in New Issue
Block a user