Commit Graph

1890 Commits

Author SHA1 Message Date
Ulf Lilleengen
44282b18fa Prepare embassy-time release 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
5767c003cc Prepare release of embassy-embedded-hal 0.2.0 2024-08-05 08:56:29 +02:00
Rob Pilling
ec53b9187d Fix bootloader-rp's bootloader memory region overflow
The bootloader region (`FLASH`) mentioned below overflows into the
`BOOTLOADER_STATE` region by `0x100` bytes

```
0x10000100 + 24K = 0x10006100
```

32adddff9c/examples/boot/bootloader/rp/memory.x (L3-L8)
2024-07-31 18:16:04 +01:00
rafael
e05e5d33f0 review comments 2024-07-28 00:19:54 +02:00
rafael
5d46b694ca add example to rp: orchestrate multiple tasks 2024-07-27 14:57:46 +02:00
rafael
97125e53cd add example to rp: orchestrate multiple tasks 2024-07-27 14:54:02 +02:00
rafael
b2d8d7f009 add example to rp: orchestrate multiple tasks 2024-07-27 14:48:42 +02:00
James Munns
2766993099
Merge pull request #3159 from kalkyl/shared-bus
Add example for shared I2C and SPI buses
2024-07-18 15:11:54 +00:00
Dario Nieuwenhuis
5e625f274a
Merge pull request #3185 from MathiasKoch/embassy-rp/uart-split-ref
(embassy-rp): Add split_ref fn to uart, allowing a mutable reference split into RX & TX handles
2024-07-18 12:10:37 +00:00
Dario Nieuwenhuis
024097d833
Merge pull request #3163 from michelrandahl/f303-tsc-example
add TSC examples
2024-07-18 12:10:02 +00:00
Dario Nieuwenhuis
c83d940005
Merge pull request #3171 from nerwalt/nrf9151
nrf9151 support
2024-07-18 12:07:15 +00:00
Mathias
d1207706c0 Fix example after swapping bufferedUart rx and tx in split fn 2024-07-17 12:07:58 +02: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
nerwalt
0dd0e593c2 cargo fmt examples 2024-07-15 13:35:21 -06:00
nerwalt
38d8abef26 Merge branch 'main' into nrf9151 2024-07-11 06:58:05 -06:00
Chen Yuheng
f01ffbcc12 Add oversampling and differential for g4 2024-07-11 10:33:43 +08:00
michel
10a1a27cc3 add async TSC example for STM32L073 2024-07-10 20:59:18 +02:00
michel
52f40b9c9d add blocking TSC examples 2024-07-10 13:26:18 +02:00
Dion Dokter
f6f312270f fmt 2024-07-09 09:37:49 +02:00
kalkyl
af9c7379f9 Add link to example in book 2024-07-08 22:53:50 +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
kalkyl
03f3a3389d Add example for shared I2C and SPI buses 2024-07-08 21:48:19 +02:00
kalkyl
028ca55f9c Add more docs and cross-links 2024-07-08 17:16:35 +02:00
Dion Dokter
203297b569 Make clocks repr C.
Add shared data.
Modify freq functions to use shared data.
Modify examples to use new init/
2024-07-08 16:54:06 +02:00
kalkyl
87f6634349 Add example for sharing things between tasks 2024-07-08 13:58:36 +02:00
Dion Dokter
b1ea90a87e Add H755 examples 2024-07-08 13:32:23 +02:00
Dickless
3408e1ddbf Fixed to reserve as much space as it uses. 2024-07-07 04:39:39 +09:00
Dickless
b90eef293b [#2905 #2904] Replaced static raw array with GroundedArrayCell 2024-07-06 17:36:22 +09: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
Andres Vahter
f851081e09 stm32 adc: introduce blocking_read 2024-07-03 15:20:31 +03: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
3e70601fc7
Merge pull request #3124 from Adancurusul/dev
Add adc oversampling support
2024-07-03 07:22:03 +00: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
Dario Nieuwenhuis
5137ebab56
Merge pull request #3132 from oro-os/wiznet-version-check
wiznet: add version check to initialization sequence
2024-07-02 16:58:00 +00:00
Alexandros Liarokapis
70061e74b2 add async dma read example 2024-07-02 17:07:18 +03:00
Dario Nieuwenhuis
6f21d5e478
Merge pull request #3116 from sethkrie/adc-v2-ringbuf
ring buffered adc v2
2024-07-02 01:05:49 +00:00
Dario Nieuwenhuis
f3fdeb26a4
Merge pull request #3127 from shufps/feat/dds-example
Feat/dds example
2024-07-01 23:50:35 +00:00
Dario Nieuwenhuis
00babd2ec4
Merge pull request #3126 from ninjasource/stm32-ltdc
Add support for the stm32 LTDC display peripheral
2024-07-01 23:18:15 +00:00
nerwalt
98263ac220 Merge branch 'main' into nrf9151 2024-07-01 10:03:24 -06:00
Josh Junon
c4b88b5781
wiznet: add version check to initialization sequence 2024-06-30 23:56:17 +02:00
Eekle
67f5b8d974 Update example 2024-06-30 11:06:32 +02:00
Krzysztof Królczyk
96cdf9c9e0
rp/i2c: add address flexibility and example
Previous i2c examples are using either blocking Embassy API
or e-h traits, this example uses Embassy pub API directly.

Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2024-06-28 19:51:33 +02:00
David Haig
6edf7b4688 Applied formatting 2024-06-28 18:17:17 +01:00
David Haig
79f00e54cc Moved ltdc example to its own crate 2024-06-28 18:11:34 +01:00
nerwalt
317e065517 Adding uart example to 9151-ns
Updated README
2024-06-28 08:59:22 -06:00
David Haig
1123e3fd41 Get dsi_bsp example to compile again 2024-06-28 15:12:17 +01:00
nerwalt
5e1a6a9753 Adding support for 9120 2024-06-28 07:11:50 -06:00
shufps
2462a22140 format 2024-06-28 14:52:21 +02:00
shufps
b2a0eb3cb4 added comment 2024-06-28 14:43:39 +02:00
shufps
ece6203a99 added DDS example 2024-06-28 14:42:19 +02:00
nerwalt
8a6b71b0bb Adding initial support for nrf9151 s and ns
Adding s and ns examples, including a reference TFM
2024-06-27 14:07:26 -06:00
David Haig
0e84bd8a91 Add support for the stm32 ltdc display peripheral 2024-06-27 20:13:20 +01:00
Chen Yuheng
a0799bf270 Add adc oversampling support 2024-06-27 17:04:26 +08:00
9names
080b5869da Fix rngcore imports in examples 2024-06-25 21:07:09 +10:00
9names
1456900281 Replace joke seed with best RNG available 2024-06-25 20:47:27 +10:00
9names
7b9215c8b9 Use published version of reqwless 2024-06-25 20:33:55 +10:00
seth
6926e9e071 CI 2024-06-24 23:15:00 -07:00
seth
7056783fa2 second adc added to example + API todos completed 2024-06-24 17:53:59 -07:00
seth
27b83fdbcf fmt 2024-06-24 17:15:16 -07:00
seth
f64dd8228b new PR, taking Dirbao's advice to make the DMA impl in a separate struct that consumes Adc<T> to make RingBufferedAdc<T>. Handling overrun similar to RingBufferedUart 2024-06-24 17:09:43 -07:00
rafael
b927c22ac0 rustfmt 2024-06-24 22:12:18 +02:00
rafael
6dae3c02c0 comment the comments 2024-06-24 22:08:59 +02:00
rafael
d05817f89d rustfmt again 2024-06-24 21:33:42 +02:00
rafael
67e7532b4a rustfmt 2024-06-24 21:16:56 +02:00
rafael
32e9867b4e need to bring down binary size or flashing will corrupt the device 2024-06-24 20:51:31 +02:00
rafael
b05217b356 add wifi_webrequest example 2024-06-23 23:04:47 +02:00
Eekle
7eb605d116 fmt 2024-06-23 16:55:36 +02:00
Eekle
2655426cd8 Add async wait to TSC 2024-06-23 16:43:12 +02:00
Henrik Alsér
cfe8561550
Merge pull request #3044 from kalkyl/adc-multi
rp: Add multichannel ADC
2024-06-22 21:05:17 +00:00
Ulf Lilleengen
8b0c883443
Merge pull request #3095 from Adancurusul/g0_development
Add PWM examples for stm32g0
2024-06-22 14:11:50 +00:00
Romain Reignier
c65ee20cdd examples: stm32wb: remove comment about memory.x file
File removed in commit c19967dcf2
2024-06-20 14:06:44 +02:00
Chen Yuheng
a3c6626f40 Update pwm_complementary.rs 2024-06-19 11:04:40 +08:00
Chen Yuheng
0579d248ef Add PWM examples for stm32g0 2024-06-19 10:57:18 +08:00
Dario Nieuwenhuis
a0231ed74c
Merge pull request #3091 from embassy-rs/nrf-egu-peri
add HAL and example for using nRF EGU peripheral
2024-06-18 11:25:51 +00:00
Ulf Lilleengen
91476eea12 cargo fmt 2024-06-18 13:22:38 +02:00
Ulf Lilleengen
a44ee963ef add HAL and example for using nRF EGU peripheral 2024-06-18 13:13:33 +02:00
Chen Yuheng
bbe8d3d38a Add stm32g0 examples 2024-06-18 17:01:37 +08:00
Jan Špaček
94007ce6e0 stm32/gpio: refactor AfType 2024-06-16 21:11:55 +02:00
rafael
8b903e8873 --binary-format bin in rp examples 2024-06-15 14:39:41 +02:00
rafael
a8581e242b typo: was missing "bin" 2024-06-14 21:43:12 +02:00
rafael
597b5d6337 probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x10100000 yields:
Error: --format has been renamed to --binary-format. Please use --binary-format bin instead of --format bin
2024-06-13 22:47:24 +02:00
Karun
54fa33cbae Add example for touch sensitive controller 2024-06-13 13:46:10 -04:00
Daniel Philipp
8b0cfde9a6
Clarified comments about the cortex_m::asm::delay functionality in al… (#3064)
* Clarified comments about the cortex_m::asm::delay functionality in all multiprio.rs examples

* fixed formatting

* Changed to using embassy_time::block_for()

* removed my formatting scripts

* specify embassy_time::Duration
2024-06-12 19:40:28 +02:00
Dario Nieuwenhuis
ad7d739ddc
Merge pull request #3062 from kkrolczyk/kk/bootloader-typos
fix docu typos, linker addr example
2024-06-10 20:48:41 +00:00
Krzysztof Królczyk
453aa58b7f
stm32/boot: update linker file in example
Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2024-06-10 11:50:20 +02:00
Dario Nieuwenhuis
e5495b51b4
Merge pull request #3057 from dvdsk/docs-net-size
Document w5500 State and add w5500 example for stmf4
2024-06-07 23:00:56 +00:00
dvdsk
ab31a02e17
cargo fmt 2024-06-08 00:30:52 +02:00
dvdsk
1812ccd276
Adds an example for using the w5500 with an stm32f4
This example takes into account the lower memory on the stm32f4. That
should prevent anyone wanting to use the w5500 on any stm from adapting
the w5500 example for the rp which uses a lot more RAM.
2024-06-07 23:46:59 +02:00
Ulf Lilleengen
044b5c8921
Merge pull request #3040 from embassy-rs/embassy-time-0.3.1
prepare for embassy-time 0.3.1 release
2024-06-05 13:36:24 +00:00
kalkyl
bf36bec9bb rp: Add multichannel ADC 2024-06-05 09:42:08 +02:00
Ulf Lilleengen
30918c355b prepare for embassy-time 0.3.1 release 2024-06-04 09:02:41 +02:00
kalkyl
f9d8c68fc8 Add description 2024-06-04 01:20:19 +02:00
kalkyl
874d5f7c65 core atomic 2024-06-04 00:53:51 +02:00
kalkyl
03d8f99aa5 rp: Add zerocopy channel example 2024-06-04 00:38:51 +02:00
Ulf Lilleengen
d2045be9f3 fix broken links to embassy book 2024-06-03 08:45:05 +02:00
Corey Schuhen
58ef2594e5 Fix F7 example. 2024-06-02 20:16:57 +10:00
Dario Nieuwenhuis
339dd85968 stm32/spi: restrict txonly_nosck to SPIv1, it hangs in other versions. 2024-05-31 22:58:53 +02:00
Dario Nieuwenhuis
999a2ad829 Fix all check-cfg errors in the entire repo.
the main ci.sh now passes if running with nightly.
2024-05-31 21:54:42 +02:00
Dario Nieuwenhuis
ba940017ee
Merge pull request #3014 from brunob45/pwm_input
Add PWM Input for STM32
2024-05-31 18:09:27 +00:00
Dario Nieuwenhuis
694ac3a515
Merge pull request #2992 from liarokapisv/i2s-spi_v3
Add spi v3 & Full-duplex support to the I2S driver.
2024-05-30 12:31:59 +00:00
Corey Schuhen
7fd79857c3 Fix example. 2024-05-30 22:00:02 +10:00
Bruno Bousquet
a87b333034 fix fmt 2024-05-29 10:02:54 -04:00
Bruno Bousquet
292c1dd0b8 rename get_width_ticks and add info!() in examples 2024-05-29 09:59:00 -04:00
Bruno Bousquet
a23fa8dcb2
Apply suggestions from code review
Co-authored-by: Romain Reignier <romainreignier@users.noreply.github.com>
2024-05-29 09:14:05 -04:00
Ulf Lilleengen
cf0d227cca Prepare for embassy-sync 0.6.0 release 2024-05-29 12:09:55 +02:00
Bruno Bousquet
7f4803ddaf fix fmt again 2024-05-29 00:55:49 -04:00
Bruno Bousquet
66122aa60f Merge branch 'pwm_input_f103' into pwm_input 2024-05-29 00:53:09 -04:00
Bruno Bousquet
61f1f80e90 fix fmt 2024-05-29 00:52:55 -04:00
Bruno Bousquet
69badfb845 remove dev files 2024-05-29 00:37:50 -04:00
Bruno Bousquet
50039b17a7 fix F103 example 2024-05-29 00:33:35 -04:00
Bruno Bousquet
521332bdd1 pwm_input is working on F446 2024-05-29 00:28:26 -04:00
Bruno Bousquet
a6c419d096 add f103 example for input_capture 2024-05-28 23:12:08 -04:00
Bruno Bousquet
7c1e1ee288 example is working now 2024-05-28 22:30:10 -04:00
Bruno Bousquet
41b9a12574 compile pwm_input example 2024-05-28 20:36:23 -04:00
Bruno Bousquet
642465a7da add stm32f446 files 2024-05-28 20:20:15 -04:00
Alexandros Liarokapis
25cc5241b1 Add i2s support for spi_v3. 2024-05-27 18:06:20 +03:00
Joël Schulz-Andres
92988a3939 Correct chip in comment 2024-05-24 14:22:30 +02:00
Joël Schulz-Andres
201b5c6ec1 Add NRF52810 example 2024-05-24 14:03:27 +02:00
Jan Špaček
183f2f6913 stm32/usart: remove instance generic params 2024-05-23 16:32:15 +02:00
Dario Nieuwenhuis
e5c579d9fb
Merge pull request #2985 from rumcake-rs/stm32-adc-anyadcchannel
stm32/adc: add AnyAdcChannel type
2024-05-23 10:09:45 +00:00
Dario Nieuwenhuis
68e784ccd6
Merge pull request #2983 from reneherrero/main
Added a CAN example for the stm32l4
2024-05-21 22:34:13 +00:00
Dario Nieuwenhuis
e7161aa085 stm32/qspi: remove DMA generic param. 2024-05-22 00:23:42 +02:00
René Herrero
2f2869f195 Merge branch 'main' of github.com:reneherrero/embassy 2024-05-21 17:20:18 -05:00
René Herrero
ec32159576 added CAN example 2024-05-21 17:14:31 -05:00
Dario Nieuwenhuis
e55f31bdc6 rp/pwm: rename channel->slice in args, misc fix. 2024-05-21 23:41:45 +02:00
Dario Nieuwenhuis
e85242af2c
Merge pull request #2976 from joelsa/add-dsihost-example
Add dsihost example
2024-05-21 20:46:17 +00:00
Joël Schulz-Ansres
4e42eaef7c Add dsi example 2024-05-21 22:44:40 +02:00
Univa
7cdbae2a5d add AnyAdcChannel 2024-05-20 21:29:20 -04:00
Dario Nieuwenhuis
45a12fd41f stm32/i2c: remove peripheral generic param. 2024-05-21 01:25:49 +02:00
Dario Nieuwenhuis
ca2eef5387 stm32/spi: remove peripheral generic param. 2024-05-20 23:43:10 +02:00
Dan Groshev
b843f2546f
Add a CHANGELOG to embassy-usb-logger and bump its version 2024-05-20 14:25:32 +01:00
Dario Nieuwenhuis
e5fb96abe8
Merge pull request #2888 from FransUrbo/uart_r503
Added PIO UART examples for rp to talk to an R503 fingerprint scanner.
2024-05-20 13:03:14 +02:00
Dario Nieuwenhuis
621dbeceda
Merge pull request #2912 from brunob45/simple_capture
STM32 Input Capture
2024-05-20 08:49:12 +00:00
Felipe Balbi
57d9bfd343 stm32g0: add i2c_async example
This example will help those having difficulties understanding how to
bind interrupts on stm32g0 devices.
2024-05-16 12:15:43 -07:00
Felipe Balbi
3ef62eef53 stm32h7: add shared bus example 2024-05-16 09:38:13 -07:00
Dario Nieuwenhuis
aaf4cb0cb2
Merge pull request #2934 from embassy-rs/example-papercuts
Fix misc example papercuts.
2024-05-12 23:16:57 +00:00
Dario Nieuwenhuis
b131108396 examples/stm32h7rs: add i2c example. 2024-05-13 01:11:49 +02:00
Dario Nieuwenhuis
66e3d4da8d examples/stm32: do not enable vbus detect by default, it doesn't work on all boards. 2024-05-13 01:11:49 +02:00
Dario Nieuwenhuis
e2dfdcb509 examples/stm32: reduce packet queue count to avoid OOM on smaller chips. 2024-05-13 01:11:49 +02:00
Tim Docker
9d783d3b35 refactor rp usb_serial example to use a task to run the usb 2024-05-12 21:43:01 +10:00
Dario Nieuwenhuis
4cade64ebd
Merge pull request #2929 from kalkyl/sdmmc
rp: Add embedded-sdmmc example
2024-05-11 16:59:47 +00:00
kalkyl
17d4f0173c spinlock + loop at end to allow defmt to flush properly 2024-05-11 16:09:20 +02:00
kalkyl
fd5412ffc5 rp: Add embedded-sdmmc example 2024-05-11 15:16:20 +02:00
Dario Nieuwenhuis
4b4777e6bb
Merge pull request #2922 from Mirror0/qspi-example
Example usage of QSPI
2024-05-10 07:34:57 +00:00