Files
esphome/esphome
J. Nick Koston e110ac24d5 [rp2040] Use native time_us_64() for millis_64()
RP2040's Pico SDK provides time_us_64() which reads the hardware
timer registers directly, returning native uint64_t microseconds.
This eliminates the need for 32-bit rollover tracking on this
platform.

millis() is now derived from millis_64() (like Zephyr) instead of
the other way around, unifying the time source.

Also removes IRAM_ATTR from all RP2040 HAL functions. On RP2040,
IRAM_ATTR is a no-op: the functions it decorated (millis, micros,
delayMicroseconds, arch_get_cpu_cycle_count) all call into Pico SDK
functions that reside in flash (XIP), so the attribute had no effect.
2026-02-27 09:03:20 -10:00
..
2025-12-08 14:37:45 -05:00
2025-12-08 14:37:45 -05:00
2025-09-19 12:59:48 +00:00
2025-12-18 00:06:52 +00:00