skkeye
74c1fd64d2
embassy-net: add ICMP sockets and a ping utility
2025-02-13 10:27:30 +01:00
Ulf Lilleengen
f54ba5a48e
docs: fix esp wording and mention trouble
...
Fixes #3831
2025-02-13 09:38:09 +01:00
Shaw Drastin
1c1aea62d0
stm32: i2c-v2: Add error handling
...
Currently when error occurres, we have to wait for timeout, which is
less than ideal. Enable related interrupts, and return Err when error
occurres.
2025-02-12 21:16:18 +08:00
Dario Nieuwenhuis
712143b81f
Merge pull request #3877 from Abestanis/feature/watchdog_reason
...
Expose the watchdog reset reason
2025-02-12 13:38:07 +01:00
Sebastian Scholz
787606b991
Expose the watchdog reset reason
2025-02-12 13:22:43 +01:00
Dario Nieuwenhuis
05bbb99603
Merge pull request #3870 from kkrolczyk/kk/mostly-docu-changes-and-examples-fix
...
dfu documentation update, fix a couple issues
2025-02-11 12:22:24 +01:00
Dario Nieuwenhuis
76fb3a54f3
Merge pull request #3869 from owenbrooks/docs_typos
...
Fix small typos in docs
2025-02-11 12:19:32 +01:00
Krzysztof Królczyk
01b7ff8ff0
fix: layer-by-layer examples
...
closes : #3794 #3793
Remove 'blinky-irq' from workspace.
During linking from workspace level - embassy-stm32 and example code redefine EXTI15_10 symbol
Building it separately, outside of workspace works
Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2025-02-11 10:08:47 +01:00
Krzysztof Królczyk
e173db1151
doc: add docu strings for dfu
...
Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2025-02-11 10:08:47 +01:00
Krzysztof Królczyk
4b809af905
fix : #3760 - typo in docs
...
Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2025-02-11 10:08:47 +01:00
Owen Brooks
74c42fd9d0
Fix typos in docs
2025-02-11 19:58:34 +11:00
Dario Nieuwenhuis
f09277b2a3
Merge pull request #3858 from elagil/ucpd_logic_fix
...
Fix UCPD drop logic
2025-02-10 19:00:46 +01:00
Dario Nieuwenhuis
c291e9258e
Merge pull request #3866 from MaximeB5/main
...
STM32 - Update Cargo.toml : replace STM32WBA52CGU by STM32WBA55CG
2025-02-10 18:42:57 +01:00
Max
e5d0d40829
Update Cargo.toml : replace STM32WBA52CGU by STM32WBA55CG
...
Following PR https://github.com/embassy-rs/embassy/pull/3852 , I forgot to update the dependency.
The WBA55 Nucleo board officially replaces the WBA52.
Even if WBA52 SoC is still part of the ST CubeFW, the SW connectivity projects for WBA52 are no longer delivered.
WBA55 Nucleo board is now the reference entry board.
2025-02-10 08:14:15 +01:00
Dario Nieuwenhuis
bcebe4c4d5
Merge pull request #3861 from Flamenco/patch-1
...
Update documentation
2025-02-08 22:42:52 +01:00
Dario Nieuwenhuis
080942c6a5
Merge pull request #3860 from bugadani/docs
...
Document std/wasm in embassy-time
2025-02-08 22:42:32 +01:00
Flamenco
b9508bf2cb
Update documentation
...
Update comment to specify the correct rp chip identifier
2025-02-08 14:28:36 -05:00
Dániel Buga
bb6e6fe30b
Document std/wasm in embassy-time
2025-02-08 19:06:37 +01:00
elagil
38799c63fd
fix: UCPD drop logic
...
Read rxpaysz immediately
2025-02-07 23:31:02 +01:00
Dario Nieuwenhuis
3b734a7d08
Merge pull request #3857 from swork/swork-add-pio-functions
...
Add PIO functions.
2025-02-07 20:28:07 +01:00
Steve Work
3b74732f40
Rename readers with get_, per CBJamo review. Tweak use_program docstring.
...
The tweak arranges that "grep sideset" finds use_program() when grokking source - this spelling is used
elsewhere, as in PinConfig for example, and I managed to miss use_program.
2025-02-07 09:26:34 -08:00
Dario Nieuwenhuis
f2a6014cd3
Merge pull request #3844 from showier-drastic/main
...
SpiDevice cancel safety: always set CS pin to high on drop
2025-02-07 13:54:14 +01:00
Shaw Drastin
dc2ce92e32
Add proper error handling if CS is not dropped
2025-02-07 10:39:08 +08:00
Steve Work
9acbfc9c22
Add PIO functions.
...
Add some (I think) needed functions:
ConfigPins::set_sideset_pins (the other pin types are covered, why not this one?)
Several runtime StateMachine manipulations:
- addr()
- tx_threshold()
- set_tx_threshold
- rx_threshold()
- set_rx_threshold()
- set_thresholds() - both at once, same value
2025-02-06 17:46:04 -08:00
Dario Nieuwenhuis
4e69e5b3c7
rp: add changelog for embassy-rp v0.3.1.
2025-02-06 00:10:50 +01:00
Dario Nieuwenhuis
5c00d4b0b6
Merge pull request #3853 from embassy-rs/rp-remove-workaround
...
examples/rp: remove unneeded sio spinlock stuck bug workarounds.
2025-02-05 23:05:26 +00:00
Dario Nieuwenhuis
66c5fe0a75
examples/rp: remove unneeded sio spinlock stuck bug workarounds.
...
This is now workarounded by embassy-rp itself.
2025-02-06 00:02:52 +01:00
Dario Nieuwenhuis
0fe288879b
Merge pull request #3852 from MaximeB5/patch-1
...
Replace STM32WBA52CGUxT by STM32WBA55CGUx
2025-02-05 20:45:26 +00:00
Max
401aa725ed
Replace STM32WBA52CGUxT by STM32WBA55CGUx because the WBA55 Nucleo board officially replaces the WBA52
2025-02-05 16:04:59 +01:00
Dario Nieuwenhuis
556cc57c1f
Merge pull request #3851 from embassy-rs/rp23-atomics-fix
...
rp235x: fix atomics, fix SIO spinlock stuck bug, fix missing core1 reset.
2025-02-05 00:06:41 +00:00
Dario Nieuwenhuis
9da04cc38e
rp: make atomics work properly between cores in rp235x.
2025-02-05 00:57:43 +01:00
Dario Nieuwenhuis
bb2d9ec7f8
rp: Workaround "SIO spinlock stuck bug", reset PROC1 at boot.
...
Just like RP2040. The bug was "working as intended" on rp2040, so it is on rp235x.
2025-02-05 00:57:15 +01:00
Dario Nieuwenhuis
fdb9795d6a
Merge pull request #3763 from robot-rover/fix_rp2040_time_driver
...
rp: Fix time driver hang
2025-02-04 23:56:43 +00:00
Dario Nieuwenhuis
f663f3b675
Merge pull request #3850 from vic1707/patch-1
...
Disable clippy error around generated main function
2025-02-04 23:55:39 +00:00
Victor LEFEBVRE
26c6ab7587
Update main.rs
2025-02-05 00:16:10 +01:00
James Munns
a2014c961d
Merge pull request #3848 from wackazong/patch-5
...
Add must_use to MutexGuard
2025-02-04 16:18:08 +00:00
wackazong
0f04878301
Add must_use to MutexGuard
2025-02-04 17:12:26 +01:00
Dario Nieuwenhuis
d3059bbcf7
Merge pull request #3845 from vinsynth/main
...
update examples/stm32f4/.../i2s_dma.rs
2025-02-04 13:10:24 +00:00
Ulf Lilleengen
e0eefbb81f
Merge pull request #3846 from wackazong/patch-4
...
Add saturating_add and saturating_sub to Instant
2025-02-04 11:40:57 +00:00
wackazong
865266a4ae
Take self instead of &mut self
...
This is more idiomatic since methods with these names usually take self and not &mut self.
2025-02-04 11:09:52 +01:00
wackazong
b7fbf6d519
Add saturating_add and saturating_sub to Instant
2025-02-04 11:03:17 +01:00
vinsynth
b0e3a6481b
document clock settings in examples/stm32f4/.../i2s_dma.rs
2025-02-03 22:52:38 -05:00
vinsynth
b5a6353714
update examples/stm32f4/.../i2s_dma.rs
2025-02-03 22:40:42 -05:00
Shaw Drastin
188828775e
SpiDevice cancel safety: always set CS pin to high on drop
...
If a transfer is dropped, the CS will stay in a low state, which
seems to be unsafe.
2025-02-04 10:55:47 +08:00
Dario Nieuwenhuis
2c8a550410
Merge pull request #3842 from jamessizeland/improve-spawn-busy-error
...
improve SpawnError::Busy message
2025-02-03 23:34:53 +00:00
James Sizeland
c1671572b4
improve SpawnError::Busy message
2025-02-03 23:08:55 +00:00
Dario Nieuwenhuis
f03dca3f96
Merge pull request #3841 from vDorst/fix-core-intrinsics-deprecated
...
embassy-usb: fix `core::intrinsics` deprecate warning in nightly.
2025-02-03 21:24:51 +00:00
René van Dorst
d363401ba5
embassy-usb: fix core::intrinsics
deprecate warning in nightly.
...
Replaced `core::intrinsics::copy_nonoverlapping` with the
`core::ptr::copy_nonoverlapping`.
Compiling embassy-usb v0.4.0 (embassy/embassy-usb)
warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
--> embassy/embassy-usb/src/class/cdc_ncm/mod.rs:17:23
|
17 | use core::intrinsics::copy_nonoverlapping;
| ^^^^^^^^^^^^^^^^^^^
2025-02-03 22:08:23 +01:00
Dario Nieuwenhuis
113383b8b1
Merge pull request #3840 from bugadani/inline
...
Allow inlining on time driver boundary
2025-02-03 16:42:38 +00:00
Dániel Buga
37b180c61e
Allow inlining on time driver boundary
2025-02-03 17:20:35 +01:00