* Use patched version of PAC for C6/H2
* Rename `TRACE` peripheral to `TRACE0`
* Refactor `Trace` driver to be generic around its peripheral
* Update `CHANGELOG.md`
* Fix a bunch of `clippy` warnings in the `esp-hal` build script
* Resolve most clippy warnings for ESP32 (no features)
* Do the same for ESP32-S2/S3...
* Same for C2/C3...
* CI check for clippy now actually works (and passes!) for Xtensa
* RISC-V chips (except P4) now pass clippy in CI
* Add some safety doc comments which I forgot to write
* The `PwmPeripheral` trait is no longer `unsafe`, and is instead now sealed
* Make the `DMA` peripheral API more consistent
* Update examples for devices with `PDMA`
* Update examples for devices with `GDMA`
* Update `CHANGELOG.md`
* Update example after rebasing
* LCD_CAM I8080 POC
* Hush CI
* Apply user provided frequency
* Expose bit and byte order
* Properly support command and dummy phases
* Expose clock edge settings
* Allow background transfers
* Add support for both 8 bit and 16 bit
* Remove unnecessary interrupt usage
* Expose all config
* Add LcdCamPeripheral
* Fix up register modification
* Remove 2^13 limit on data phase
* Make example a bit more interesting
* Add DMA peripheral trait bounds
* Use raw interrupts
* Write module level docs
* Improve example doc
* WIP
made randomness ensuring function
implemented RngCore trait (final version i guess)
* Revert part of changes and leave TODO comment
Changelog entry
Get rid of warning
* Allow for splitting of the USB Serial JTAG peripheral into tx/rx components
* Update `CHANGELOG.md`
* Split single waker into tx/rx wakers
* Fix interrupt bug and update embassy example
The wakers were written to trigger opposite, so the rx waker
would trigger for tx interrupts and vice versa.
Also update the embassy example to run read/write in
separate tasks.
* rustfmt
---------
Co-authored-by: Jesse Braham <jesse@beta7.io>
* Create virtual peripherals for `ADC`/`DAC`
* Refactor the `analog::dac` module
* Refactor the `analog::adc` module
* Decouple the ADC driver from the `embedded-hal` traits
* Update `CHANGELOG.md`
* Seal the `AdcCalScheme` trait, reduce visibility of `AdcCalEfuse` trait
* Remove `APB_SARADC`/`SENS` peripherals from the `Peripherals` struct
* Add `document-features` dependency to all HAL packages
* Update package-level documentation for each chip-specific HAL package
* Document package features for all chip-specific HALs
* update embassy in Cargo.toml and add embassy-time-driver
* fix embassy-time for esp-hal-common
* update CHANGELOG.md
* fix clippy warning by removing manual adc implimentation for esp32
* undo change, fixing clippy error by removing unused use statement
* remove embassy crates-io patches
* remove a remaining embassy patch
* Update embassy-time version in esp-hal-common/Cargo.toml
Co-authored-by: Scott Mabin <scott@mabez.dev>
* remove the remaining embassy patches
* remove embassy-time as a dependency for esp*-hal
---------
Co-authored-by: Scott Mabin <scott@mabez.dev>
* Add support for 80Mhz psram, selected using 'psram-80mhz' feature
Default stays 40 MHz
* Added changelog regarding 80MHz PSRAM support
* Add 80Mhz support also to octal psram
* Add documentation for 80Mhz psram in lib.rs
* Linker script adjustments needed for wifi drivers (#1074)
* Add `embedded-io` feature to each chip-specific HAL (#1072)
* Add `embedded-io` feature to each chip-specific HAL
* Update `CHANGELOG.md`
* Update to `1.0.0` releases of `embedded-hal-*` packages (#1068)
* Update to `1.0.0` releases of `embedded-hal-*` packages
* Update `CHANGELOG.md`
* Added changelog regarding 80MHz PSRAM support
---------
Co-authored-by: Björn Quentin <bjoernQ@users.noreply.github.com>
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
* Restructure sleep-related files
* Port most of esp-idf deep sleep code
* Add example
* Remove extra newline
* Hide RtcioWakeupSource from esp32 api
* Explain commented constants
---------
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
* Add `rt-riscv` and `rt-xtensa` features to `esp-hal-common` to allow enabling/disable runtime support
* Update the CI workflow to check the chip-specific HAL packages without default features
* Update `CHANGELOG.md`