Dániel Buga
8c69e8cb51
Newtype fugit Rate, Instant and Duration ( #3083 )
...
* Newtype fugit Rate, Instant and Duration
* Document, remove time::now
* Fix perf
* Tweak docs
2025-02-04 17:23:08 +00:00
Dominic Fischer
fe53061931
Migrate PARL_IO driver to newer DMA API ( #3033 )
...
* Migrate PARL_IO driver to newer DMA API
* Register waker when necessary
* Basic HIL test
* fmt
* oops
* return resources on error
* Invert sampling edge
* Attempt manual formatting
---------
Co-authored-by: Dominic Fischer <git@dominicfischer.me>
2025-02-03 11:58:20 +00:00
Dániel Buga
571760884b
Update our time driver for upcoming embassy changes ( #2701 )
...
* Add a timer-driven task
* Spawn another timer
* Log
* foo
* Do not access current time on each schedule
* Update generic queue
* Minimize alarm priorities
* Point to github with patches
* Fix build without any queue impl selected
* Remove explicit generic-queue features
* Define cfgs, fix calling something uninitialized
* Clean up RefCell+generic queue
* Fix arg order
* Feature
* Fix single integrated-timer queue
* Fix next expiration when arming
* Add note
* Adjust impl to latest changes
* Local patch
* Refactor the refactor refactor
* Track the timer item's owner
* Clear owner on dequeue
* Clean up
* Point at the right branch
* Fix panic message
* Hide private function
* Remove integrated-timer references
* Point at upstream embassy
* Configure via esp-config
* Document, clean up, fix
* Hack
* Remove patches
* Update config separator, test the complex variant
* Undo esp-config hack
* Remove trouble example, update edge-net
* Update test deps
* Document
* Update bt-hci.
* Fix generic queue
* Fix panic message
* Fix UB
* Fix rebase
* Resolve UB
* Avoid mutable reference in interrupt executor
---------
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2025-01-14 16:17:58 +00:00
Dániel Buga
848029b152
Test all feature sets ( #2901 )
...
* Mark interconnect as unstable
* Explicitly set unstable feature in HIL tests
* WIP append feature set name to artifact
* Add name to feature sets, build all combinations
* Fix tests
* Provide a looping executor for stable async tests
* Fix usb serial jtag
* Hide interconnect types
2025-01-09 13:58:14 +00:00
Dániel Buga
7f8af8a651
Remove prelude ( #2845 )
...
* Remove prelude
* Changelog
2024-12-20 10:24:57 +00:00
Juraj Sadel
d54f8440a5
HIL(QOL): Use global timeout instead of timeout macros ( #2489 )
...
* HIL(QOL): Add missing timeouts to various tests
* Increase timeouts for ECC
* Use global timeout in hil tests
* sha: increase test_digest_of_size_1_to_200 timeout from 10 to 15 seconds
2024-12-04 12:03:39 +00:00
Dániel Buga
ef98e2b24f
[DMA 7/8]: Remove Dma
, move channels to Peripherals
( #2545 )
...
* Move DMA channels into Peripherals
* Initialize DMA in the critical section needed for clock management
* Update esp-hal/MIGRATING-0.22.md
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
---------
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
2024-11-25 09:31:18 +00:00
Dániel Buga
3a4a7632b1
[DMA 4/8]: Apply Peripheral pattern ( #2526 )
...
* Create DMA Channels inside peripherals
* Add PARL_IO into_async functions
* Update tests and examples
* Restore configurable priority via DmaChannel
* Add mode param to DPI driver
* Fix test by raising SPI frequency
* Fix split
* Changelog
* Update esp-hal/CHANGELOG.md
Co-authored-by: Dominic Fischer <14130965+Dominaezzz@users.noreply.github.com>
---------
Co-authored-by: Dominic Fischer <14130965+Dominaezzz@users.noreply.github.com>
2024-11-22 09:05:22 +00:00
Dániel Buga
973671c3cb
[DMA 3/8] Remove ChannelCreator types, temporarily disable burst mode ( #2403 )
...
* Remove ChannelCreator types and burst mode
* Fix up I2sParallel
* Always enable burst transfering descriptors
* Configure burst transfer with a non-bool for future chip support
* Reuse buffer preparation code
* Update LoopBuf as well
* Update lcd_cam tests
* Rename config, fix changelog
2024-11-21 15:01:29 +00:00
Jesse Braham
92b91257e9
Remove get_
prefix from functions ( #2528 )
...
* Remove `get_` prefixes from functions
* Update migration guides for `esp-hal` and `esp-wifi`
* Update `CHANGELOG.md` files
2024-11-13 15:40:26 +00:00
Dániel Buga
fbc57542a8
Remove pins from Io
( #2508 )
...
* Split pins off of Io
* Remove the GPIO peripheral
* p.GPIO
2024-11-12 10:36:25 +00:00
Dániel Buga
0c86740418
Peripheral interconnect redo, vol 2 (split()
) ( #2418 )
...
* Replace peripheral connection conversions with split
* Constrain Flex conversions
2024-11-04 11:29:28 +00:00
Dániel Buga
40c0a6944e
into_async
(#2430 )
...
* Remove configure_for_async
* Add into_async and into_blocking to I2c
* Add into_async and into_blocking to UsbSerialJtag
* Rework LCD_CAM
* Rmt
* RSA
* TWAI
* Uart
* Documentation
* Disable interrupts set on other core
* Move configure into RegisterAccess
* Disable interrupts on the other core
* Use EnumSet in RMT
2024-11-04 09:32:12 +00:00
Dániel Buga
c7a2368845
Print test panics using semihosting
( #2257 )
...
* Print panic messages using semihosting
* Don't use defmt's asserts
* Make RA_OFFSET available without panic-handler
* Re-add defmt imports where missing
* Revert unintended test change
* Initialise hal in critical-section test
* Disable defmt in tests by default
2024-10-04 06:31:39 +00:00
liebman
987f00bb1d
PARL_IO: fix for garbage output at the start of some TX operations ( #2211 )
...
* per TRM the TX clock should only be re-enabled after tx_start
* CHANGELOG
* added tests to check the for the correct number of clocks during valid
* parl_io: fix test for esp32h2
* tests: parl_io: h2 PCNT does not like 20MHz
2024-09-23 10:27:43 +00:00