Commit graph

6992 commits

Author SHA1 Message Date
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
James Munns
1ce96f79fb Fun Learning about the RP2040 UART impl! 2024-01-19 14:02:17 +01:00
James Munns
94290981c3 Debugging RSR 2024-01-19 14:02:17 +01:00
James Munns
fe172109be A little more cleanup 2024-01-19 14:02:17 +01:00
James Munns
24fc12667d Update with more docs and less panics 2024-01-19 14:02:17 +01:00
James Munns
9fd49fb9d6 Add a basic "read to break" function 2024-01-19 14:02:17 +01:00
Dario Nieuwenhuis
686069b4c9
Merge pull request #2459 from embassy-rs/revert-2457-james/pin-dep
Revert "stm32-wpan: Pin dep to work around regression"
2024-01-17 17:57:38 +01:00
James Munns
c1760a8a07
Revert "stm32-wpan: Pin dep to work around regression" 2024-01-17 17:51:44 +01:00
Dario Nieuwenhuis
7cd25af379
Merge pull request #2457 from embassy-rs/james/pin-dep
stm32-wpan: Pin dep to work around regression
2024-01-17 16:16:40 +01:00
James Munns
3c2a954d1b Pin dep to work around regression 2024-01-17 16:09:59 +01:00
Dario Nieuwenhuis
01ac4ee431
Merge pull request #2455 from AdinAck/faq-update-2
Add Errors to Stable Arena Usage in FAQ
2024-01-17 15:58:54 +01:00
Adin Ackerman
b825f76c28 add extra info to stable arena usage 2024-01-16 20:00:39 -08:00
Dario Nieuwenhuis
9cd0beaee3
Merge pull request #2450 from shufps/feat/timer-driver-tim22-tim23
adds timer-driver for tim21 and tim22 (on L0)
2024-01-15 12:01:22 +01:00
shufps
e969b88e5a fixed trailing white spaces 2024-01-15 11:23:41 +01:00
shufps
2b64913664 fixed tim21 2024-01-15 08:11:35 +01:00