10629 Commits

Author SHA1 Message Date
Jakob
09967b71f5 Also update the AdvancedInstace4Channel version 2025-06-11 11:48:39 +02:00
Jakob
66296f673b Enable autoreload_preload for complementary PWM 2025-06-11 11:34:37 +02:00
Jakob
0ee77f50aa Add separate case for center aligned mode 2025-06-11 09:24:00 +02:00
Jakob
56d76aeb7b Remove incorrect addition of 1 to get_max_duty 2025-06-11 09:08:55 +02:00
Ulf Lilleengen
56572ef0ad
Merge pull request #2909 from jrmoulton/i2c-slave-new
stm32 i2c slave
2025-06-11 05:09:08 +00:00
Alan Rosenthal
5534a36507 Add RTC example for STM32C0
Tested on STM32C0116F6

Requries: https://github.com/embassy-rs/stm32-data/pull/617
2025-06-10 18:46:41 -04:00
jrmoulton
4efb3b4f3f
fix ci 2025-06-10 16:01:50 -06:00
jrmoulton
fb71139522
fix name change 2025-06-10 15:53:06 -06:00
jrmoulton
3b2dd2bad8
fmt 2025-06-10 15:53:02 -06:00
jrmoulton
cfad9798ff
merge new embassy changes 2025-06-10 15:48:36 -06:00
Adam Newell
358a0cd464 Fix MPU region enablement in stack guard installation
Updated the MPU region enablement logic in the `install_stack_guard` function to correctly set the region limit by using the stack bottom address plus 256 minus one, ensuring proper memory protection configuration.

