1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-28 21:53:48 +00: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

@@ -15,6 +15,7 @@ from esphome.const import (
KEY_TARGET_FRAMEWORK,
KEY_TARGET_PLATFORM,
PLATFORM_ESP8266,
CoreModel,
)
from esphome.core import CORE, coroutine_with_priority
from esphome.helpers import copy_file_if_changed
@@ -187,6 +188,7 @@ async def to_code(config):
cg.set_cpp_standard("gnu++20")
cg.add_define("ESPHOME_BOARD", config[CONF_BOARD])
cg.add_define("ESPHOME_VARIANT", "ESP8266")
cg.add_define(CoreModel.SINGLE)
cg.add_platformio_option("extra_scripts", ["post:post_build.py"])