Commit Graph

1780 Commits

Author SHA1 Message Date
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
Mateusz Butkiewicz
ee22e98fe1 feat(qspi): add example usage of QSPI 2024-05-10 07:58:30 +02:00
kalkyl
108bfae30d rustfmt 2024-05-09 11:14:09 +02:00
kalkyl
dc108ca31d rp: Add raw interrupt handler example 2024-05-09 11:04:31 +02:00
Priit Laes
e94d4e6416 examples: Use unique crate name for stm32h7rs examples
Current name clashes with "regular" stm32h7 thus generating cargo
warning.
2024-05-08 10:13:51 +03:00
Bruno Bousquet
969933cb7b fix fmt for ci 2024-05-06 02:52:22 -04:00
Bruno Bousquet
55c8d3f474 add async capture 2024-05-06 02:47:42 -04:00
Bruno Bousquet
7b04b0166b cleanup for PR 2024-05-05 23:05:06 -04:00
Bruno Bousquet
29d6fa0a4a add get_input_interrupt 2024-05-05 23:00:48 -04:00
Bruno Bousquet
431a60ca63 formatting 2024-05-05 22:30:16 -04:00
Bruno Bousquet
ad66dc3aab create input_capture 2024-05-05 21:58:54 -04:00