Commit Graph

1812 Commits

Author SHA1 Message Date
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