Commit Graph

8352 Commits

Author SHA1 Message Date
Mathias
d1207706c0 Fix example after swapping bufferedUart rx and tx in split fn 2024-07-17 12:07:58 +02:00
Mathias
f733071908 Add split_ref fn to uart, allowing a mutable reference split into RX & TX handles. Also change order of RX and TX handles in split fn, to streamline with other HALs 2024-07-17 11:25:03 +02:00
Dario Nieuwenhuis
e54c753537
Merge pull request #3182 from embassy-rs/nightly-update-more
Update nightly, fix error with rp inline asm.
2024-07-16 14:48:00 +00:00
Dario Nieuwenhuis
a0f8948c1c Update nightly, fix error with rp inline asm. 2024-07-16 16:40:54 +02:00
Dario Nieuwenhuis
e1e99879a6
Merge pull request #3181 from JuliDi/bump-udbd-hid
Bump usbd-hid from 0.7.0 to 0.8.1 to fix compile errors in rp examples
2024-07-16 12:02:07 +00:00
JuliDi
d78ce3c6ab
bump more udbd-hid usages to 0.8.1 2024-07-16 12:38:16 +02:00
JuliDi
2571e0416f
bump usbd-hid from 0.7.0 to 0.8.1 2024-07-16 12:26:51 +02:00
James Munns
4472e08bca
Merge pull request #3179 from 1-rafael-1/impl-ReadReady-for-buffered-uart
Impl read ready for buffered uart
2024-07-14 17:14:37 +00:00
rafael
d9ea5cb015 stm after cargo fix 2024-07-14 17:56:56 +02:00
rafael
f5ebdebd96 nrf after cargo check 2024-07-14 17:34:50 +02:00
rafael
c7f775dc20 stm 2024-07-14 16:42:54 +02:00
rafael
08f1454527 nrf 2024-07-14 16:35:05 +02:00
Dario Nieuwenhuis
f5e3f31df7
Merge pull request #3176 from wyager/main
Change const asserts to `core::assert` to avoid invoking `defmt::assert`
2024-07-14 06:54:48 +00:00
William Yager
a5c0d1b79f Change const asserts to core::assert to avoid invoking defmt::assert 2024-07-13 15:55:24 -04:00
Dario Nieuwenhuis
3937c53fd8
Merge pull request #3170 from neuschaefer/dev
Minor fixes
2024-07-12 15:52:22 +00:00
J. Neuschäfer
de1dc272e0 net-adin1110: Fix typo in comment 2024-07-12 02:06:13 +02:00
J. Neuschäfer
0a19879c5d executor: Use spawner.must_spawn(...) for wasm too
All other architectures use must_spawn instead of spawn+unwrap, so use
it for wasm as well.
2024-07-12 02:05:59 +02:00
James Munns
ed3da1721a
Merge pull request #3165 from 1-rafael-1/impl-ReadReady-for-BufferedUart-in-embassy-rp
Impl read ready for buffered uart in embassy rp
2024-07-10 21:40:36 +00:00
rafael
d8821dd7d7 rustfmt 2024-07-10 22:56:12 +02:00
rafael
68b3fbe348 implement read_ready method in BufferedUart 2024-07-10 22:54:48 +02:00
James Munns
6636a5835b
Merge pull request #3160 from 1-rafael-1/add-rp-sample-distribute-resources
add assign_resources rp example
2024-07-08 21:29:25 +00:00
rafael
2f62376a15 add faq 2024-07-08 23:27:42 +02:00
rafael
52c43f0249 rustfmt 2024-07-08 22:26:32 +02:00
rafael
91e6aa3166 rustfmt 2024-07-08 22:20:23 +02:00
rafael
376f65e1d3 add assign_resources example 2024-07-08 22:07:38 +02:00
James Munns
d8bd5907ca
Merge pull request #3157 from kalkyl/sharing
Add example for sharing things between tasks
2024-07-08 15:19:48 +00:00
kalkyl
028ca55f9c Add more docs and cross-links 2024-07-08 17:16:35 +02:00
kalkyl
87f6634349 Add example for sharing things between tasks 2024-07-08 13:58:36 +02:00
James Munns
462daeeb49
Merge pull request #3154 from Dicklessgreat/main
Fix BDMA example for soundness
2024-07-07 16:54:37 +00:00
Dickless
3408e1ddbf Fixed to reserve as much space as it uses. 2024-07-07 04:39:39 +09:00
Dickless
e2aa5ef376 Merge branch 'main' of https://github.com/Dicklessgreat/embassy into main 2024-07-06 17:46:53 +09:00
Dickless
b90eef293b [#2905 #2904] Replaced static raw array with GroundedArrayCell 2024-07-06 17:36:22 +09:00
Henrik Alsér
f91244bae6
Merge pull request #3152 from Dicklessgreat/main
add SAI example
2024-07-04 18:32:51 +00:00
Dickless
4f649caa81 cargo +nightly fmt 2024-07-05 03:29:25 +09:00
Dickless
49546abfec rustfmt 2024-07-05 03:17:04 +09:00
Dickless
4ecdf31f9b add SAI example 2024-07-05 02:33:30 +09:00
Ulf Lilleengen
e2f9a48457
Merge pull request #3148 from andresv/stm32-adc-blocking_read
stm32 adc: introduce blocking_read
2024-07-03 12:45:58 +00:00
Andres Vahter
f851081e09 stm32 adc: introduce blocking_read 2024-07-03 15:20:31 +03:00
Dario Nieuwenhuis
ac5b7edb05
Merge pull request #3144 from Stupremee/better-clock-messages
Better panic message when peripheral clock is not enabled
2024-07-03 09:30:24 +00:00
Ulf Lilleengen
914d7c7919
Merge pull request #3128 from andresv/stm32-adc-dma-v3
STM32 ADC v3 and V4 DMA support
2024-07-03 08:13:26 +00:00
Andres Vahter
09cfa28a21 stm32g0: add adc_dma example 2024-07-03 10:59:20 +03:00
Ulf Lilleengen
8c54df1042
Merge pull request #3145 from embassy-rs/nrf-radio-fixes
fix cancellation hanging on event never occuring
2024-07-03 07:45:14 +00:00
Ulf Lilleengen
ef78e3283b
Merge pull request #3143 from andresv/stm32-ringbuffered-adc-docs
stm32 ringbuffered adc docs
2024-07-03 07:33:10 +00:00
Ulf Lilleengen
b6f76b5ab2
Merge pull request #3110 from liarokapisv/adc_v4_averaging
stm32 - Adc v4 - Add averaging support.
2024-07-03 07:22:34 +00:00
Ulf Lilleengen
3e70601fc7
Merge pull request #3124 from Adancurusul/dev
Add adc oversampling support
2024-07-03 07:22:03 +00:00
Ulf Lilleengen
b07570fce5 remove unused logging 2024-07-03 09:04:47 +02:00
Ulf Lilleengen
a07702ba7b fix cancellation hanging on event never occuring
- The end event is not triggered by stop and might therefor never occur
- Clear the end_event after operation is done instead of disabled
2024-07-03 09:03:25 +02:00
Justus K
9e4e536769
Better panic message when peripheral clock is not enabled 2024-07-03 08:32:00 +02:00
Ulf Lilleengen
5223923bd2
Merge pull request #3111 from Eekle/feature/async_tsc
Add async API to TSC
2024-07-02 18:51:50 +00:00
Eekle
d3f8905e93 Use crate level PeriMode 2024-07-02 20:46:05 +02:00