Dániel Buga
d5afeeddc8
H2: enable TWAI, enable delay test ( #2199 )
...
* Add TWAI support for H2
* Enable delay test on h2
* Also enable example
* Changelog
* De-CAN the example
2024-09-20 07:04:52 +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
f11c18a6b9
Optionally type-erased GPIO drivers ( #2075 )
...
* Remove type erased gpio structs
* Implement Peripheral for ErasedPin
* Simpler type erasing, accept ErasedPin in pin drivers, remove type erased drivers
* Reformulate pin drivers using Flex
* Erase gpio types by default
* Accept any pin in AnyPin
* Add changelog and migration guide
* Fix tests and examples
* Undo rename of clone_unchecked
2024-09-05 14:14:51 +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
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
Sergio Gasquez Arcos
e46e80b8c1
Enable C2 HIL ( #1680 )
...
* ci: Enable c2 hil
* docs: Update pins and add C2
* feat: Update C2 probe-rs args
* test: Update pins and disable failing tests
* docs: Update S3 wires
* ci: Enable C2 hil tests
2024-06-26 14:17:40 +00:00
Sergio Gasquez Arcos
edd03717d2
Enable C3, H2, S2 and S3 HIL ( #1513 )
...
* ci: Enable C3, H2, S2 and S3 HIL tests
* feat: Disable H2
* test: Disable S2
* ci: Update test folder
* docs: Update setup
* revert: Revert S2 changes
* ci: Update hil tests targets
* test: Adapt uart test for S2
* ci: Enable H2 HIL
* feat: Filter unsupported targets for the tests failing
* test: Filter failing targets
* ci: Remove the test folder
* test: Filter S2
* feat: Add supported targets
* feat: Remove TODOs and format code
* docs: Remove outdated comment
* feat: Add run-elfs xtask subcommand
2024-05-02 15:35:23 +00:00
Juraj Sadel
db8a5912b7
Add Delay HIL test ( #1415 )
...
* Add HIL test
* fmt
2024-04-29 09:36:45 +00:00