mirror of
https://github.com/embassy-rs/embassy.git
synced 2026-02-28 10:59:44 +00:00
If we attempt to read the OsTimer prior to it being initialized, some kind of fault will occur. https://github.com/embassy-rs/embassy/pull/5179 introduced a regression by enabling the `defmt-timestamp-uptime` feature, which caused prints in the SPLL setup to get the timestamp, causing a crash. As a mitigation, we just return a time of zero until the OsTimer has actually been initialized.
Embassy MCXA256 HAL
A Hardware Abstraction Layer (HAL) for the NXP MCXA256 microcontroller using the Embassy async framework. This HAL provides safe, idiomatic Rust interfaces for GPIO, UART, and OSTIMER peripherals.