Commit graph

6911 commits

Author SHA1 Message Date
Ulf Lilleengen
43553381cd lower arena for nrf51 2024-01-25 21:51:23 +01:00
Ulf Lilleengen
b16eca3f21 adjust memory settings for lower end variant 2024-01-25 21:50:03 +01:00
Ulf Lilleengen
f117213b6e fix: use nrf51-dk chip variant 2024-01-25 21:47:49 +01:00
Ulf Lilleengen
309dda057d add nrf51 builds to ci 2024-01-25 14:39:09 +01:00
Ulf Lilleengen
d19c67023d fix: teleprobe target 2024-01-25 14:36:51 +01:00
Ulf Lilleengen
7e6bc64331 fix: add missing hil test project 2024-01-25 14:23:57 +01:00
Ulf Lilleengen
9418f0f9e5 add HIL test to CI 2024-01-25 14:05:48 +01:00
Ulf Lilleengen
1263d28595 nightly fmt 2024-01-25 08:39:25 +01:00
Ulf Lilleengen
3739cc0699 fix warnings 2024-01-25 08:38:28 +01:00
Ulf Lilleengen
1989c229f9 fix: make inner state send as it's protected critical section 2024-01-25 08:38:01 +01:00
Ulf Lilleengen
db0f4a0b91 cleanup 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
85d7779668 rename nrf52 HIL test 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
7d961a7f44 cargo fmt 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
3ac52b2c48 remove portable-atomic dependency 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
00d66cce1d modify time driver to not require portable-atomic 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
6126183db8 fix: remove portable-atomic from rng 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
25f82538ae fix doc comment 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
53ea850d28 rustfmt again 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
2a810a1a6a rustfmt 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
4410aacafb feat: add basic support for nRF51 chips to embassy-nrf 2024-01-24 21:23:54 +01: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