Commit Graph

6851 Commits

Author SHA1 Message Date
Valentin Trophime
283debfda4
fix: typo in netcat command for std example
The previous given command `nc -l 8000` doesn't let me see anything and lead to a "WARN connect error: ConnectionReset". By explicitly changing the `local-port` of `nc` with the `-p` I can now see the `Hello` message printed, and the warning log disappeared.
2024-01-29 11:36:03 +01:00
Ulf Lilleengen
702007f68b
Merge pull request #2485 from 0e4ef622/nrf-spi-bitorder
nrf/spi: add bit order config
2024-01-27 07:51:36 +00:00
Matthew Tran
6efb5fd284 nrf/spi: add bit order config 2024-01-26 22:38:03 -06:00
Dario Nieuwenhuis
c37e483b3b
Merge pull request #2484 from Murmele/main
use constant for the pwm clock
2024-01-26 23:40:02 +00:00
Martin Marmsoler
2809d3bd45 add is_enabled() function 2024-01-26 22:09:49 +01:00
Martin Marmsoler
c26e62e4f4 add documentation 2024-01-26 21:24:14 +01:00
Martin Marmsoler
dd2577fcf0 use constant for the pwm clock
Description: So it can be used outside of the crate to calculate max duty
2024-01-26 20:55:53 +01:00
Dario Nieuwenhuis
31fa0aebd8 executor: update remove portable-atomic comment.
Fixes #2481
2024-01-26 14:26:19 +01:00
Dario Nieuwenhuis
adb024bdbe usb-dfu: add docs metadata. 2024-01-26 14:23:51 +01:00
Dario Nieuwenhuis
73cfa8f8a9
Merge pull request #2482 from LechevSpace/docs/add-usb-dfu-to-docs-ci-build
docs(ci): add embassy-usb-dfu to the docs build
2024-01-26 13:08:02 +00:00
Lachezar Lechev
d4542f4436
docs(ci): add embassy-usb-dfu to the docs build 2024-01-26 12:36:28 +02:00
James Munns
e3595c61f3
Merge pull request #2480 from ssnover/minor-fix-getting-started-markdown
Fix the backticks on the getting started page
2024-01-26 06:33:24 +00:00
Shane Snover
3c159205a7 Fix the backticks on the getting started page 2024-01-25 22:30:42 -07:00
Dario Nieuwenhuis
fb22b46ebb
Merge pull request #2473 from embassy-rs/jamesmunns-patch-1
Update faq.adoc
2024-01-23 11:13:15 +00:00
James Munns
40e9fc36dc
Update faq.adoc
Don't suggest people disable debuginfo, and explain why
2024-01-23 12:06:28 +01:00
Dario Nieuwenhuis
c1ba008be4
Merge pull request #2471 from embassy-rs/remove-gpio-generics
gpio: remove generics.
2024-01-22 20:44:57 +00:00
Dario Nieuwenhuis
ee0ebe3121 rp/gpio: remove generics. 2024-01-22 21:32:10 +01:00
Dario Nieuwenhuis
2bc5e9523d nrf/gpio: remove generics. 2024-01-22 21:32:10 +01:00
Dario Nieuwenhuis
3387ee7238 stm32/gpio: remove generics. 2024-01-22 21:31:06 +01:00
Dario Nieuwenhuis
9f76dbb93b Remove nightly-only flags from cargo configs. 2024-01-22 21:31:06 +01:00
Dario Nieuwenhuis
20fd03a14f
Merge pull request #2468 from exoticorn/pio_i2s-example
add pio_i2s example for RP2040
2024-01-21 21:30:11 +00:00
Dennis Ranke
7931fcfb3d fix wrong formatting due to not using nightly rustfmt 2024-01-20 16:35:09 +01:00
Dennis Ranke
69d4b42841 add pio_i2s example for RP2040 2024-01-20 16:08:32 +01:00
Dario Nieuwenhuis
43b6258a69
Merge pull request #2416 from andresv/stm32-fix-buffered-uart-flush
stm32: fix buffered uart flush
2024-01-20 01:50:55 +00:00
Dario Nieuwenhuis
da3884ff68
Merge pull request #2282 from umgefahren/extend-cyw43-bss-info
feat: Extended the Scan API
2024-01-20 01:40:30 +00:00
Dario Nieuwenhuis
67159d80bb
Merge pull request #2429 from jr-oss/stm32_simple_pwm_add_set_output_compare_mode
stm32/simple_pwm: add set_output_compare_mode
2024-01-20 01:33:49 +00:00
Dario Nieuwenhuis
326bff322e
Merge pull request #2415 from hdoordt/patch-1
Make adc::Resolution::to_max_count const
2024-01-20 01:31:22 +00:00
Dario Nieuwenhuis
2fd391240d
Merge pull request #2466 from embassy-rs/fix-h7-tests
tests/stm32: fix h7 wrong smps config.
2024-01-20 01:18:51 +00:00
Dario Nieuwenhuis
7696b1c0b8 tests/stm32: fix h7 wrong smps config. 2024-01-20 01:52:21 +01:00
Dario Nieuwenhuis
777c018623
Merge pull request #2408 from eZioPan/petting-gh-linguist
mark json file inside .vscode folder as jsonc
2024-01-20 01:50:26 +01:00
Andres Vahter
ec2e3de0f4 stm32 uart: fix buffered flush for usart_v1, usart_v2
There is one caveat. For some reason with first send using usart_v1/usart_v2 TC flag appears right after first byte from buffer is written to DR. Consecutive transfers work as expected - TC flag appears when last byte is fully transferred to wire.
2024-01-20 00:15:40 +01:00
Andres Vahter
534c53c901 stm32 uart: remove unwrap
unwraps take more space because of panics
2024-01-20 00:15:40 +01:00
Andres Vahter
c936d66934 stm32 uart: fix flush for non usart_v4 variants
Byte was written to TDR and right after that waker was called. This means `flush` would see that `tx_buf` is empty and can return Ready although actually hardware was still writing this last byte to the wire.
With this change non `usart_v4 ` variants would also use TC interrupt to check when last byte was sent out.
2024-01-20 00:15:39 +01:00
Andres Vahter
17d6e4eefe stm32 uart: do not wake after sending each byte
usart_v4 uses TC interrupt to see if all bytes are sent out from the FIFO and waker is called from this interrupt. This minimises unnecessary wakeups during sending.
2024-01-20 00:15:39 +01:00
Andres Vahter
ec47e931ac stm32: fix buffered uart flush
usart_v4 uses internal FIFO and therefore actually all bytes are not yet sent out although state.tx_buf.is_empty()
2024-01-20 00:15:39 +01:00
Dario Nieuwenhuis
24968629ec cyw43: Unify dwell time. 2024-01-20 00:10:41 +01:00
umgefahren
6ca43030db feat: Extended the Scan API 2024-01-19 23:51:57 +01:00
Dario Nieuwenhuis
a2eb46e9e4
Merge pull request #2258 from ExplodingWaffle/patch-1
make usart::State private
2024-01-19 23:30:47 +01:00
Dario Nieuwenhuis
b0b59d87ca
Merge pull request #2375 from chrenderle/l5-rtc
ci: add low-power feature for stm32l5
2024-01-19 23:28:00 +01:00
Dario Nieuwenhuis
35f09374b5
Merge pull request #2273 from djdisodo/main
initial support for avr
2024-01-19 23:26:55 +01:00
Christian Enderle
ea0ca18194 ci.sh: add low-power feature for stm32l5 2024-01-19 23:22:41 +01:00
Harry Brooke
d781e231cd make usart::State private 2024-01-19 23:20:20 +01:00
Dario Nieuwenhuis
870da00647
Merge pull request #2463 from embassy-rs/enable-f446-hil
stm32/tests: enable f446 hil.
2024-01-19 21:53:16 +00:00
Dario Nieuwenhuis
ace3280b64 stm32/tests: enable f446 hil. 2024-01-19 18:59:04 +01:00
Dario Nieuwenhuis
871d82de71
Merge pull request #2462 from lu-zero/patch-1
Fix a typo
2024-01-19 18:43:12 +01:00
Luca Barbato
5270053248
Fix a typo 2024-01-19 18:31:14 +01:00
Dario Nieuwenhuis
5cf6d6fcba
Merge pull request #2461 from raymanfx/main
Add more fields to the BssInfo packet struct
2024-01-19 17:35:04 +01:00
Christopher N. Hesse
5e158757b9 Add more fields to the BssInfo packet struct
Taken from the Infineon WHD repository:
04ee318cc9/WiFi_Host_Driver/inc/whd_types.h (L814)

Signed-off-by: Christopher N. Hesse <raymanfx@gmail.com>
2024-01-19 17:31:12 +01:00
Dario Nieuwenhuis
1e16661e0a
Merge pull request #2311 from jamesmunns/james/read_to_break
Add a basic RP "read to break" function
2024-01-19 16:01:02 +01:00
James Munns
5e08bb8bc3 A rebase ate my doc comment! 2024-01-19 15:46:36 +01:00