10332 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
454a5e9044
Merge pull request #4272 from cschuhen/fdcan_refcounter_raii
Fdcan use RAII for reference counting.
2025-06-22 21:37:15 +00:00
Dario Nieuwenhuis
8a23a4dfa4
Merge pull request #4266 from 0e4ef622/task-rpit
Allow `-> impl Future<Output = ()>` in #[task]
2025-06-22 21:27:56 +00:00
Dario Nieuwenhuis
bf3170ed38
Merge pull request #4294 from AlanRosenthal/rtc_c0
Add RTC example for STM32C0
2025-06-22 21:22:10 +00:00
Dario Nieuwenhuis
d134b52c46
Merge pull request #4310 from robjwells/rp-romdata-doc
embassy-rp: fix rom_data documentation format
2025-06-22 21:12:50 +00:00
Dario Nieuwenhuis
699626ced7
Merge pull request #4324 from plorefice/hsem-fixes
embassy-stm32: fix HSEM initialization and core detection
2025-06-22 21:08:38 +00:00
Dario Nieuwenhuis
c9709cf19d
Merge pull request #4311 from antonok-edm/sdmmc-set-datatime-during-init
[sdmmc] Set `datatime` during initialization
2025-06-22 21:04:22 +00:00
Dario Nieuwenhuis
f7f5fe1120
Merge pull request #4325 from JYouren/patch-1
Only write to the flash what was read from the file
2025-06-22 21:03:28 +00:00
Dario Nieuwenhuis
2857997e35
Merge pull request #4327 from paul-fornage/main
Add syntax highlighter
2025-06-22 21:02:49 +00:00
Corey Schuhen
8b280688e1 FDCAN/BXCAN: Finish implementation of RAII instance counters.
- Use DeRef in all types
    - Change Name of internal_operation and its enum
    - move into Info to avoid macro code dup
2025-06-21 12:31:56 +10:00
Tobias Naumann
e75b344089 Add TxGuard and RxGuard which impl RAII for the STM32 CAN reference counting 2025-06-21 12:29:36 +10:00
Corey Schuhen
b2dcdad51d BXCAN: Put State inside a critical section mutex of RefCell. This removed unsound code that was giving out mut& to State
This change is equiverlent to f5658d6833cb140296a0b6f25b7eb6d16f06c520
that was already done for the FDCAN driver.
2025-06-21 11:58:53 +10:00
paul fornage
f84792aaa7 Add syntax highlighter 2025-06-20 07:47:30 -07:00
John Youren
53fd571ddb
Only write to the flash what was read from the file
The write method is given the full aligned buffer to write to flash even though it may not be fully populated. This change ensures only what has been read is written to flash. Preventing potential corrupted firmware and additional flash wear.
2025-06-20 14:45:13 +01:00
Pietro Lorefice
59228e2ab4 stm32: hsem: fix broken CPUID detection 2025-06-20 10:47:37 +02:00
Pietro Lorefice
be5b62bdd4 stm32: hsem: add missing RCC initialization 2025-06-20 10:46:33 +02:00
Ulf Lilleengen
206a324cf4
Merge pull request #4320 from wmmc88/fix-sync-bounds
Fix sync bounds on LazyLock and OnceLock
2025-06-19 06:03:12 +00:00
Melvin Wang
e19c3a0204 disable ui tests in miri 2025-06-18 16:20:50 -07:00
Melvin Wang
3a43292097 commit expected errors 2025-06-18 16:16:12 -07:00
Melvin Wang
051c63fea2 fix missing sync bounds 2025-06-18 15:38:57 -07:00
Melvin Wang
905aed45f9 add tests illustrating the problem 2025-06-18 15:37:05 -07:00
Anton Lazarev
e155d17328
sdmmc: set datatime during initialization 2025-06-16 17:55:29 -07:00
Dario Nieuwenhuis
dda17cc7cb
Merge pull request #4309 from bugadani/futures
Remove futures-util where unnecessary
2025-06-16 12:38:47 +00:00
Rob Wells
2613295111
embassy-rp: fix rom_data module documentation
Removes module doc comment markers that appeared in the generated
documentation.
2025-06-16 13:11:46 +01:00
Dániel Buga
a0d17ea5ca
Remove futures-util where unnecessary 2025-06-16 13:57:19 +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
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
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