10342 Commits

Author SHA1 Message Date
i509VCB
7219df4a5f
nxp: feature gate lpc55 gpio and pint to lpc55 2025-07-08 16:39:40 -05:00
i509VCB
6609a85f3c
nxp: add feature for lpc55
this is needed since I will be working on adding support for the MCX families to embassy-nxp

Co-authored-by: IriniaCh524 <chioreanirina2005@gmail.com>
2025-07-08 16:38:17 -05:00
Dario Nieuwenhuis
dea59b1e6f
Merge pull request #4341 from skoe/generate_all_opamp_pins
Adapt to new opamp pin naming scheme and opamp IP version numbers
2025-06-25 23:17:15 +00:00
Thomas Giesel
ef4faffcb5
Merge branch 'main' into generate_all_opamp_pins 2025-06-25 21:10:25 +02:00
Thomas Giesel
ca14f54529 Adapt opamp driver to new opamp IP version numbers 2025-06-25 21:06:39 +02:00
Thomas Giesel
cbf61765f1 Generate pins for new opamp pin naming scheme
The new code implements the corresponding traits for the
common opamp pin naming scheme of all families, which
is VINPx/VINMx.

The same pin must not be used for multiple channels for the
same opamp. For example, if VINM0 and VINM1 of the same opamp
were assigned to the same pin, the channel would not be unique,
meaning that the traits would be implemented in a conflicting
manner.
2025-06-25 08:27:44 +02:00
Dario Nieuwenhuis
b5ab3276dc
Merge pull request #4340 from bugadani/esprs
Correct esp-hal link
2025-06-24 14:23:13 +00:00
Dániel Buga
5da6e31a3e
Correct esp-hal link 2025-06-24 16:19:33 +02:00
Dario Nieuwenhuis
7ac2076be0
Merge pull request #4334 from turnaroundfactor/interrupt_docs
Allow conditional items in bind_interrupts macro
2025-06-23 14:55:23 +00:00
jake-taf
9cb5c6d001
Fix issues #4333
Allow configs to be used in this macro
2025-06-23 10:30:09 -04:00
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