Jesse Braham
b7b916f03a
Remove most trait implementation features from esp-hal
( #2070 )
...
* Eliminate esp-hal's `ufmt` feature
* Eliminate esp-hal's `embedded-hal-02` feature
* Eliminate esp-hal's `embedded-hal` feature
* Eliminate esp-hal's `embedded-io` feature
* Eliminate esp-hal's `async` feature
* Update `CHANGELOG.md`
* Remove `async` from required features for HIL tests
* Update migration guide
2024-09-04 06:15:27 +00:00
Gnome!
49e14b7ccb
Remove lazy_static in favor of OnceLock ( #2063 )
...
* [esp-metadata] Remove lazy_static in favor of OnceLock
* [esp-wifishark] Remove lazy_static in favor of normal initialisation
* [ieee802154-sniffer] Shorten SelectorConfig initialisation
* [ieee802154-sniffer] Remove lazy_static in favor of normal initialisation
2024-09-03 14:43:35 +00:00
Björn Quentin
0cf7abfc47
Make esp-wifi build on stable, again. Bump to 0.9.1 ( #2067 )
...
* Make esp-wifi build on stable, again. Bump to 0.9.1
* CHANGELOG.md
* MSRV check esp-wifi
* ESP32-S2 doesn't support Bluetooth
esp-wifi-v0.9.1
2024-09-03 16:10:20 +02:00
Dániel Buga
647e34f401
Remove NoPinType ( #2068 )
2024-09-03 13:36:14 +00:00
Björn Quentin
9c3b17166f
Bump to esp-wifi 0.9.0 ( #2066 )
esp-wifi-v0.9.0
2024-09-03 13:30:28 +01:00
Björn Quentin
5420ce0959
WPA2 ENTERPRISE ( #2004 )
...
* WPA2 ENTERPRISE
* Defmt, Clippy, Changelog
* Defmt, again
* Clippy, again
* Mention corresponding JIRA ticket
* Rename
* fmt
* Use Mutex in scheduler
* Adapt wifi_delete_queue
* Adapt log level
2024-09-03 11:22:39 +00:00
Dániel Buga
9465244e0d
Fix various SPI/DMA issues ( #2065 )
...
* Add failing test
* Fix enabled interrupt
* Fix using the correct waker
* Changelog
* Enable test on more devices that have SPI3
2024-09-03 10:02:21 +00:00
Dániel Buga
08d406ee2b
storage: Clean up ROM function declarations ( #2058 )
...
* Clean up external function declarations
* Tweak syntax
2024-09-02 15:24:41 +00:00
Dániel Buga
c21287a5ef
Provide ehal impls for DummyPin ( #2019 )
...
Co-authored-by: Scott Mabin <scott@mabez.dev>
2024-09-02 15:16:26 +00:00
Gnome!
671003ace6
[esp-metadata] Make clap dependency optional ( #2055 )
2024-09-02 14:31:23 +00:00
Dániel Buga
580222758e
Fix hil-test xtask instruction ( #2062 )
...
* Fix hil-test xtask instruction
* Fix another mention
2024-09-02 14:08:17 +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
Björn Quentin
d60bafbf05
Improve CP0-disabled error message ( #2061 )
...
* Improve CP0-disabled error message
* CHANGELOG.md
2024-09-02 13:38:10 +00:00
Scott Mabin
b620e35ebe
automatically apply status:needs-attention to new esp-hal issues ( #2030 )
2024-09-02 11:43:36 +00:00
Dominic Fischer
11f90b9e8b
Protect SYSTIMER/TIMG shared registers ( #2051 )
...
* Protect SYSTIMER/TIMG shared registers
* some review comments
* more review comments
* more review comments
* bring back portable_atomic
---------
Co-authored-by: Dominic Fischer <git@dominicfischer.me>
2024-09-02 11:40:25 +00:00
Scott Mabin
6b4079be3a
release prep xtensa-lx-rt@0.17.1 ( #2060 )
2024-09-02 11:11:36 +00:00
Dániel Buga
44567f6687
Save/restore coprocessor state on stack ( #2057 )
...
* Whitespace
* Save and restore coprocessor enable state
2024-09-02 09:45:11 +00:00
Dániel Buga
c5e342a7a7
Clean up gigantic GPIO eyesore ( #2048 )
2024-09-02 08:58:54 +00:00
Björn Quentin
2dc285a947
QSPI tests ( #2015 )
...
* Add QSPI tests
* Simplify
* Add qspi_write_read test
2024-09-02 07:52:20 +00:00
Dániel Buga
8e6411bd31
Random cleanups in non-checked packages ( #2034 )
...
* Deduplicate feature check macros
* Re-enable rust-analyzer for most of the workspace
* Cargo fix
* Turn off defmt
* Only build xtask
* Clippy pls
* Fix CI
* Fix paths
* Always create doc directory first
* Revert r-a
* Update esp-hal-procmacros/src/lp_core.rs
Co-authored-by: Dominic Fischer <14130965+Dominaezzz@users.noreply.github.com>
---------
Co-authored-by: Dominic Fischer <14130965+Dominaezzz@users.noreply.github.com>
2024-08-30 14:45:54 +00:00
Dániel Buga
fce510f50a
Disable object's unnecessary features in proc macro that loads LP code ( #2018 )
...
* Disable object/decompress
* Only enable elf support in object
2024-08-30 14:37:27 +00:00
Sergio Gasquez Arcos
f9ab55c38f
fix: Fix nightly errors ( #1934 )
2024-08-30 14:08:06 +00:00
Jesse Braham
533288d351
Begin next release cycle ( #2039 )
...
Co-authored-by: Scott Mabin <scott@mabez.dev>
2024-08-30 12:28:14 +00:00
Dániel Buga
897c92e389
Try to be more helpful ( #2044 )
2024-08-30 11:46:25 +00:00
Scott Mabin
aacc001e5d
Prepare v0.20.1 release ( #2046 )
v0.20.1
2024-08-30 11:10:35 +00:00
Dániel Buga
28b5cd0158
Fix before_snippet failing in release ( #2040 )
...
* Fix before_snippet failing in release
* Fix esp-hal-embassy comment
2024-08-30 10:06:11 +00:00
Jesse Braham
5917275108
Version 0.20.0 ( #2038 )
...
* 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>
v0.20.0
esp-wifi-v0.8.0
2024-08-29 19:29:33 +00:00
Jesse Braham
bac6bfd1b4
Use newly published versions of all PACs in esp-hal
( #2025 )
...
* Use newly published versions of all PACs in `esp-hal`
* Address additional review comments
2024-08-29 13:55:59 +00:00
Dániel Buga
99c238d19d
HIL: Don't skip cleanup ( #2024 )
...
* Don't skip cleanup
* Make sure the power is off for a short while
2024-08-28 20:17:10 +00:00
Scott Mabin
6fb636be89
Remove unneeded logs ( #2022 )
2024-08-28 15:06:33 +00:00
Dániel Buga
84a060013d
Fix defmt compatibility ( #2017 )
...
* Fix defmt compatibility
* Update tests to cover macros
2024-08-28 14:07:09 +00:00
Scott Mabin
61bb240166
forward spi methods to SpiDmaBus ( #2016 )
...
* forward spi methods to SpiDmaBus
* changelog
2024-08-28 11:18:20 +00:00
Dániel Buga
16abd3d318
Only reserve the interrupt when executors are needed ( #2014 )
2024-08-28 09:56:22 +00:00
Dániel Buga
6abbc72e11
Test and fix async RSA ( #2002 )
...
* RSA cleanup & API consistency change, part 2
* RSA cleanup & API consistency change, part 3
* Add async tests
* Fix async for ESP32
* Merge impl blocks
* Backtrack on some mutability changes
* Use Acquire/Release ordering
* Fwd to write_multi_start instead of duplicating impl
2024-08-28 09:56:05 +00:00
Dániel Buga
c7a7760b51
Implement timer conversion for some arrays ( #2012 )
2024-08-28 09:54:58 +00:00
Björn Quentin
fbee4e5e4f
Fix ( #2013 )
2024-08-28 09:42:00 +00:00
Dániel Buga
5dcde78ccc
Re-add feature gate for software_interrupt3 ( #2011 )
2024-08-27 17:16:19 +00:00
Scott Mabin
65c5dc1781
SPI DMA: use State
for both blocking and async operations ( #1985 )
...
* use `State` for both blocking and async operations, remove async version of SpiDmaBus in favour of being generic over the mode
* reuse wait_for_idle more
* changelog
* rename generic params for consistency
* Add duplex mode to SpiDmaBus
* implement HalfDuplexReadWrite for SpiDmaBus
* Docs on new async APIs
* Limit half duplex transfers to the capacity of the DmaBuf
* docs
* rebase tests
* address review comments
* remove duplex traits from spi
* fix tests
* spi docs rejig
* s/InUse/TemporarilyRemoved/g
2024-08-27 16:15:59 +00:00
Dániel Buga
8aa1a88a23
Prefer cfg_if
( #2003 )
2024-08-27 11:53:55 +00:00
Dániel Buga
1003ce0c0f
Clean up SHA, RSA, mandate #[must_use]
on Futures ( #2000 )
...
* Janitor go brr
* Clean up SHA
* Use max CPU speed
* RSA cleanup part 1
* Clean up nonsense comments
* Mark all futures as must_use
2024-08-27 10:43:58 +00:00
Priit Laes
a41bc4cb3d
gpio: Make AnyPin, AnyInputOnlyPin, DummyPin available from gpio module ( #1918 )
...
Making these available straight from `gpio` aligns it with other Embassy
implementations (mainly nrf and stm32).
Signed-off-by: Priit Laes <plaes@plaes.org>
2024-08-26 18:30:24 +00:00
Dániel Buga
e1697310f6
Refactor SPI tests & re-enable S3 and some S2 ( #1990 )
...
* Deduplicate spi_full_duplex_dma_async
* Refactor SPI tests
* Separate out PCNT tests
* Re-enable test on S3
* Re-enable some S2 tests
2024-08-26 14:22:19 +00:00
Dániel Buga
d0f98b6c1f
Remove files after test ( #1993 )
2024-08-26 13:50:40 +00:00
Dániel Buga
341db16874
Use uhubctl to disable and enable usb ports ( #1997 )
2024-08-26 13:46:32 +00:00
liebman
5f0dc148ed
parl_io: use ReadBuffer/WriteBuffer for async DMA ( #1996 )
...
* parl_io: use ReadBuffer/WriteBuffer for async DMA
* CHANGELOG
2024-08-26 13:10:56 +00:00
Dániel Buga
b4ccb359ef
HIL: Multiple featuresets & conditionally enable generic-queue feature ( #1989 )
...
* Conditionally enable generic-queue feature
* Allow specifying multiple feature sets and run all of them
2024-08-26 06:19:03 +00:00
Scott Mabin
0e333f7aa2
tell cargo about all our custom cfgs ( #1988 )
...
* tell cargo about all our custom lints
* fixup the unexpected cfg lints, including remove clic
2024-08-23 12:56:00 +00:00
Scott Mabin
d610ee83db
Add tests to ensure that we don't reset current_time drivers ( #1978 )
2024-08-23 11:24:03 +00:00
Kirill Mikhailov
19db509403
Get rid of missing docs
in a number of modules ( #1967 )
...
* Get rid of missing docs in a number of modules
* address reviews
* Address the rest of reviews
* remove all remaining `allows`
* are you serious?
2024-08-23 09:22:37 +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