See Table 235. MPU_RLAR Register in RP2350 documentation
See Section 4.5 MPU_RLAR in armv8m MPU documentation
2025-06-09 22:06:40 -04:00
Ulf Lilleengen
6186d111a5
Merge pull request #4287 from dlaw/main
Add public function to get current clock configuration
2025-06-06 20:50:36 +00:00
David Lawrence
c10688cd40 Add public function to get current clock configuration 2025-06-06 13:05:35 -04:00
Benjamin
adb728009c adjusted for u0 as well 2025-06-03 21:10:19 +02:00
Benjamin
a912a3798d Fixed variations in register access for different families 2025-06-03 21:04:41 +02:00
Benjamin
94080b38a5 Added Option to enable HW Oversampling in STM32 V3 ADCs. Copied from adc/v4.rs and adjusted to reflect 2 to 256x oversampling + adjusted bit shifting operations 2025-06-03 20:29:06 +02:00
Dario Nieuwenhuis
141c170db4
Merge pull request #4277 from diondokter/fix-usb-race
STM32 USB: Read data before register update
2025-06-03 14:14:45 +00:00
Dion Dokter
9b3b6c5421 STM32 USB: Read data before register update 2025-06-03 16:08:55 +02:00
Dario Nieuwenhuis
1cfe047125
Merge pull request #4276 from snakehand/main
Use modify() for subsequent changes to RCC.cr()
2025-06-03 14:03:23 +00:00
Frank Stevenson
011d7832f8 Use modify() for subsequent changes to RCC.cr() 2025-06-03 15:47:33 +02:00
Matthew Tran
3cef4f0c04 Update tests 2025-06-01 12:36:46 -05:00
Matthew Tran
0d83fbbb57 Add diagnostic::on_unimplemented for nightly 2025-06-01 10:32:24 -05:00
Dario Nieuwenhuis
c637ee7d79
Merge pull request #4271 from cschuhen/fdcan_critical_section
Use a critical section mutex in CAN Fdcan driver.
embassy-usb-dfu-v0.1.0
2025-06-01 12:37:12 +00:00
Dario Nieuwenhuis
d23d5d6a4c
Merge pull request #4224 from felipebalbi/button
imxrt: add button example
2025-06-01 12:20:01 +00:00
Dario Nieuwenhuis
f3983328e0
Merge pull request #4231 from ROMemories/feat/stm32-rcc-const-constructors
feat(stm32): provide a `const` constructor on `rcc::Config`
2025-06-01 12:19:39 +00:00
Dario Nieuwenhuis
a636ec439e
Merge pull request #4237 from felipebalbi/rp-invert-gpio
embassy-rp: implement input/output inversion
2025-06-01 12:17:40 +00:00
Dario Nieuwenhuis
ad5a14fe85
Merge pull request #4244 from janderholm/master
executor: Make state implementations and their conditions match
2025-06-01 12:16:50 +00:00
Dario Nieuwenhuis
fc4139146f
Merge pull request #4251 from kpfleming/improve-stm32-ringbuffereduart-docs
stm32: Expand documentation of RingBufferedUartRx.
2025-06-01 12:15:19 +00:00
Ulf Lilleengen
a2fdce88bd
Merge pull request #4273 from 9names/embassy_boot_doc
doc: add high-level embassy-boot a-b info
2025-05-31 16:57:09 +00:00
9names
69abc42077 doc: add high-level embassy-boot a-b info 2025-06-01 00:08:09 +10:00
Corey Schuhen
010744802f Remove duplicate calc_timestamp and move to 'Registers' struct. 2025-05-31 09:09:12 +10:00
Corey Schuhen
f5658d6833 Put State inside a critical section mutex of RefCell. This removes the unsound code that was giving out mut&. to State 2025-05-31 08:20:03 +10:00
Corey Schuhen
eba9ddc805 Switch to SendDynamicSender for FDCAN. 2025-05-31 08:20:03 +10:00
Dario Nieuwenhuis
9b8d6d6f22
Merge pull request #4267 from melvdlin/stm32-qspi-from
convert embassy-stm32::qspi::enums `Into` impls into equivalant `From` impls
2025-05-30 11:15:54 +00:00
Dario Nieuwenhuis
675dd81a0f
Merge pull request #4268 from Willdew/stm32-fix-ringbuffered-adc-set-sq
[embassy-stm32] Fixed runtime assertion failure on more the 6 ringbuffered ADC channels
2025-05-30 11:12:50 +00:00
melvdl
86efdc9cc3 convert embassy-stm32::qspi::enums Into impls into equivalant From impls 2025-05-30 00:30:27 +02:00
Willdew
3d617007a2 fixed n in set_sq to be indexed correctly 2025-05-29 23:06:01 +02:00
Matthew Tran
b06a708f81 Mention ! in diagnostic 2025-05-29 05:54:25 -05:00
Matthew Tran
dbff432e19 Add test for -> impl Future<Output = !> 2025-05-29 05:18:16 -05:00
Ulf Lilleengen
b024d5e892
Merge pull request #4265 from cschuhen/rename-send-dynamic-receiver
Rename SendableDynamicReceiver to SendDynamicReceiver
2025-05-29 05:11:16 +00:00
Matthew Tran
a4d4f62a1e Allow -> impl Future<Output = ()> in #[task] 2025-05-28 23:37:17 -05:00
Corey Schuhen
5730b57094 Rename SendableDynamicReceiver to SendDynamicReceiver 2025-05-29 08:30:21 +10:00
Ulf Lilleengen
4766cc6f97
Merge pull request #3957 from us-irs/add-cortex-ar-support
Add support for Cortex-A/R
2025-05-28 15:27:27 +00:00
Robin Mueller
5a07ea5d85 Add support for Cortex-A/R 2025-05-28 17:00:42 +02:00
Ulf Lilleengen
f35aa4005a
Merge pull request #4264 from embassy-rs/update-esync-changelog
docs: update changelog for embassy-sync
embassy-sync-v0.7.0 embassy-boot-stm32-v0.3.0
2025-05-28 11:21:40 +00:00
Ulf Lilleengen
dfd2d31819 docs: update changelog for embassy-sync 2025-05-28 13:05:38 +02:00
Ulf Lilleengen
62cf9d592b
Merge pull request #4262 from cschuhen/send_on_dynamic_channel
Enable Sync and Send for DynamicSender and DynamicReceiver.
2025-05-28 10:43:33 +00:00
Corey Schuhen
277f6f7331 Make Sync capable versions of DynamicSender and DynamicReceiver.
DynamicSender and DynamicReceiver, just seem to be a fat pointer to a
Channel which is already protected by it's own Mutex already. In fact,
you can share the Channel already betwen threads and create Dynamic*er's
in the target threads. It should be safe to share the Dynamic*er's
directly. Can only be used when Mutex M of channel supoorts Sync.
2025-05-28 20:29:08 +10:00
Ulf Lilleengen
58db2f7d94
Merge pull request #4263 from embassy-rs/channel-peek
feat: add support for channel peek
2025-05-28 12:26:06 +02:00
Ulf Lilleengen
042abc805a feat: add support for channel peek
Add support for peeking into the front of the channel if the value
implements Clone. This can be useful in single-receiver situations where
you don't want to remove the item from the queue until you've
successfully processed it.
2025-05-28 11:34:57 +02:00