632 Commits

Author SHA1 Message Date
ivmarkov
15ef8c3eda New release v0.42.0 2023-10-17 05:50:49 +00:00
ivmarkov
5d86e230df #321 2023-10-17 04:46:01 +00:00
ivmarkov
7206328cef Fix conditionals 2023-10-16 19:36:46 +00:00
ivmarkov
103ac01469 Remove obsolete IntrFlags dfrom everywhere 2023-10-16 19:32:01 +00:00
ivmarkov
9f50f4dd1d Bugfix: interrupt type setting was incorrect 2023-10-16 19:28:37 +00:00
ivmarkov
6eeeae1018 Use better pins for esp32 2023-10-16 19:27:53 +00:00
ivmarkov
9bd6d8300f SPI async: optimize memory; only enable for non-IRAM ISRs 2023-10-16 19:17:35 +00:00
ivmarkov
bb92e2a47e Async examples 2023-10-14 07:36:30 +00:00
ivmarkov
e9d1744065 Unify Peripherals::take API with the similar ones in esp-idf-svc 2023-10-14 07:36:21 +00:00
ivmarkov
caa69fa04d Revert "Option to modify existing Frame instance"
This reverts commit fac304f59ab46a9db3a76a8b2c4e29a9b63e36c2.
2023-10-13 17:50:33 +00:00
ivmarkov
59d34afa77 Revert "Option to modify existing Frame instance"
This reverts commit 81fe0a75251b252a3d42ab45eeb91d5e6d6a5fa2.
2023-10-13 17:50:12 +00:00
ivmarkov
81fe0a7525 Option to modify existing Frame instance 2023-10-13 09:35:54 +00:00
ivmarkov
fac304f59a Option to modify existing Frame instance 2023-10-13 08:02:57 +00:00
ivmarkov
d8bba787b4 #317 2023-10-10 21:21:38 +00:00
ivmarkov
092055b967 Bugfixing; async timer example 2023-10-09 18:55:44 +00:00
ivmarkov
071d7c6620 Fix the no_std build 2023-10-09 17:55:12 +00:00
ivmarkov
a7aaba9265 Update changelog 2023-10-09 17:33:23 +00:00
ivmarkov
dc7dc0fdb5 Scope the callback to the lifetime of the driver 2023-10-09 17:33:16 +00:00
ivmarkov
c4f83d1a95 Scope the callback to the lifetime of the driver 2023-10-09 17:33:00 +00:00
ivmarkov
b7f1ad5291 Fix the build on master 2023-10-09 07:04:06 +00:00
ivmarkov
eaafa2bd49 Clippy 2023-10-09 07:02:53 +00:00
ivmarkov
0910f472d0 block_on method 2023-10-09 04:23:25 +00:00
ivmarkov
cc3585ea47 block_on method 2023-10-08 19:01:01 +00:00
ivmarkov
4a0dfc422e Better naming 2023-10-08 18:49:17 +00:00
ivmarkov
2d5e382c47 Rename WakeRunnerConfig to IsrReactorConfig 2023-10-07 08:59:37 +00:00
ivmarkov
5c7a666938 Rename WakeRunner to IsrReactor 2023-10-07 08:58:10 +00:00
ivmarkov
b9f9201b63 Update embassy-sync to 0.3 2023-10-06 19:22:11 +00:00
ivmarkov
06196535b6 Update changelog 2023-10-06 19:07:05 +00:00
ivmarkov
1a0f3a1dad Disable interrupts in the ISR callback; #296 2023-10-06 19:03:26 +00:00
ivmarkov
4381d62aed ESP IDF 4.4 i2s fixes 2023-10-06 19:02:36 +00:00
ivmarkov
9341c2348e Fix changelog 2023-10-06 19:02:09 +00:00
ivmarkov
ebeef0fcc8
All executors (#315)
* Support for all async executors

* Make all Notifiucation primitives a public API

* Address a small typo

* Address a small typo

* Fix CI

* Tighten the notify APIs by not taking 0s

* Fix CI

* Fix changelog

* Fix changelog

* Fix the examples

* edge-executor support moved to edge-executor

* wake-from-isr feature for edge-executor

* Fix CI

* Bugfixing

* Clippy
2023-10-06 22:01:20 +03:00
Rickard Hallerbäck
cad2637aa0
doc: i2s example usage update (#314) 2023-10-05 21:06:13 +03:00
ivmarkov
53d2592bee Upgrade to e-io 0.6 2023-10-03 19:28:14 +00:00
ivmarkov
dd06b698ae Fix CI 2023-10-01 07:17:42 +00:00
David Cuthbert
e6603eb766
Fix building for ESP32C2. (#311)
Fixes https://github.com/esp-rs/esp-idf-hal/issues/282.
2023-09-26 06:41:41 +03:00
Johannes Löthberg
8508fd2b50
Only set the chan member of adc_cali_curve_fitting_config_t on ESP-IDF > 5.0 (#308)
Signed-off-by: Johannes Löthberg <johannes.loethberg@elokon.com>
2023-09-25 09:46:17 +03:00
Frederick Vollbrecht
4c41c8e860
🗑️ add deprecate note on 4.3 specific cfg (#307)
* 🗑️ add deprecate note on 4.3 specific cfg

* add note in changelog.md
2023-09-23 14:12:34 +03:00
David Cuthbert
29360a2fb8
Documentation and API adjustments for I2S (#309)
* Fix mono mode slot mask.

This changes the slot mask configuration in standard mode for
non ESP32/ESP32-S3 chips to use left-channel only mode. This behavior
differs from the ESP-IDF SDK, which appears to be in error due when
a preprocessor macro was renamed.

* Improve I2S documentation.

* Run cargo fmt.

* Fix clippy issues on 4.4.

* Fix another instance of dma_desc for 4.4.

* Add missing doc() attr.
2023-09-23 14:11:00 +03:00
ivmarkov
9c85deef19 Wifi/Bt coex conf changed in ESP IDF 5 2023-09-22 13:34:58 +00:00
ivmarkov
02eb9e1ff9 Fix changelog 2023-09-21 18:45:28 +00:00
ivmarkov
7cf30a7198 Update changelog 2023-09-19 18:47:52 +00:00
ivmarkov
84d81f392b
Async UART support (#306)
* Async uart

* Fixes for e-hal-nb

* Implement IO traits for read/write

* Seprate tx/rx async drivers; event_queue access for tx/rx drivers

* Split should be &mut self

* Properly handle 0-len buffers

* fix CI

* Bugfixing

* Bugfixing
2023-09-19 21:43:05 +03:00
ivmarkov
4df6030eb8 fix CI 2023-09-19 08:56:21 +00:00
ivmarkov
53a48597d8 fix CI 2023-09-19 06:49:47 +00:00
ivmarkov
356f9f8218 Fix CI 2023-09-18 06:12:09 +00:00
ivmarkov
496d42edfa new constructor; take config by ref 2023-09-18 04:37:02 +00:00
liebman
95dfc2f9f7
Adc oneshot driver (#302)
* esp-idf v5 Adc oneshot driver

* cargo fmt

* added example & cargo fmt

* fix clippy issues

* more clippy's

* even more clippy's

* handle most review comments

* AdcChannelDriver: remove ADC annotation - use T::Adc
AdcChannelDriver: remove Sync implementation
examples: update adc_oneshot

* cargo fmt
remove AdcChannelDriver::channel

* implement e-hal 0.2 Adc OneShot trait
2023-09-18 06:59:54 +03:00
ivmarkov
34be5758d7 ADC oneshot: simplify the e-hal trait impl 2023-09-16 10:19:12 +00:00
Thomas Schaller
0d0d41ed0b
Fix UART queue (#304) 2023-09-15 09:00:36 +03:00