10353 Commits

Author SHA1 Message Date
Süha Ünüvar
5cbc9a235f correct documentation 2025-06-27 09:23:53 +08:00
Süha Ünüvar
04bf17dde6 rename fns and add documentation 2025-06-27 09:23:53 +08:00
Dario Nieuwenhuis
9ee01d9cc6
Merge pull request #4346 from njfdev/patch-1
Fix Release and Dev Profiles Being Backwards in rp235x Examples
2025-06-27 00:04:06 +00:00
Dario Nieuwenhuis
77fc1bac2a
Merge pull request #4348 from melvdlin/stm32-ch-generic-timer-traits
[stm32]: Replace per-channel traits in `timer` module with generic versions
2025-06-27 00:03:47 +00:00
melvdl
2727fb266f run cargo fmt 2025-06-27 01:28:47 +02:00
melvdl
41327c1325 stm32: adapt examples to timer API changes 2025-06-27 01:08:45 +02:00
melvdl
6f88c2c73c stm32: rename timer channel trait; replace impls via macro with impls generic over timer channels 2025-06-27 01:08:28 +02:00
melvdl
cbd24bf2ee stm32: fix timer break input 2 trait name in build script 2025-06-27 01:04:47 +02:00
melvdl
1623d4e639 stm32: generify timer::one_pulse and timer::qei pin constructors 2025-06-26 22:55:12 +02:00
Nicholas Fasching
3bc2113651
Fix Release and Dev Profiles Being Backwards in rp235x Examples 2025-06-26 16:32:09 -04:00
melvdl
3e78f8a108 stm32: generify timer channels 2025-06-26 19:35:19 +02:00
Dario Nieuwenhuis
06b160ac83
Merge pull request #4343 from leftger/feat/support-wba6xxx
Added STM32WBA6XXX devices as features
2025-06-26 11:58:50 +00:00
Gerzain Mata
51675e9bc7 Added STM32WBA6XXX devices as features
Added 2 wba6 features to cargo batch in ci.sh

WIP

Added default RTC rust version for undefined peripherals

Added missing generated RTC peripheral to be handled by rtc/v3.rs

Reordered cfg_attrs in rtc/mod.rs
2025-06-26 04:38:22 -07: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