forked from esp-rs/esp-hal
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…p-rs#2084) * Update `hil-test` package dependencies, add simple test for async delay with `SYSTIMER` * Implement `embedded_hal_async::delay::DelayNs` for the `TIMGx` timers * Improve tests slightly * Update `CHANGELOG.md` * Enable `delay` and `delay_async` tests for the ESP32-H2 * Fix error in `delay_async` test after rebasing * ESP32 does not have `SYSTIMER`, so don't try to test it :) * Protect int_ena modifications with INT_ENA_LOCK, clear int_clr in ISRs, move interrupt binds from Future constructor into new_async constructor * Fix wrong imports * Address reviews: Remove duplicated/useless code and add HIL test for delay_us and delay_ms * Implement DelayNs on Target instead of Periodic * clean dead code * fix after rebase * fix build errors * More accurate nanos to ticks calculation * Fix wrong handler passed to set_interrupt_handler() * Update esp-hal/src/timer/timg.rs Co-authored-by: Dániel Buga <bugadani@gmail.com> * cleanup left over --------- Co-authored-by: Juraj Sadel <juraj.sadel@espressif.com> Co-authored-by: Juraj Sadel <jurajsadel@gmail.com> Co-authored-by: Dániel Buga <bugadani@gmail.com>
- Loading branch information
1 parent
117327e
commit 4534ee1
Showing
5 changed files
with
406 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.