1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-11 07:42:26 +01:00

core/scheduler: Make millis_64_ rollover monotonic on SMP (#9716)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
@RubenKelevra
2025-07-20 23:57:52 +02:00
committed by GitHub
parent 7d30d1e987
commit 6e31fb181e
9 changed files with 175 additions and 87 deletions

View File

@@ -35,6 +35,14 @@ class Framework(StrEnum):
ZEPHYR = "zephyr"
class CoreModel(StrEnum):
"""Core model identifiers for ESPHome scheduler."""
SINGLE = "ESPHOME_CORES_SINGLE"
MULTI_NO_ATOMICS = "ESPHOME_CORES_MULTI_NO_ATOMICS"
MULTI_ATOMICS = "ESPHOME_CORES_MULTI_ATOMICS"
class PlatformFramework(Enum):
"""Combined platform-framework identifiers with tuple values."""