Commit Graph

7459 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
4aa4ea99c2 use private_bounds for sealed traits. 2024-03-23 01:45:19 +01:00
Dario Nieuwenhuis
cb1e4e684e
Merge pull request #2729 from adamgreig/usb-no-dd-buf
usb: remove device_descriptor buffer, store bytes in UsbDevice.inner instead
2024-03-23 00:39:04 +00:00
Adam Greig
7cf6490fba
usb: remove device_descriptor buffer, store bytes in UsbDevice.inner instead 2024-03-23 00:35:15 +00:00
Dario Nieuwenhuis
c2aa95016a
Merge pull request #2727 from de-vri-es/forward-std-feature-to-critical-section
Forward the "std" feature to the critical-section crate in embassy-sync.
2024-03-22 11:34:45 +00:00
Maarten de Vries
a85e9c6e68 Forward the "std" feature to the critical-section crate in embassy-sync.
Otherwise, using embassy-sync in unit tests will result in linker errors
when using the CriticalSectionRawMutex.
2024-03-22 12:29:01 +01:00
Ulf Lilleengen
3668ace35c
Merge pull request #2651 from peterkrull/once_lock
Add `OnceLock` sync primitive
2024-03-22 08:40:27 +00:00
Dario Nieuwenhuis
7cf5cf4580
Merge pull request #2725 from DeepSOIC/regout0
nRF52840/config: add dcdc voltage parameter
2024-03-21 23:01:45 +00:00
DeepSOIC
10597e3b4d nRF52840/config: add dcdc voltage parameter
address #2700
2024-03-21 23:56:35 +01:00
Dario Nieuwenhuis
ee1aa80e30
Merge pull request #2724 from embassy-rs/update-rust
Update stable Rust to 1.77
2024-03-21 14:27:36 +00:00
Dario Nieuwenhuis
3ae19bb8f9 Update stable Rust to 1.77 2024-03-21 15:15:51 +01:00
Ulf Lilleengen
29d388042c
Merge pull request #2722 from jr-oss/stm32_buffered_uart_wake_receive_task_on_time
STM32 BufferedUart: wake receive task for each received byte
2024-03-21 07:52:18 +00:00
Ralf
08e2ba9d74 STM32 BufferedUart: wake receive task for each received byte
Fixes https://github.com/embassy-rs/embassy/issues/2719
2024-03-21 08:35:41 +01:00
Dario Nieuwenhuis
562152c43c
Merge pull request #2721 from flelchuk/main
usb-logger: avoid data loss at pipe wraparound
2024-03-20 20:24:34 +00:00
Felix Lelchuk
53ed4b8b2e usb-logger: avoid data loss at pipe wraparound 2024-03-20 21:15:22 +01:00
Dario Nieuwenhuis
c3dedfe3dc
Merge pull request #2720 from vDorst/stm32_psc_fix
stm32: Fix psc compile error with current stm32-data
2024-03-20 19:49:35 +00:00
René van Dorst
92fa49f502 Also fix time_driver.rs 2024-03-20 20:42:03 +01:00
René van Dorst
ab7c767c46 Bump stm32-data to latest tag. 2024-03-20 20:31:02 +01:00
René van Dorst
fb9d42684b stm32: Fix psc compile error with current stm32-data
Commit cc525f1b25 has changed the definition of the `psc` register.
Update timer/mod.rs to reflect the stm32-data change.
2024-03-20 19:59:17 +01:00
Dario Nieuwenhuis
3845288ffb
Merge pull request #2718 from embassy-rs/update-nightly44
Update nightly Rust.
2024-03-20 15:54:55 +00:00
Dario Nieuwenhuis
e5b9b5b3e9 Update Nightly in CI. 2024-03-20 16:39:09 +01:00
Dario Nieuwenhuis
eca9aac194 Fix warnings in recent nightly. 2024-03-20 16:39:09 +01:00
Dario Nieuwenhuis
6eb539a6a1
Merge pull request #2574 from GrantM11235/atpit
Use ATPIT for task macro
2024-03-20 15:12:31 +00:00
Dario Nieuwenhuis
3d842dac85 fmt: disable "unused" warnings. 2024-03-20 14:53:19 +01:00
Dario Nieuwenhuis
7c2aae88da
Merge pull request #2717 from AlejandroFNadal/patch-1
Add comment warning for new users about changing pins on Ethernet for different devices + example of change
2024-03-20 13:27:04 +00:00
AlejandroFNadal
2587ade63e Rust formatting for comments. 2024-03-20 14:11:04 +01:00
Alejandro Nadal
47ebec82b8
Add comment warning for new users about changing pins on Ethernet for different devices
Not all STM32H7 devices share the pins of the example. Added a warning and a specific example for STM32H747XIH
2024-03-20 13:56:15 +01:00
Dario Nieuwenhuis
23740abdca
Merge pull request #2716 from embassy-rs/stm32-opendrain-eh02-input
stm32/gpio: add missing eh02 InputPin for OutputOpenDrain.
2024-03-20 12:55:52 +00:00
Dario Nieuwenhuis
a2fd4d751e stm32/gpio: add missing eh02 InputPin for OutputOpenDrain. 2024-03-20 13:49:19 +01:00
Dario Nieuwenhuis
56e01d969f
Merge pull request #2713 from sgoll/i2c-blocking-transaction
stm32/i2c(v1): Implement blocking transactions
2024-03-20 12:40:13 +00:00
Dario Nieuwenhuis
5477d57168
Merge pull request #2714 from noahbliss/patch-1
Doc update: signaled does not clear signal
2024-03-20 12:30:36 +00:00
Dario Nieuwenhuis
b8731ab31f
Merge pull request #2712 from sgoll/i2c-dev-transaction
Forward transaction() from blocking I2cDevice to underlying bus
2024-03-20 12:30:20 +00:00
Sebastian Goll
cff665f2ec Avoid unnecessary double-reference 2024-03-20 13:08:42 +01:00
Noah Bliss
d06dbf332b
Doc update: signaled does not clear signal
signaled does not clear signal (doc update)
2024-03-20 03:19:01 +00:00
Sebastian Goll
4eb4108952 Fix build for I2C v2 targets 2024-03-20 03:33:15 +01:00
Sebastian Goll
8f19a2b537 Avoid missing stop condition when write/read with empty read buffer 2024-03-20 02:59:30 +01:00
Sebastian Goll
c96062fbcd Implement blocking transaction handling for I2C v1 2024-03-20 02:59:30 +01:00
Sebastian Goll
7c08616c02 Introduce frame options to control start/stop conditions 2024-03-20 02:55:49 +01:00
Sebastian Goll
d65724207d Forward transaction() from blocking I2cDevice to underlying bus 2024-03-20 01:12:04 +01:00
Dario Nieuwenhuis
7bf4710f3f
Merge pull request #2711 from embassy-rs/stm32-usb-clock-check
stm32/usb: assert correct clock on init, set mux in all examples.
2024-03-19 21:18:31 +00:00
Dario Nieuwenhuis
4858a53a39 stm32/usb: ensure mux is configured in examples. 2024-03-19 22:10:59 +01:00
Dario Nieuwenhuis
d90abb8ac9 stm32/usb: assert usb clock is okay. 2024-03-19 22:10:59 +01:00
Dario Nieuwenhuis
daa64bd540 stm32/usb: extract common init code. 2024-03-19 22:10:59 +01:00
Dario Nieuwenhuis
530ff9d4d3 stm32/usb: merge usb and usb_otg into single module. 2024-03-19 22:07:16 +01:00
Dario Nieuwenhuis
594d330a49
Merge pull request #2710 from adamgreig/stm32-sai
STM32: SAI: Fix MCKDIV for SAI v3/v4
2024-03-19 21:38:54 +01:00
Adam Greig
5a879b3ed1
STM32: SAI: Fix MCKDIV for SAI v3/v4 2024-03-19 02:17:50 +00:00
Dario Nieuwenhuis
ea25112f7d
Merge pull request #2706 from barafael/patch-3
Fix minor typos in embassy_rp/src/lib.rs
2024-03-18 22:05:16 +00:00
Rafael Bachmann
5221965a1f
Fix minor typos in embassy_rp/src/lib.rs 2024-03-18 23:02:46 +01:00
Dario Nieuwenhuis
6d9f87356b
Merge pull request #2677 from ExplodingWaffle/peri-clock
stm32/rcc: wait for peripheral clock to be active. also, hold the peripheral reset while enabling the clock.
2024-03-18 16:23:28 +00:00
Harry Brooke
1f9ffbfb18 remove peripheral reads 2024-03-18 00:05:02 +00:00
Dario Nieuwenhuis
bd4cb82945
Merge pull request #2703 from cschuhen/feature/support_second_h7CAN
FDCAN: Fix offset issue preventing CAN2 and CAN3 from working.
2024-03-16 19:05:29 +00:00