10772 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
bb68f55931
Merge pull request #4183 from IvanLi-CN/feat/stm32-dac-new-unbuffered
feat(stm32): Add DAC::new_unbuffered method.
2025-07-24 22:05:01 +00:00
Knaifhogg
9863406346 fix: stm32 i2c slave blocking r/w
This fixes an issue where the slave interface would time out when the
master goes from a short write to a read (e.g. when accessing memory
registers) with a START signal between. The previous implementation
would expect the full buffer length to be written before starting to
listen to new commands.

This also adds debug trace printing which helped during implemention and
testing.

Places error checking into a function inspired from a C implementation
of HAL.
2025-07-24 23:56:49 +02:00
Dario Nieuwenhuis
5b8340bdc4
Merge pull request #4296 from adamNewell/fix-rp2350-stack-guard-rlar
Embassy RP: RP235x Fix MPU region enablement in stack guard installation
2025-07-24 21:53:32 +00:00
Dario Nieuwenhuis
7d657ac16b
Merge pull request #4302 from Jacke-debug/get_max_duty_off_by_one
Get max duty off by one for Center-aligned mode
2025-07-24 21:53:10 +00:00
Dario Nieuwenhuis
1baf918319
Merge pull request #4303 from Jacke-debug/autoreload_preload
Enable autoreload_preload for Complementary PWM
2025-07-24 21:52:55 +00:00
Dario Nieuwenhuis
4e9d38fef0
Merge pull request #4305 from annie444/main
Add helper methods for the low-power interrupt timer.
2025-07-24 21:52:36 +00:00
Dario Nieuwenhuis
915513753a Add dedup to book job. 2025-07-24 23:30:36 +02:00
Dario Nieuwenhuis
b49d809346 Add dedup to doc job. 2025-07-24 23:29:54 +02:00
Dario Nieuwenhuis
ff29d61b31
Merge pull request #4313 from snakehand/main
U5: Enable MSI auto calibration and compute frequencies
2025-07-24 21:23:02 +00:00
Frank Stevenson
0d1e34d0fc Minor cleanup 2025-07-24 21:17:30 +02:00
Rick Rogers
e4cb80be7c
add pll divs/t for h7rs 2025-07-24 15:12:12 -04:00
Dario Nieuwenhuis
3bb94469f4
Merge pull request #4447 from clubby789/gatt-mm
stm32/wb: Add memory manager to GATT example
2025-07-24 18:00:48 +00:00
Dario Nieuwenhuis
ef75006812
Merge pull request #4453 from ROMemories/feat/blocking-async-use-10-embedded-hal
feat(embedded-hal)!: rely on v1.0 traits for `BlockingAsync`
2025-07-24 18:00:28 +00:00
Frank Stevenson
aa243e4d3e Improved error checks, and some cleanup 2025-07-24 18:08:29 +02:00
Frank Stevenson
3394f3ab9d Panic on improper auto-calibration configurations 2025-07-24 13:51:35 +02:00
Frank Stevenson
fd3cdfcf25 Introduce configration options for Pll fast modes.
Ensure that the auto calibration is applied to an active clock.
2025-07-24 13:26:10 +02:00
ROMemories
00824a900c feat(embedded-hal)!: rely on v1.0 traits for I2c on BlockingAsync 2025-07-24 09:33:43 +02:00
ROMemories
f819b0d63c feat(embedded-hal)!: rely on v1.0 traits for SpiBus on BlockingAsync 2025-07-24 09:26:19 +02:00
Gerzain Mata
c5565ccc28 Working USB. Still no enumeration 2025-07-23 15:05:04 -07:00
Brezak
54d9a7fed3
embassy-executor: add macro ui test for unsafe ops in unsafe tasks
Check if the #[task] macro properly handles unsafe functions so the `unsafe_op_in_unsafe_fn` lint still works
2025-07-23 21:19:30 +02:00
Brezak
539ff78ebb
embassy-executor: explicitly return impl Future in task inner task 2025-07-23 20:55:42 +02:00
Brezak
1b42e62424
embassy-executor: explicitly return impl Future in task inner task 2025-07-23 19:33:51 +02:00
Brezak
a52965dc5d
embassy-executor: unsafe tasks as unsafe 2025-07-23 19:19:02 +02:00
Gerzain Mata
b4dc4e567c Cargo fmt 2025-07-23 09:50:18 -07:00
Gerzain Mata
d7625de4f5 Merge branch 'main' into feat/stm32wba-usb-example 2025-07-23 09:48:59 -07:00
Dario Nieuwenhuis
c361c82c41
Merge pull request #4449 from rursprung/add-debug-and-defmt-for-rp-gpio
add missing `Debug` and `defmt::Format` derives for `embassy_rp::gpio`
2025-07-23 15:12:11 +00:00
Ralph Ursprung
978a007baf
add missing Debug and defmt::Format derives for embassy_rp::gpio 2025-07-23 16:56:34 +02:00
Dario Nieuwenhuis
db5a7bacef
Merge pull request #4427 from clubby789/unsafe-op
HAL: Use `unsafe` block in IRQ handler
2025-07-23 14:40:19 +00:00
Dario Nieuwenhuis
f63e2fe7d4
Merge pull request #4448 from clubby789/extra-braces
stm32/build: Remove extra braces from generated code
2025-07-23 14:40:10 +00:00
clubby789
af4a75e493 stm32/build: Remove extra braces from generated code 2025-07-23 15:33:27 +01:00
clubby789
4abacac252 stm32/wb: Add memory manager to GATT example 2025-07-23 15:25:58 +01:00
Gerzain Mata
378035aa91 Added PLL HAL code for STM32WBA 2025-07-23 04:54:42 -07:00
Dario Nieuwenhuis
60ed376a19
Merge pull request #4429 from obe1line/obe1line-stm32c071
Updates to support stm32c071
2025-07-23 10:25:57 +00:00
Dario Nieuwenhuis
efc2306e6a
Merge pull request #4444 from i509VCB/nxp-docs
nxp: make docs generate
2025-07-23 10:25:17 +00:00
Dario Nieuwenhuis
e9211682a1 stm32: do not run stm32c071rb tests. 2025-07-23 12:23:51 +02:00
Frank Stevenson
cf9856255e Make MSI calibration configurabke.
Refine detection and handling of shared clock sources between MSIS and MSIK
2025-07-23 10:08:41 +02:00
Gerzain Mata
e2cec28805 Merge branch 'main' into feat/stm32wba-usb-example 2025-07-23 00:53:10 -07:00
Chris Storah
420cbb437f Fix formatting of u5 file 2025-07-23 15:55:14 +10:00
Chris Storah
487b42f62c Added missing guard for hsi48. Updated use of removed enums from stm32-data u5 chip 2025-07-23 15:52:36 +10:00
Chris Storah
88e1d61654 Merge branch 'obe1line-stm32c071' of github.com:obe1line/embassy into obe1line-stm32c071 2025-07-23 12:53:34 +10:00
Chris Storah
bb29fdd3e2 Formatting update to resolve rustfmt error 2025-07-23 12:50:01 +10:00
obe1line
eb15a55519
Merge branch 'embassy-rs:main' into obe1line-stm32c071 2025-07-23 12:40:48 +10:00
Chris Storah
e64c23076d Updated version of stm32-data and added c071 and c051 into ci.sh 2025-07-23 12:38:58 +10:00
i509VCB
510adb3b69
nxp: make docs generate 2025-07-22 21:36:37 -05:00
i509VCB
8f5e4ac06d
Merge pull request #4436 from i509VCB/rt1062
nxp: Add mimxrt1062 support
2025-07-22 21:11:24 +00:00
i509VCB
be769ac9a4
Merge pull request #4409 from i509VCB/uart-async
mspm0: add buffered uart driver
2025-07-22 16:48:01 +00:00
i509VCB
a1867f0d74
mspm0: add buffered uart driver
And tests for G3507.
2025-07-22 11:41:47 -05:00
Dario Nieuwenhuis
12fbc65e1a
Merge pull request #4441 from dimpolo/copy-clone-adc-config
derive Copy, Clone for adc config enums
2025-07-22 16:36:47 +00:00
i509VCB
1d46f55bdd
nxp: Add mimxrt1062 support
The examples in this case are designed for the IMXRT1060-EVK. The same chip is used in the Teensy 4.0/1, but that will probably get its own set of examples due to some differences such as the FCB.
2025-07-22 11:25:45 -05:00
dimi
03b86d75b6 derive Copy, Clone for adc config enums 2025-07-22 18:20:24 +02:00