7 Commits

Author SHA1 Message Date
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