10271 Commits

Author SHA1 Message Date
1-rafael-1
abafbed0d5 remove Debug2Fmt from examples 2025-05-12 21:43:17 +02:00
1-rafael-1
be1b679d48 Refactor CoreVoltage enum, separate for rp2040 and rp235x 2025-05-12 21:42:03 +02:00
1-rafael-1
79e452922a Add ClockError enum and update system_freq to return Result for error handling 2025-05-12 21:33:47 +02:00
Gerhard de Clercq
3c73b49790 [embassy-usb-dfu] support function level WinUSB GUIDs
This commit makes it possible to provide function level msos GUIDs to usb_dfu. This helps to ensure that composite DFU devices automatically get assigned the WinUSB driver on Windows.
2025-05-12 15:55:11 +02:00
1-rafael-1
133500167c limit CoreVoltage eum to values up to 1.30V, because we do not support unlocking higher voltages 2025-05-12 09:45:05 +02:00
Matthew Tran
a0a339d01a nrf: Rework IPC module 2025-05-11 22:15:12 -05:00
1-rafael-1
4567beda7b rp235x overclocking 2025-05-11 17:26:36 +02:00
Alessandro Gasbarroni
967a98fd44 nrf: Add IPC peripheral for nRF5340 2025-05-10 17:08:52 -05:00
9names
ee71dda631 Clarify embassy-rp rt feature purpose 2025-05-10 20:03:09 +10:00
Ulf Lilleengen
f9f20ae217
Merge pull request #4155 from marcemmers/remove-instance-from-rp-uart-type
[embassy-rp] Remove <T: Instance> from Uart and BufferedUart
2025-05-09 19:34:52 +02:00
Ulf Lilleengen
11364077a7
Merge pull request #4150 from 1-rafael-1/rp2040-overclocking
RP: rp2040 overclocking
2025-05-09 19:34:43 +02:00
Ulf Lilleengen
2a27aa828c
Merge pull request #4173 from phycrax/derive-for-pwmpincfg
[embassy-stm32] Derive Debug, Clone, Copy, defmt::Format for simple_pwm::PwmPinConfig
2025-05-09 16:48:41 +02:00
Felipe Balbi
8e7e4332b4 Add embassy-imxrt RNG driver 2025-05-09 07:25:23 -07:00
Felipe Balbi
d4c378e059 Add embassy-imxrt CRC driver 2025-05-09 07:21:40 -07:00
Ulf Lilleengen
64a2b9b2a3
Merge pull request #4170 from yutannihilation/chore/fix-unsafe-attribute-rust2024
chore: Wrap `link_section` attribute in example code with `unsafe()` for compatibility with Rust 2024 edition
2025-05-09 13:05:23 +02:00
Ulf Lilleengen
aa8703360e
Merge pull request #4168 from yutannihilation/fix/rotary-encoder-rxf-negative-value
Fix `rotary_encoder_rfx` example to handle negative values
2025-05-09 12:39:37 +02:00
Ulf Lilleengen
4dbaa01870
Merge pull request #4175 from felipebalbi/imxrt-rtos-timer
iMXRT OS timer
2025-05-09 12:39:11 +02:00
Ulf Lilleengen
8b80195843
Merge pull request #4176 from matt-rodgers/cdc-acm-embedded-io-async
Implement embedded-io-async traits for USB CDC ACM
2025-05-09 12:38:52 +02:00
Ulf Lilleengen
e0920e8c66
Merge pull request #4178 from diondokter/opamp-fix
Stm32: Fix opamp copy pasta mistake
2025-05-09 08:51:23 +00:00
Kat Perez
ebb6132f5f rustfmt 2025-05-08 16:31:47 -04:00
Kat Perez
3ffa2e4f3f remove unnecessary trace flags 2025-05-08 16:30:06 -04:00
Kat Perez
dfaab013eb move SpawnerTraceExt back into Spawner 2025-05-08 14:35:43 -04:00
Kat Perez
e968c47636 update TraceExt trait name for Spawner 2025-05-08 14:04:54 -04:00
Kat Perez
194a3044ac remove unused task_id 2025-05-08 13:46:41 -04:00
Kat Perez
3b873bb6bb implement TaskRefTrace for tracing-only fields in TaskRef 2025-05-08 13:40:32 -04:00
Kat Perez
462d04c6d5 move TaskTracker to trace 2025-05-08 13:35:34 -04:00
Kat Perez
8a8deb704f move spawn_named into trace.rs through TraceExt trait 2025-05-08 11:29:44 -04:00
Kat Perez
56b5e35c60 change rtos-trace feature flag on tracing API to trace feature flag 2025-05-08 10:58:59 -04:00
Kat Perez
8f18810ec6 remove unused tracing API 2025-05-08 10:58:27 -04:00
Kat Perez
b3e13cc6de make tracing API functions internal 2025-05-08 10:58:07 -04:00
Dion Dokter
65bd86f19f Stm32: Fix opamp copy pasta mistake 2025-05-08 13:40:21 +02:00
Ulf Lilleengen
ca5ebe859a
Merge pull request #4177 from 0e4ef622/usbdfu-will-detach
embassy-usb-dfu: Modify Reset trait
2025-05-08 10:44:47 +00:00
Matthew Tran
5c0a63a0dd embassy-usb-dfu: Reset immediately if WILL_DETACH is set
This is necessary to support the windows WinUSB driver which is not
capable of generating the USB reset.
2025-05-08 00:12:00 -05:00
Matthew Tran
d35df5cfba embassy-usb-dfu: Change return of reset to ()
Also adds &self to the Reset trait, which makes it easier to implement
cleanup/delays before actually resetting.
2025-05-08 00:09:21 -05:00
Felipe Balbi
42c62ba899 Add OS Event timer support
Allow for the use of the OS Event timer as a time source.

