mirror of
https://github.com/esphome/esphome.git
synced 2026-03-03 19:28:20 -07:00
e110ac24d5cfe9debfb21cd59b346e84032338eb
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.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
263 MiB
Languages
C++
64%
Python
35.6%
C
0.3%
