10121 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
f5de5bd4fd
Merge pull request #4206 from rursprung/add-possibility-to-document-bind_interrupts-structs
add the possibility to document `bind_interrupts` `struct`s
2025-05-15 16:59:28 +00:00
i509VCB
8eb5282c6c
Merge pull request #4072 from felipebalbi/add-flexcomm-uart
imxrt: Add UART and DMA drivers
2025-05-15 16:32:46 +00:00
Ralph Ursprung
117eb45fa0
add the possibility to document bind_interrupts structs
the `bind_interrupts` macro creates a `struct` for the interrupts. it
was so far not possible to document those (except for STM32) and there
was no generic documentation being generated/added either, thus the
`missing_docs` lint was triggered for consumers which enabled it.

with this change it is now possible to manually add a comment on the
`struct` being defined in the macro invocation.

to show that this works one RP example has been modified accordingly.
2025-05-15 18:27:40 +02:00
Felipe Balbi
d64ae225b3 Add UART and DMA drivers
Both blocking and async versions are supported. Add separate examples
for each mode.
2025-05-15 07:22:49 -07:00
Ulf Lilleengen
d1c2ce927a
Merge pull request #4202 from 0e4ef622/nrf-3v3
nrf: _3v3 -> _3V3
2025-05-15 06:05:38 +00:00
Matthew Tran
ad091324a7 nrf: _3v3 -> _3V3 2025-05-14 22:26:55 -05:00
Dario Nieuwenhuis
eb68a81c2a
Merge pull request #4199 from Jacke-debug/update_doc_comment_for_adc_read
Update doc comment for adc read to match current implementation
2025-05-14 17:05:55 +00:00
Jakob
b17da5b794
Merge branch 'embassy-rs:main' into update_doc_comment_for_adc_read 2025-05-14 18:57:49 +02:00
Jakob
a71642ca01 Fix compile error in adc_read doc comment code 2025-05-14 18:57:00 +02:00
Dario Nieuwenhuis
b9ed61cdd9
Merge pull request #4198 from turnaroundfactor/interrupt_docs
Interrupt Doc Comments
2025-05-14 14:21:04 +00:00
jake-taf
be20c708fa
Interrupt Doc Comments
Support adding doc comments to interrupts
2025-05-14 09:45:20 -04:00
Dario Nieuwenhuis
870296fcd4
Merge pull request #4195 from i509VCB/std-test-aarch64
ci: build std examples on aarch64-unknown-linux-gnu (local)
2025-05-14 08:39:36 +00:00
i509VCB
8bb25a551a
ci: build std examples on aarch64-unknown-linux-gnu 2025-05-13 22:53:16 -05:00
Dario Nieuwenhuis
5a19b64fec
Merge pull request #4187 from 1-rafael-1/rp235x-overclocking
RP235x overclocking
2025-05-13 21:45:22 +00:00
Dario Nieuwenhuis
5caa4ac51b
Merge pull request #4124 from mickem/allow_stm32_to_re_init_rcc
Add function to allow re-init rcc config for stm32
2025-05-13 20:57:33 +00:00
Dario Nieuwenhuis
438c7e923a
Merge pull request #4182 from felipebalbi/add-rng
Add Embassy-iMXRT RNG driver
2025-05-13 22:58:25 +02:00
Dario Nieuwenhuis
102258c0b0
Merge branch 'main' into add-rng 2025-05-13 22:33:56 +02:00
Dario Nieuwenhuis
aa85293457
Merge pull request #4181 from felipebalbi/add-crc
Add Embassy-iMXRT CRC driver
2025-05-13 22:28:15 +02:00
Ulf Lilleengen
575eab3c60
Merge pull request #4185 from 9names/update_rp_rt_feature_docs
Clarify embassy-rp rt feature purpose
2025-05-13 13:59:02 +02:00
Ulf Lilleengen
1c8786ceed
Merge pull request #4186 from 0e4ef622/nrf53-ipc
nrf5340: Add IPC peripheral
2025-05-13 13:58:43 +02:00
1-rafael-1
981ef20f83 removed one line too many 2025-05-13 10:59:11 +02:00
1-rafael-1
1314808b3a Changes after review: copypasted doc comment fixed and no cfg gates to panic on failing pll config in init() 2025-05-13 10:49:23 +02:00
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
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
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