Commit Graph
27771 Commits
Author SHA1 Message Date
J. Nick Koston 34d65b078f Merge remote-tracking branch 'upstream/fast-millis-esp8266' into integration 2026-04-22 08:27:32 +02:00
J. Nick Koston 12ad663723 Address review: NMI note + static_assert hard-encoding remainder+delta overflow invariant 2026-04-22 07:54:11 +02:00
J. Nick Koston 1a23d01511 Address review: tighten millis() / delay() comments, fix off-by-one wording 2026-04-22 07:52:51 +02:00
J. Nick Koston 5f7bf1e673 Merge branch 'dev' into fast-millis-esp8266 2026-04-22 07:47:13 +02:00
J. Nick Koston bb4887480d Merge remote-tracking branch 'upstream/libretiny_millis_xtaskgettickcount' into integration 2026-04-22 07:46:50 +02:00
J. Nick Koston 161cb622f1 Tighten millis() fast-path comments 2026-04-22 07:45:34 +02:00
J. Nick Koston dd42d31e3f Explain BK72xx GLOBAL_INT_DISABLE rationale in MillisInternal 2026-04-22 07:44:34 +02:00
J. Nick Koston 2e31b19d4b Drop vestigial IRAM_ATTR from BK72xx millis(); SDK masks IRQ during flash ops 2026-04-22 07:42:29 +02:00
J. Nick Koston 9cff70de2e Address Copilot review: add BK72xx static_assert, clarify ISR dispatch comment 2026-04-22 07:41:37 +02:00
J. Nick Koston c1c2df4615 Merge remote-tracking branch 'origin/libretiny_millis_xtaskgettickcount' into integration 2026-04-22 07:35:50 +02:00
J. Nick Koston c0e1b7e255 [libretiny] Use xTaskGetTickCount() directly for millis() on 1 kHz chips 2026-04-22 07:33:42 +02:00
J. Nick Koston b0d679e27d Merge remote-tracking branch 'upstream/core-component-phase-raii' into integration 2026-04-22 07:13:49 +02:00
J. Nick Koston 8e31064b10 Merge branch 'dev' into core-component-phase-raii 2026-04-22 06:49:16 +02:00
J. Nick Koston 23ad30cb4c [esp32] Use xTaskGetTickCount() for millis() when tick rate is 1kHz (#15661) 2026-04-22 06:44:53 +02:00
J. Nick Koston a3b49d1ed9 [core] Use MAC_ADDRESS_BUFFER_SIZE constant instead of duplicated literal (#15913) 2026-04-22 04:43:33 +00:00
J. Nick Koston 9c80cbf19c [light] Reduce validate_ clamp code size and speed up unit-range clamps (#15728) 2026-04-22 16:34:26 +12:00
J. Nick Koston 699cf9690a [core] Optimize value_accuracy_to_buf to avoid snprintf (#15596) 2026-04-22 16:31:34 +12:00
J. Nick Koston 67576d4879 [rp2040] Tune oversized lwIP defaults for ESPHome (#14843) 2026-04-22 06:29:13 +02:00
J. Nick Koston edcf96d057 [wifi] Use queue abstraction for LibreTiny WiFi events (#15343) 2026-04-22 06:24:09 +02:00
J. Nick Koston 3dc9c4e38e Merge remote-tracking branch 'upstream/dedupe-wake-yield-fast-path' into integration 2026-04-22 05:59:16 +02:00
J. Nick Koston a7f128ff31 [core] Dedupe yield() fast path in wakeable_delay and always-inline 2026-04-22 05:57:27 +02:00
J. Nick Koston bdd0aba3b4 Merge remote-tracking branch 'origin/dedupe-use-host-ifdef' into integration 2026-04-22 05:50:55 +02:00
J. Nick Koston d2c40ad8eb [core] Collapse adjacent USE_HOST ifdef blocks in Application 2026-04-22 05:50:20 +02:00
J. Nick Koston d328f0c1e2 Merge remote-tracking branch 'origin/dedupe-mac-address-len' into integration 2026-04-22 05:47:51 +02:00
J. Nick Koston 92ed291411 Use MAC_ADDRESS_BUFFER_SIZE constant instead of duplicated literal 2026-04-22 05:47:34 +02:00
J. Nick Koston d9cb0a8f2d Merge remote-tracking branch 'upstream/dev' into integration 2026-04-22 05:41:38 +02:00
dependabot[bot] bb81c91d0c Update tzdata requirement from >=2021.1 to >=2026.1 (#15911)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 03:08:58 +00:00
dependabot[bot] 78f1467be4 Bump aioesphomeapi from 44.17.0 to 44.18.0 (#15912)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 03:08:42 +00:00
dependabot[bot] da44d43981 Update pyparsing requirement from >=3.0 to >=3.3.2 (#15910)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 05:07:48 +02:00
Javier PeletierandJ. Nick Koston 9cebce1b6e [substitutions] Improve error messages with include stack trace (#15874)
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
2026-04-22 03:19:01 +02:00
Jesse HillsandJ. Nick Koston b20fedd806 [bl0906] Disable loop when idle and introduce BL0906Stage enum (#15884)
Co-authored-by: J. Nick Koston <nick@koston.org>
2026-04-22 03:18:21 +02:00
Keith Burzinski ee91ad8f06 [esp32] Add Secure Boot V1 ECDSA signing scheme for pre-rev-3.0 ESP32 (#15882) 2026-04-22 11:25:05 +12:00
dependabot[bot] 7560112144 Bump aioesphomeapi from 44.16.1 to 44.17.0 (#15906)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-21 22:08:41 +02:00
J. Nick Koston bfa5cf697f Merge remote-tracking branch 'upstream/dev' into integration 2026-04-21 16:11:22 +02:00
43c6b839cd [sensor] Filter to round to significant digits (#11157)
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick+github@koston.org>
2026-04-21 14:00:03 +00:00
J. Nick Koston 2aa410c5a9 Merge remote-tracking branch 'origin/fast-millis-esp32' into integration 2026-04-21 15:32:00 +02:00
J. Nick Koston 9ad1bc259f cleanup 2026-04-21 15:31:04 +02:00
J. Nick Koston 54086057e7 fix merge 2026-04-21 15:28:03 +02:00
Edward Firmo 0c9d443a5c [esp32_ble] Add use_psram option to offload BT memory allocation to SPIRAM (#15644) 2026-04-21 15:18:46 +02:00
J. Nick Koston 3d0cf4f87c Merge remote-tracking branch 'origin/core-component-phase-raii' into integration 2026-04-21 15:15:41 +02:00
J. Nick Koston 8ebbebceb7 Merge remote-tracking branch 'origin/fast-millis-esp32' into integration 2026-04-21 15:15:02 +02:00
J. Nick Koston ab1fd9b0ba Merge remote-tracking branch 'origin/dev' into integration 2026-04-21 15:14:45 +02:00
J. Nick Koston 3ead00d3fb Merge remote-tracking branch 'upstream/dev' into fast-millis-esp32
# Conflicts:
#	esphome/core/application.h
2026-04-21 15:13:44 +02:00
J. Nick Koston 5b912e0c7c [core] RAII guard for component loop phase
Replace paired before_component_phase_() / after_component_phase_() calls
with a ComponentPhaseGuard whose constructor processes pending enable_loop
requests and sets in_loop_ = true, and whose destructor clears in_loop_
at scope exit.

The guard methods are ESPHOME_ALWAYS_INLINE. Verified byte-identical
.text/.data/.bss output on an ESP32 IDF build, and identical disassembly
for both esphome::loop_task (where Application::loop is inlined) and
Application::setup.

Benefit: symmetry is now enforced by the type system. Future early
returns or refactors inside the component phase can't accidentally leave
in_loop_ set without a matching reset.
2026-04-21 15:11:46 +02:00
J. Nick Koston 14defb69b6 [template] Use placement new for template text restore saver (#15883) 2026-04-21 13:04:13 +00:00
3a6f3dfb94 [lock] Implemented open states support (#15120)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2026-04-21 13:03:07 +00:00
J. Nick Koston 7bd36e0c8d [debug] Migrate trivial buf_append_printf sites to buf_append_str (#15885) 2026-04-21 12:51:45 +00:00
J. Nick Koston e4f413adad [core] decouple main loop cadence from scheduler wake timing (#15792) 2026-04-21 14:48:21 +02:00
J. Nick Koston 1504ac3d19 [core] Replace strnlen in buf_append_str for Zephyr compatibility (#15892) 2026-04-21 12:32:29 +00:00
J. Nick Koston 947c714f89 [core] Inline api_is_connected() for hot-path callers (#15888) 2026-04-21 13:48:33 +02:00