embassy/embassy-mcxa
James Munns 4c14cadef6 Don't read OsTimer before initialization
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.
2026-01-12 17:05:20 +01:00
..
2025-12-04 18:43:11 +01:00
2025-12-05 14:28:47 +01:00

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.