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
Pegasis
1c10339f47
format
2024-05-03 08:17:29 -04:00
Pegasis
3e87dae578
add example for bdma
2024-05-03 08:14:32 -04:00
Dario Nieuwenhuis
1b582c6830
Merge pull request #2894 from kalkyl/webusb-win
...
rp: WebUSB example - add Windows compatibility
2024-05-01 16:31:45 +02:00
Turbo Fredriksson
66ee0c44d3
Example and documentation on how to Calculate correct checksum.
...
+ Include the package format documentation.
+ Cycle through all three colours in three different speed.
- Remove the `write_cmd_bytes()`. Superfluous.
2024-05-01 12:08:13 +01:00
Turbo Fredriksson
61d0c068ff
Finish the read part.
...
* Don't need separate task for this.
* **Must** read one byte at a time, then merge them into one Vec.
* To better demonstrate, cycle through the three colours Red, Blue,
Purple.
2024-05-01 12:08:13 +01:00
Turbo Fredriksson
c24805b83d
Added PIO UART examples for rp to talk to an R503 fingerprint scanner.
2024-05-01 12:08:13 +01:00
Dario Nieuwenhuis
fb67fe0a6c
stm32: add support for STM32H7[RS] "bootflash line", add HIL tests.
2024-05-01 02:24:45 +02:00
kalkyl
7896e8aba7
rp: WebUSB example - add Windows compatibility
2024-04-30 09:59:06 +02:00
Dario Nieuwenhuis
e6d90b18c0
Merge pull request #2889 from embassy-rs/update-metapac-42
...
stm32: update metapac. Adds U5 LPDMA, fixes ADC_COMMONs.
2024-04-29 22:02:37 +00:00
pkoevesdi
56b4d39df9
Update wdt.rs: reverted change, probably unneccesary here
2024-04-29 22:45:02 +02:00
pkoevesdi
a2ea307114
Update wdt.rs: reverted changes, probably unneccesary
2024-04-29 22:42:46 +02:00
pkoevesdi
5df703cf4b
Update wdt.rs: added missing type
2024-04-29 22:38:58 +02:00
Peter Kövesdi
b6f9dbfb5b
fixed: example loops crashing after 256 passes
2024-04-29 22:31:16 +02:00
Dario Nieuwenhuis
6f44d7a9df
stm32: update metapac. Adds U5 LPDMA, fixes ADC_COMMONs.
2024-04-29 20:52:27 +02:00
Dario Nieuwenhuis
08314b0940
Merge pull request #2862 from AtoVproject/feature/web-usb-class
...
WebUSB implementation
2024-04-28 21:24:21 +02:00
Chris Maniewski
095af92791
feature: WebUSB capability implementation
...
This adds the WebUSB implementation as per
https://wicg.github.io/webusb/ , using one in-endpoint and one
out-endpoint as well as an example for the RP2040 to illustrate this
capability.
2024-04-27 23:14:16 +02:00
eZio Pan
d9e59e8e42
low power for h5
2024-04-28 00:33:02 +08:00
Dario Nieuwenhuis
5732ee7ca9
Reduce use of the full futures
crate.
2024-04-26 23:22:25 +02:00
Dario Nieuwenhuis
597315873d
Remove leftover cargo new
boilerplate.
2024-04-26 22:59:50 +02:00
Dario Nieuwenhuis
5b0735688d
Merge pull request #2846 from BjornTheProgrammer/main
...
Added PIO pwm examples for rp
2024-04-26 20:24:30 +00:00
Dario Nieuwenhuis
7bc92584e1
Merge pull request #2858 from jamesmunns/james/embassy-usb-0_2
...
embassy-usb: Update version and add changelog
2024-04-26 20:22:46 +00:00
James Munns
0d0d8e14e2
Update dependent versions
2024-04-23 19:48:16 +02:00
Dario Nieuwenhuis
4d4cbc0dd3
Merge pull request #2812 from borisfaure/mut-hid-request-handler
...
usb::hid::RequestHandler::set_report(&mut self, ...)
2024-04-23 17:42:56 +00:00
Dario Nieuwenhuis
1de44e7086
Merge pull request #2840 from MaxiluxSystems/feature/fdcan-runtime-cfg
...
stm32: can: fd: Properties for common runtime get/set operations
2024-04-23 13:46:09 +00:00
Torin Cooper-Bennun
846abfae2b
examples: stm32: can: fix build
2024-04-22 13:31:01 +01:00
Joël Schulz-Ansres
01b36a4434
rustfmt usb examples
2024-04-22 01:06:59 +02:00
Joël Schulz-Ansres
896d0e7cd8
Add comment on vbus_detection to all USB examples
2024-04-22 00:52:37 +02:00
Bjorn
d2ba751c06
Changed attach to new
2024-04-21 10:00:57 -07:00
Bjorn
7658966486
Merge branch 'main' of https://github.com/embassy-rs/embassy
2024-04-20 22:12:28 -07:00
Bjorn
0a2d58ec5b
Added PIO pwm examples for rp
...
Two additionally `rp` examples, `pio_pwm.rs`, which is a baremetal example of how to do pwm with pio, and `pio_servo.rs`, which is a more extended example of pwm and pio with servos.
2024-04-20 22:12:24 -07:00
Dario Nieuwenhuis
bab4affe7c
Merge pull request #2813 from diondokter/u0-dion
...
More U0 support
2024-04-16 18:45:09 +00:00
Dario Nieuwenhuis
bd13b5c060
More probe-run -> probe-rs run.
2024-04-16 17:07:13 +02:00
James Munns
4202dac8a6
L4 Example: probe-run to probe-rs
...
Reverts some change made in https://github.com/embassy-rs/embassy/pull/1792
2024-04-16 17:03:44 +02:00
Dion Dokter
90f1d29c24
Fix rng clock
2024-04-16 16:36:10 +02:00
Dion Dokter
a5f754238b
Add spi, i2c and fix usart
2024-04-16 15:33:23 +02:00
Dion Dokter
53cb84d3d6
Added RTC example
2024-04-16 15:24:20 +02:00
Dion Dokter
c8c7c718f3
Merge branch 'master' into u0-dion
2024-04-16 13:48:18 +02:00
Dario Nieuwenhuis
d6b1233f16
stm32/usart: remove DMA generic params.
2024-04-16 02:00:55 +02:00
Dario Nieuwenhuis
6d122c274f
Merge pull request #2792 from wagcampbell/wgc/u5-flash-non-secure
...
Support non-secure flash operations on STM32U5
2024-04-15 22:28:34 +00:00
Warren Campbell
c5119c6318
Add support for using secure registers
2024-04-15 18:02:29 -04:00
Dario Nieuwenhuis
913bb19a34
stm32/i2c: remove DMA generic params.
2024-04-15 23:40:12 +02:00
Dario Nieuwenhuis
be087e5d43
stm32/spi: remove DMA generic params.
2024-04-15 21:23:49 +02:00
Boris Faure
ae4fb433ae
usb-hid: all the RequestHandler method accept &mut self
2024-04-15 19:57:18 +02:00
Boris Faure
9341ef3b47
examples: request_handler is mutable
2024-04-15 19:57:18 +02:00
Dario Nieuwenhuis
65c085ce91
Add stm32u0 support.
2024-04-14 22:29:07 +02:00
Dario Nieuwenhuis
4079a8acf8
stm32/adc: update g4 for new pac.
2024-04-14 22:06:41 +02:00
Dion Dokter
e224e6cef4
Add CRC
2024-04-14 01:10:20 +02:00
Dion Dokter
ca84be80bc
Add wdt and flash
2024-04-14 00:45:53 +02:00
Dion Dokter
0a785585bc
Remove temp variable
2024-04-14 00:08:06 +02:00
Dion Dokter
b659e3d529
Add ADC
2024-04-14 00:04:13 +02:00
Dion Dokter
5f23e39052
Add some examples.
...
- usart works
- dac works
- rng gets stuck on while loop
- usb_serial works, but cannot test due to lack of user usb port
- adc needs work and does not work yet
2024-04-13 18:40:46 +02:00
Dion Dokter
af03e1653a
Disable the speed limitation
2024-04-13 14:07:01 +02:00
Dario Nieuwenhuis
ec6ff217ca
Add stm32u0 support.
2024-04-13 03:57:21 +02:00
Dario Nieuwenhuis
52bd24499c
stm32/adc: update g4 for new pac.
2024-04-13 03:34:28 +02:00
Vega Deftwing
9053b6b5b3
Fix spelling and white space mistakes
2024-04-11 19:45:38 +00:00
Gustav Toft
fc260fbb01
Merge branch 'main' of https://github.com/embassy-rs/embassy
2024-04-11 09:07:38 +02:00
Gustav Toft
4ffe35c840
Merge branch 'main' of https://github.com/embassy-rs/embassy
2024-04-10 13:26:59 +02:00
Andres Vahter
fd901fc7e0
stm32: update adc examples
2024-04-10 10:57:52 +03:00
Barnaby Walters
effc08dde3
Incorporated adam’s suggestion into all multiprio comments
2024-04-07 16:22:42 +02:00
Barnaby Walters
56d34eefaa
Apply suggestions from code review
...
Co-authored-by: becothas <41289937+becothas@users.noreply.github.com>
2024-04-07 15:33:51 +02:00
Barnaby Walters
cf0097162c
[embassy-stm32] added comments explaining multiprio interrupts
2024-04-07 15:19:56 +02:00
Barnaby Walters
99ea564f1c
Add VBUS detection blackpill comment
2024-04-05 22:11:01 +02:00
pawel00100
143b288333
Add parameter for enabling pull-up and pull-down in RP PWM input mode
2024-04-05 01:20:34 +02:00
Dario Nieuwenhuis
a84b33995e
rp: remove mod sealed.
2024-04-05 00:48:46 +02:00
Dario Nieuwenhuis
6c35a1769d
Merge pull request #2697 from eZioPan/stm32-cordic
...
stm32 CORDIC driver
2024-04-04 21:32:27 +00:00
Gustav Toft
a373633d0d
Merge branch 'main' of https://github.com/GustavToft/embassy
2024-04-04 15:52:44 +02:00
Gustav Toft
0427c442ea
Implement raw sockets in embassy-net
2024-04-04 15:51:25 +02:00
Dario Nieuwenhuis
067e422863
Merge pull request #2746 from msrd0/multiprio-example-stm32h7
...
Add multiprio example for stm32h7 inspired by stm32f4
2024-04-04 12:55:03 +00:00
Dominic
8fbd21d216
Add multiprio example for stm32h7 inspired by stm32f4
2024-04-04 13:22:52 +02:00
Alexandru RADOVICI
aa9eb2ab01
rename PWM_CH to PWM_SLICE
2024-04-02 17:20:35 +03:00
Dario Nieuwenhuis
c8936edb6c
stm32/can: simplify bxcan api, merging bx::* into the main structs.
...
The bx::* separate structs (Can, Rx, Tx) and separate `Instance` trait
are a relic from the `bxcan` crate. Remove them, move the functionality
into the main structs.
2024-04-02 11:08:03 +02:00