Dániel Buga
e7dab298f5
Rename and wrap ErasedTimer ( #2144 )
...
* Rename and wrap ErasedTimer
* Also rename conversion trait
2024-09-11 20:29:21 +00:00
Juraj Sadel
17daa464ba
Enable ESP32 HIL ( #1977 )
...
* Enable ESP32 HIL
* RMT fixed
* SPI DMA partially works, _pcnt tests not working
* bckup
* finish
* readme and cleanup
* rebase + cleanup
* RMT S2 pin typo + clean forgotten comments
* review comments
* update 10000
* indentation
* replace cfg gate with cfg_if
2024-09-06 08:53:27 +00:00
Scott Mabin
70126c8149
Rename esp_hal::time::current_time to esp_hal::time::now ( #2091 )
...
* rename esp_hal::time::current_time to esp_hal::time::uptime
* changelog
* move more things to init
* s/uptime/now/g
2024-09-05 14:57:56 +00:00
Dániel Buga
99bf346898
Remove the need to manually pass clocks around ( #1999 )
...
* Clean up passing clocks to drivers
* Update changelog
* Initialise Clocks in a critical section
* Fix calling now() before init
* Fix doc
* Fix esp-wifi migration guide
* Add safety comment
* Update tests
2024-09-04 14:13:51 +00:00
Dániel Buga
447411fb58
Rework hal initialization ( #1970 )
...
* Rework hal initialization
* Turn sw interrupt control into a virtual peripheral
* Return a tuple instead of a named struct
* Fix docs
* Remove SystemClockControl
* Move software interrupts under interrupt
* Re-document what's left in system
* Update time docs
* Update sw int docs
* Introduce Config
* Fix tests
* Remove redundant inits
* Doc
* Clean up examples&tests
* Update tests
* Add changelog entry
* Start migration guide
* Restore some convenience-imports
* Remove Config from prelude
2024-09-02 13:38:46 +00:00
Dániel Buga
b4ccb359ef
HIL: Multiple featuresets & conditionally enable generic-queue feature ( #1989 )
...
* Conditionally enable generic-queue feature
* Allow specifying multiple feature sets and run all of them
2024-08-26 06:19:03 +00:00
Dániel Buga
f829c8f2ac
Fix C2 delays ( #1981 )
...
* Re-enable delay tests on S2 and C2
* Systimer: use fn instead of constant to retrieve tick freq
* Reformulate delay using current_time
* Take actual XTAL into account
* Re-enable tests
* Fix changelog
* Disable defmt
* Remove unused esp32 code
* Update esp-hal/src/delay.rs
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
---------
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
2024-08-21 17:33:46 +00:00
Dániel Buga
ec130877b7
Disable RTT polling in HIL tests by default ( #1960 )
...
* Disable defmt-rtt by default
* Update i2s test based on changes done to async
* fmt
* Update readme
* Update more tests
2024-08-19 13:47:22 +00:00
Dániel Buga
f95ab0def5
Simplify initialization APIs ( #1957 )
...
* Accept more types in embassy::init
* Apply the same treatment to esp-wifi
* Changelog
* Clean up
* Add doc examples
* Fix Alarm generic parameters
2024-08-16 16:33:29 +00:00
Dominic Fischer
6e706c5f11
Improve SYSTIMER API ( #1871 )
...
* Improve SYSTIMER API
* Remove config object
* fix things
* Allow erasure of unit and comparator numbers
* Merge fail
---------
Co-authored-by: Dominic Fischer <git@dominicfischer.me>
2024-08-16 14:59:34 +00:00
Dániel Buga
6127f5df11
Further clean up timers/executors test ( #1953 )
...
* Further clean up embassy_timers_executors
* Do not delay for so long
* Print timer values on assert failure
* Clean up some more
* Retry test a few times to counteract probe-rs halting us
* Fix formatting
2024-08-16 06:08:32 +00:00
Dániel Buga
6b6e628940
Slightly clean up embassy HIL tests ( #1937 )
2024-08-13 19:39:36 +00:00
Dániel Buga
63a2d407ee
Fix some typos ( #1930 )
2024-08-12 12:20:58 +00:00
Juraj Sadel
c5ea0e9149
esp-hal: Add HIL test for embassy timer and executor ( #1886 )
...
* esp_hal: Add embassy timers and executors HIL test
* Add timeout to each test
* cfg-gate out systimer tests for ESP32
2024-08-05 21:49:57 +00:00