Commit Graph
27794 Commits
Author SHA1 Message Date
J. Nick Koston 92afd391b4 Merge remote-tracking branch 'upstream/feed-wdt-wrap' into integration 2026-04-22 18:37:47 -05:00
J. Nick Koston 74abd1cee5 [core] feed_wdt wraps feed_wdt_with_time 2026-04-22 18:37:00 -05:00
J. Nick Koston da65516e26 Merge remote-tracking branch 'origin/core-host-wake-into-wake-files' into integration 2026-04-22 18:33:09 -05:00
J. Nick Koston b8165a0ad9 Merge remote-tracking branch 'upstream/dev' into integration 2026-04-22 18:33:03 -05:00
Keith Burzinski 70b1d9a087 [api_protobuf] Support compound ifdef conditions in proto generator (#15930) 2026-04-22 17:57:15 -05:00
J. Nick Koston ab8af7f736 [core] Force inline host wake_fd_ready() and wake_drain_notifications() 2026-04-23 00:52:18 +02:00
J. Nick Koston ec833ce2d9 [core] Move host socket-select wake mechanism into wake.h/wake.cpp
The host platform's wake plumbing was split between wake.cpp (which had
wake_loop_threadsafe()) and application.{h,cpp} (which owned the fd
registry, wake socket lifecycle, select() loop, and readiness query).
The split required application.h to friend wake_loop_threadsafe() and
expose the wake socket fd, and forced a host-only out-of-line override
of yield_with_select_() that was equivalent to wakeable_delay() on every
other platform.

Consolidate the host wake mechanism in wake.h/wake.cpp:

- New host-only API: wake_register_fd, wake_unregister_fd, wake_fd_ready,
  wake_setup, wake_drain_notifications.
- Host implementation of internal::wakeable_delay now performs the
  select() over registered fds, mirroring the role of xTaskNotifyTake on
  ESP32 and esp_delay on ESP8266.
- Application drops the host-specific socket_fds_, max_fd_,
  wake_socket_fd_, socket_fds_changed_, read_fds_, base_read_fds_
  members, the host include block (sys/select.h, sys/socket.h, etc.),
  and the friend declarations for wake_loop_threadsafe() and
  socket::socket_ready_fd().
- yield_with_select_() collapses to a single inline definition for all
  platforms that delegates to wakeable_delay().
- Socket factories (bsd_sockets_impl.cpp, lwip_sockets_impl.cpp) and
  socket::socket_ready_fd() now call the wake.h API directly instead of
  going through App.
2026-04-23 00:33:04 +02:00
Keith Burzinski 36720c8495 [usb_uart] Derive TX output chunk count from buffer_size config (#15909) 2026-04-23 09:16:14 +12:00
Jonathan Swoboda c48ab2ef92 [io_expanders] Self-heal interrupt-driven expanders when INT stays asserted across the read (#15923) 2026-04-23 09:05:15 +12:00
Keith Burzinski 162ee2ecaf [i2s_audio] Split speaker into base class and standard subclass (#15404) 2026-04-22 14:40:18 -05:00
Asela FernandoandJonathan Swoboda a73bac0b5f [ac_dimmer] Zero-crossing interrupt type (#15862)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
2026-04-22 14:57:53 -04:00
Rishab MehtaandJonathan Swoboda 4e84611ae7 [internal_temperature] Fix internal Temperature discrepancy on BK7231T (#15771)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
2026-04-22 17:50:59 +00:00
PolarGoose ea2e36e55a [dsmr] Improve performance. Add missing sensors. Remove Crypto-no-arduino. (#15875) 2026-04-22 13:49:14 -04:00
fcbc4d64fe [one_wire] Reset bus before SKIP ROM command (#14669)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-04-22 13:20:02 -04:00
TimothyandJonathan Swoboda dcd103cec0 [cse7761] bidirectional active power (#15162)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
2026-04-22 13:11:18 -04:00
Ludovic BOUÉandJonathan Swoboda 5e715692d6 [network] Reorder IPv6 configuration for network components (#11694)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
2026-04-22 17:01:20 +00:00
rwrozelleandJ. Nick Koston d5263cd46e [esp32] add watchdog_timeout configuration variable (#15908)
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
2026-04-22 13:01:23 +00:00
J. Nick Koston c399cd2fa2 [core] RAII guard for component loop phase (#15897) 2026-04-22 14:04:29 +02:00
J. Nick Koston f6bf6dc8e5 [core] Dedupe yield() fast path in wakeable_delay and always-inline (#15915) 2026-04-22 13:52:40 +02:00
J. Nick Koston e35b435f02 [libretiny] Inline xTaskGetTickCount() for millis() fast path (#15918) 2026-04-22 13:52:27 +02:00
J. Nick Koston 886cd7ab72 [core] Collapse adjacent USE_HOST ifdef blocks in Application (#15914) 2026-04-22 07:47:01 -04:00
dependabot[bot] 73714dc489 Bump aioesphomeapi from 44.18.0 to 44.19.0 (#15920)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 12:26:25 +02:00
dependabot[bot] 5218bbd791 Update argcomplete requirement from >=2.0.0 to >=3.6.3 (#15921)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 12:19:47 +02:00
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