Commit Graph

1874 Commits

Author SHA1 Message Date
Dániel Buga
7c8c69b84e
Update config separator, test the complex variant 2025-01-09 18:59:57 +01:00
Dániel Buga
72b35c40d8
Remove patches 2025-01-09 18:59:57 +01:00
Dániel Buga
b04ba6227c
Hack 2025-01-09 18:59:56 +01:00
Dániel Buga
61cdde5a6c
Document, clean up, fix 2025-01-09 18:59:56 +01:00
Dániel Buga
a572e631df
Configure via esp-config 2025-01-09 18:59:56 +01:00
Dániel Buga
b92d6fcecf
Point at upstream embassy 2025-01-09 18:58:09 +01:00
Dániel Buga
cff517de95
Remove integrated-timer references 2025-01-09 18:58:09 +01:00
Dániel Buga
5a246887a4
Hide private function 2025-01-09 18:56:40 +01:00
Dániel Buga
d0c611b415
Fix panic message 2025-01-09 18:56:40 +01:00
Dániel Buga
5cd996c9a1
Point at the right branch 2025-01-09 18:56:40 +01:00
Dániel Buga
c62f70d2c3
Clean up 2025-01-09 18:56:40 +01:00
Dániel Buga
7ecbe7366a
Clear owner on dequeue 2025-01-09 18:56:40 +01:00
Dániel Buga
6c12a967b0
Track the timer item's owner 2025-01-09 18:56:40 +01:00
Dániel Buga
5a3bf93b8a
Refactor the refactor refactor 2025-01-09 18:56:39 +01:00
Dániel Buga
d9e5ab4a1a
Local patch 2025-01-09 18:56:39 +01:00
Dániel Buga
4450f67565
Adjust impl to latest changes 2025-01-09 18:56:39 +01:00
Dániel Buga
8b6b1b9559
Add note 2025-01-09 18:56:39 +01:00
Dániel Buga
0a12fc4d26
Fix next expiration when arming 2025-01-09 18:56:39 +01:00
Dániel Buga
febd4b22b2
Fix single integrated-timer queue 2025-01-09 18:56:39 +01:00
Dániel Buga
b93553b40a
Feature 2025-01-09 18:56:39 +01:00
Dániel Buga
1a02500008
Fix arg order 2025-01-09 18:56:39 +01:00
Dániel Buga
9ea993d20d
Clean up RefCell+generic queue 2025-01-09 18:56:39 +01:00
Dániel Buga
baa087bae0
Define cfgs, fix calling something uninitialized 2025-01-09 18:56:39 +01:00
Dániel Buga
5b42d5271d
Remove explicit generic-queue features 2025-01-09 18:56:38 +01:00
Dániel Buga
d22660b2f3
Fix build without any queue impl selected 2025-01-09 18:53:48 +01:00
Dániel Buga
7c64ff0b87
Point to github with patches 2025-01-09 18:53:48 +01:00
Dániel Buga
a582772016
Minimize alarm priorities 2025-01-09 18:52:57 +01:00
Dániel Buga
83056ee6b0
Update generic queue 2025-01-09 18:52:33 +01:00
Dániel Buga
381db5a858
Do not access current time on each schedule 2025-01-09 18:52:33 +01:00
Dániel Buga
790c5d5db3
foo 2025-01-09 18:52:33 +01:00
Dániel Buga
21c1204bce
Log 2025-01-09 18:51:35 +01:00
Dániel Buga
732c4c4ca3
Spawn another timer 2025-01-09 18:51:35 +01:00
Dániel Buga
fff6bcb917
Add a timer-driven task 2025-01-09 18:51:35 +01:00
Dániel Buga
05303d1e37
Fix thread-mode executor on core1 not waking up 2025-01-09 18:48:48 +01: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
2b80e4d123
Return error instead of panic (#2916) 2025-01-09 13:47:54 +00:00
Dániel Buga
0ef00206d5
Remove all instance type params (#2907) 2025-01-09 11:27:48 +00:00
Dániel Buga
409641dd7e
Document that UART TX should be set up first (#2914) 2025-01-09 10:29:46 +00:00
Dániel Buga
9f553b1b0e
Mark ClockSources as #[non_exhaustive] (#2912) 2025-01-08 19:07:25 +00:00
Juraj Sadel
8a7f8361a6
UART: Move RX/TX pin assignment from constructor to builder functions (#2904)
* Add with_rx() and with_tx() methods to UART drivers

* changelog

* migration guide

* forgotten tests

* fmt

* fix H2 example

* Use the same calling order of calling TX and RX as before
2025-01-08 16:35:22 +00:00
Jesse Braham
7d0b39dbd2
Fix naming violations for SPI Address and Command enums (#2906)
* Fix naming violations for SPI `Address` and `Command` enums

* Update migration guide

* Update `CHANGELOG.md`
2025-01-08 14:39:54 +00:00
Dániel Buga
246e7f1c8b
Disable failing tests (#2910) 2025-01-08 14:38:10 +00:00
Björn Quentin
6b4312fb90
Use own implementation instead of ROM functions, re-add memchr (#2896)
* Use own implementation instead of ROM functions, re-add memchr ROM function

* CHANGELOG.md

* Improve

* Cast
2025-01-08 07:12:04 +00:00
Davo
5a64d9ba8f
feat: add support for internal temperature sensor (tsens) for esp32c6 and esp32c3 (#2875)
* feat: add basic support for temperature sensor (tsens) for esp32c6

* feat: add basic support for temperature sensor (tsens) for esp32c3

* feat: add configurable clock source for temperature sensor

* feat: add Temperature struct to avoid enforcing usage of floats

- Also add misc derives to multiple structs
- Add power_up / power_down methods to TemperatureSensor
- Enable ApbSarAdc via PeripheralGuard

* fix: move tsens module to unstable module list
2025-01-07 16:40:12 +00:00
Juraj Sadel
f1276f7d1b
Remove unnecessary prefixes/suffixes from Error and TxEvent enums (#2898)
* Remove unnecessary prefixes/suffixes from Error and TxEvent enums

* Remove #[allow(clippy::enum_variant_names ...)

* Use object+verb naming in Error enum variant

* Migration guide entry

* Remove ZeroLengthBufferPassed variant

* docs
2025-01-07 16:08:10 +00:00
Jesse Braham
bb406cec6b
Fix naming violations for spi::Mode enum variants (#2902)
* Fix naming violations for `spi::Mode`

* Update migration guide

* Update `CHANGELOG.md`
2025-01-07 15:55:19 +00:00
Björn Quentin
66d2effee2
Stabilize CpuClock, make non-exhaustive, rename variants (#2899)
* Stabilize CpuClock, make non-exhaustive, rename variants

* CHANGELOG.md

* Fix
2025-01-07 14:43:41 +00:00
Dominic Fischer
b3401bff59
Refactor SPI MISO setup (#2557)
* Refactor SPI MISO setup

* update HIL

* docs

* missed a spot

* fix changelog

---------

Co-authored-by: Dominic Fischer <git@dominicfischer.me>
Co-authored-by: Scott Mabin <scott@mabez.dev>
2025-01-07 11:31:26 +00:00
Jesse Braham
2a4e58a230
UART: Remove blocking version of read_bytes and rename drain_fifo to read_bytes instead (#2895)
* Remove `read_bytes` function, rename `drain_fifo` to `read_bytes`

* Update migration guide

* Update `CHANGELOG.md`

* Use `crate::interrupt::free` in `read_byte`

* Fix HIL test

* Only use `crate::interrupt:free` for ESP32
2025-01-07 10:02:29 +00:00
Juraj Sadel
5cd0d6f6bf
Alter stability note in README and briefly explain unstable feature (#2894)
* Alter stability note in README and briefly explain unstable feature

* Review comments
2025-01-07 09:03:30 +00:00