18 Commits

Author SHA1 Message Date
Ulf Lilleengen
386c586afa chore: Release embassy-embedded-hal version 0.3.1 2025-07-16 14:53:02 +02:00
Ulf Lilleengen
64e1a806fa chore: update to embassy-hal-internal v0.3.0 2025-07-14 11:46:47 +02:00
Matt Johnston
5e49985ed6 embassy-sync: bump to 0.7.0 2025-05-22 13:29:55 +08:00
Felipe Balbi
7a600fe925 timer: ostimer: wait for match write ready
Before writing to MATCH_L/MATCH_H registers, wait for permission to do
so by pollinmg MATCH_WR_RDY bit in CTRL register.
2025-05-21 08:11:18 -07:00
Yuri Astrakhan
ef0f29f0ed Update defmt dependencies 2025-05-18 20:52:09 +02:00
Dario Nieuwenhuis
e4fc487644 Add rand-core v0.9 support.
Co-Authored-By: Aurélien Jacobs <aurel@gnuage.org>
2025-05-18 20:35:36 +02:00
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
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
Dario Nieuwenhuis
102258c0b0
Merge branch 'main' into add-rng 2025-05-13 22:33:56 +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
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
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
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
Felipe Balbi
a78707b779 Add Embassy iMXRT RTC Time Driver 2025-04-09 13:22:26 -07:00
Felipe Balbi
aa9a16e569 Add embassy-imxrt
Adds initial support for MIMXRT600 series MCUs from NXP. Subsequent
PRs will add more drivers.
2025-04-09 09:37:45 -07:00