Signed-off-by: Felipe Balbi <febalbi@microsoft.com>
2025-05-07 16:25:06 -07:00
Matt Rodgers
d46d3119ce Implement embedded-io-async traits for USB CDC ACM 2025-05-07 21:22:56 +01:00
1-rafael-1
4621c8aa7a Clarify comment for CoreVoltage enum regarding V1_20 2025-05-07 22:16:29 +02:00
Felipe Balbi
297ff3d032 clocks: remove defmt messages
Whenever any of the defmt-timestamp-uptime* features is enabled, defmt
will insert code that reads the timestamp in order to embed it into
the format string. This means that we *must* have a functional time
driver by the time the very first defmt message is printed.

Because clocks.rs is the part of the code setting up clocks that may,
indeed, be required by the chosen clock driver, it cannot contain any
defmt messages, otherwise it will trigger a read to a function that
does not yet exist.

Signed-off-by: Felipe Balbi <febalbi@microsoft.com>
2025-05-07 12:57:49 -07:00
1-rafael-1
a254daf4ff Changes after review 2025-05-07 21:19:09 +02:00
Felipe Balbi
64ce271af5 clocks: split clock and reset operations
Some peripherals need to control clock without touching the reset.

Signed-off-by: Felipe Balbi <febalbi@microsoft.com>
2025-05-07 10:39:25 -07:00
Felipe Balbi
70e2c05205 Rename rtc.rs to time_driver.rs
We will add another time driver for user selection.
2025-05-07 08:33:03 -07:00
Hiroaki Yutani
f5ddb9358f Remove tweak 2025-05-07 23:00:39 +09:00
Hiroaki Yutani
9d9ae7c5d5 Revert 2025-05-07 22:59:41 +09:00
Süha Ünüvar
bd3b3b4526 derive debug copy clone defmt for pwmpinconfig 2025-05-07 17:14:28 +08:00
Kat Perez
f2429c212e fix whitespace in the imports in trace.rs 2025-05-06 11:55:58 -04:00
Kat Perez
6085916714 use an intrusive linked list in TaskHeader to track tasks 2025-05-06 11:47:04 -04:00
Kat Perez
f4e0cbb7cc add ID field to TaskHeader 2025-05-06 09:59:27 -04:00
Henrik Alsér
6c6ae4f9fc
Merge pull request #4169 from vinsynth/main
Fix h7 SAI example start sequence
2025-05-06 13:59:07 +00:00
Kat Perez
54b3fb6e7a remove name from TaskRegistry and retrieve from task header instead 2025-05-06 09:27:19 -04:00
Kat Perez
61f0f889a0 add get/set for task name 2025-05-06 09:23:39 -04:00