* test ci
* fix ci with new compiler
* god bless clippy fix
* refmuts
* clippy
* tests work
* use new compiler
* use new compiler
* bump MSRV of esp-hal and crates that depend on esp-hal
* fix eyesore
* clippy again
* remove hardcoded compiler version
* bump rust-version as well
* note MSRV bump in changelog
* Fixed triggering a debug-assertion during scan
* CHANGELOGs
* Change `debug_assert` into warning level log
* Enable debug-asserts in hil-test, qa-test and examples
* Change the way we detect and warn about debug-builds
* Warn if opt-level is `0` or `1`
* Update to latest git revision of all PACs
* Update RSA module to reflect changes in PACs
* Update TWAI module to reflect changes in PACs
* Further simplification
* Make most of PSRAM features into run-time configs
* Make CI green again
* Make CI green again
* Update esp-hal/MIGRATING-0.20.md
Co-authored-by: Scott Mabin <scott@mabez.dev>
* Use Range
* CI
* Rebase fixes
* Update esp-hal/src/lock.rs
Co-authored-by: Scott Mabin <scott@mabez.dev>
---------
Co-authored-by: Scott Mabin <scott@mabez.dev>
* Initial esp-config poc, replacing the place-spi-driver-in-ram feature
* Allow documentation generation for configuration options
* add `Value::Number` and a macro to parse
* Add Value::String and replace esp-wifi's config
* repo maint
* make bool parsing stricter and number parsing more flexible
* use hand rolled const str to int
* Collect unknown config options
* friendly errors
* also batch invalid values
* dump msrv to 1.79
* Mention perf boost from disabling logging
* review suggestions
* output selected config
* changelogs and migration guides
* review feedback
* avoid multiple case conversions where possible
* refactor generate, fix bug, add full test
* run host tests in CI
* add more esp-config tests
* review comments
* add cargo env workaround
* Initial WIP RTC set implementation
* Deprecate get_time_raw and add docs + some cleanup
* Update rtc time example
* Format
* Update changelog
* Add some comments linking the PR
* Small compilation fixes
* C6 and H2 fixes
* Remove parantheses from if statement lol
* Remove accidental changelog change
* Implement boot time wrapping to avoid overflows
* Remove unused get_rtc_time_ms and get_rtc_time_us functions
* Make get_rtc_time_us public and re-add get_rtc_time_ms as public
* Update changelog
* Remove get_time_raw and replace with public get_rtc_time_raw
* Changelog reordering
* Function renaming
* Use fugit and update changelog
* Small typo fix
* Fix changelog addition from merging
* Use chrono for current_time and set_current_time
* Fix changelog
* Update example
* Fix merge errors
* Rename `time::current_time` to `time::uptime`
* Revert "Rename `time::current_time` to `time::uptime`"
This reverts commit fe8446899747c88d5b9f945f319e1133b90773ee.
* Format
* Add info to migration guide
* Fix compilation for esp32c2
* Remove information about setting RTC time from migration guide since it isn't really relevant
---------
Co-authored-by: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com>
* Add integration with bt-hci crate
Implementing traits from bt-hci allows the BleConnector to
be used with the Trouble BLE stack.
* use packed based read interface
* Improve example to allow another connection after disconnect
* update trouble version
* Workaround for spurious command complete events
* fix formatting
* ignore notify errors in example
* fix clippy warnings
* remove async feature from hal dependency
* remove deprecated feature from example
* Adopt to api changes
* Api fix for esp32
* Set rust-version of esp-wifi
* bump MSRV to 1.77 for CI and esp-hal
* Add changelog entry
* Update package dependencies and bump version numbers
* Update `CHANGELOG.md` for each package to be published
* Remember to update `xtensa-lx-rt` too :)
* Add and use TrapFrame::new() in esp-wifi
* Bump `xtensa-lx-rt` by minor instead of patch, as there are breaking changes
---------
Co-authored-by: Dániel Buga <bugadani@gmail.com>
* feat(SHA): Refactor SHA to use trait. Implement Digest traits for SHA
* Fix CI. Fix wrong sha mode for esp32
* Save hash register for interleaving operation
An example (wip) `sha_fuzz.rs` was added to test different functionalities of the SHA driver and to ensure proper functionning under all cases.
* Use random data when testing SHA
* fix(SHA): Buffer words until a full block before writing to memory
This fixes interleaving operations by buffering words into the SHA context until a full block can be processed.
* Fix(SHA): Use correct length padding for SHA384 and SHA512.
- This fixes a long running issue with SHA384 and SHA512, where some digest of specific sizes wouldn't compute correctly, by changing the padding length of the size field.
* Re-export digest for convenience
* Remove completed TODO
* Remove SHA peripheral requirement.
- Document safety of the SHA driver.
---------
Co-authored-by: Scott Mabin <scott@mabez.dev>
* WIP state
* More fixes
* Roll back `esp-storage` changes
* Small fixes
Will not work, needs another patch for PACs
* update pacs dep
* Lint
* Get rid of unnecessary if-else
fix
* New pacs version
* Check more features and targets in CI when linting
* Address clippy lints
* Address clippy lints for esp-wifi
* Expand println and storage checks
* Remove uneeded clippy lint
* Check every package for each target
* resolve esp-wifi clippy lints
* use defmt when building esp-wifi
* clean up
* fix warning in meta crate
* simplify CI workflow
* split up clippy jobs
* Re-export the `main` procmacro from `esp-hal-embassy` rather than `esp-hal`
* Fix documentation warnings
* Flatten the `time_driver` module
* clippy
* Update `CHANGELOG.md`
* Use published versions of all dependencies, update dependencies as needed
* Fix `embassy_usb_serial` example build errors after updating `embassy-usb`
* New package releases
* Refactor `Dac1`/`Dac2` drivers into a single `Dac` driver
* Fix unrelated build errors resulting from updated PACs
* Add new `Instance` trait to `prelude` module, update `dac` example
* Update `CHANGELOG.md`
* Fix example in module documentation
* Turns out these are 0-indexed after all
* Extract embassy support into `esp-hal-embassy` package
* Update relevant packages/examples/tests to get CI green again
* Add back `defmt` support
* Re-export `Executor` and `InterruptExecutor` rather than making `executor` module public
* Document the `esp-hal-embassy` package
* Update `CHANGELOG.md`
* Hack together a "fix" for the `SYSTIMER` time driver
* Make `clippy` shut up