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
Dániel Buga
af6ee36d93
Ability to precompute/cache config register values ( #3011 )
...
* Cache bus clock register and support clock source
* Recalculate eagerly to keep Config Copy
* Destabilize UART clock source
* Update I2C
* Changelog
* Refactor builder lite helpers for more flexibility
* Flatten config structs
* Add getters, hide fields
* Hide all config fields
* Fix changelog
* Document the precomputation
2025-01-30 09:44:52 +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
92910bf1cb
Constructor consistency update ( #2610 )
...
* UART: only implement constructors with config, define ConfigError
* UART: only implement interrupt functions for Blocking
* I2C: fallible constructors
* Lcd/Cam
* SPI
* Update tests and examples
* Changelog
* Add note about ConfigError
* Fmt
2024-11-28 09:28:50 +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
e98674e8fa
[DMA 6/8] More helper types & working split
( #2532 )
...
* Add helper traits to simplify DMA channel trait bounds
* Document changes
* Update doc example
* Remove clutter from MG
* Move DmaEligible down to place helper types closer
* Rename
* Include split in the MG
2024-11-22 15:59:31 +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
Dominic Fischer
7821968df8
Introduce RGB/DPI driver ( #2415 )
...
* Introduce RGB/DPI driver
* Choose different pin for HIL test
* fail
* Use official devkit
* merge update
* non_exhaustive
---------
Co-authored-by: Dominic Fischer <git@dominicfischer.me>
2024-11-19 10:15:09 +00:00