Commit Graph
24422 Commits
Author SHA1 Message Date
J. Nick Koston 49750eb3ad Add static_assert for MAIN_TASK_PRIORITY < configMAX_PRIORITIES 2026-03-02 15:30:21 -10:00
J. Nick Koston 2a5bbbd632 Merge branch 'dev' into fix-bk72xx-loop-time 2026-03-02 15:26:31 -10:00
melak c77241940b [lps22] Add support for the LPS22DF variant (#14397) 2026-03-02 15:24:00 -10:00
Kevin AhrendtandCopilot 97d713ee64 [media_source] Add new Media Source platform component (#14417)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-02 15:16:38 -10:00
J. Nick Koston fb789f52b2 nits 2026-03-02 14:06:11 -10:00
J. Nick Koston 7692ef6292 Merge branch 'fix-bk72xx-loop-time' into integration 2026-03-02 13:51:21 -10:00
J. Nick Koston f26f5ae6ff [esp32_ble_client] Release services in DISCONNECTING timeout and add comments 2026-03-02 13:51:04 -10:00
J. Nick Koston e6c1a4670c [bk72xx] Fix ~100ms loop stalls by raising main task priority
The BK72xx SDK creates the main Arduino task at FreeRTOS priority 3,
which is lower than all WiFi (4-5), LwIP (4), and TCP/IP (7) tasks.
This causes the main loop to be preempted for ~100ms whenever WiFi
background processing runs (beacon handling, DHCP, WPA supplicant).

By contrast, RTL87xx creates its main task at osPriorityRealtime
(the highest priority), so it never experiences this issue.

Raise the BK72xx main task priority to 6 during arch_init(): above
WiFi/LwIP tasks (4-5) so they don't preempt the main loop, but below
the TCP/IP thread (7) so packet processing keeps priority. This is
safe because ESPHome yields voluntarily via yield_with_select_() and
the Arduino mainTask yield() after each loop() iteration.

Tested on CB3S (BK7231N) - loop time drops from ~110ms to ~14ms.
2026-03-02 13:48:26 -10:00
J. Nick Koston 0847031fda Merge branch 'dev' into lint-no-powf-core 2026-03-02 13:16:06 -10:00
J. Nick Koston 7a0b616c63 Merge branch 'dev' into fix-ble-client-disconnect-race 2026-03-02 13:14:23 -10:00
J. Nick Koston 37738a2e95 Merge branch 'fix-ble-client-disconnect-race' into integration 2026-03-02 13:11:50 -10:00
J. Nick Koston 7719d07548 [esp32_ble_client] Log when DISCONNECT_EVT arrives after CLOSE_EVT 2026-03-02 13:11:15 -10:00
J. Nick Koston 54dff58460 Merge remote-tracking branch 'upstream/fix-ble-client-disconnect-race' into integration 2026-03-02 13:07:26 -10:00
J. Nick Koston 3988818fb8 handle close before disconnect 2026-03-02 13:05:01 -10:00
Jesse Hills bc04a1a0ff Merge branch 'release' into dev 2026-03-03 11:35:53 +13:00
Jesse Hills c4869bad88 Merge pull request #14413 from esphome/bump-2026.2.3
2026.2.3
2026.2.3
2026-03-03 11:35:09 +13:00
Jonathan SwobodaandClaude Opus 4.6 7a87348855 [ci] Skip PR title check for dependabot PRs (#14418)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 16:49:14 -05:00
J. Nick Koston 2e623fd6c3 [tests] Fix flaky log assertion race in oversized payload tests (#14414) 2026-03-02 11:48:50 -10:00
dependabot[bot] 727fa07377 Bump github/codeql-action from 4.32.4 to 4.32.5 (#14416)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 11:44:53 -10:00
Lino Schmidt 5510b45f3b [const] Move CONF_WATCHDOG (#14415) 2026-03-02 11:43:06 -10:00
J. Nick Koston 3615a7b90c [core] Eliminate __udivdi3 in millis() on ESP32 and RP2040 (#14409) 2026-03-02 11:42:25 -10:00
J. Nick Koston d1de50c0e5 [core] Add ESP8266 support to wake_loop_any_context() (#14392) 2026-03-02 21:11:04 +00:00
J. Nick Koston 7e4191028a Merge remote-tracking branch 'upstream/dev' into integration 2026-03-02 10:33:54 -10:00
Jesse Hills dc56cd1d1f Bump version to 2026.2.3 2026-03-03 08:57:52 +13:00
Jonathan SwobodaandClaude Opus 4.6 d2a819eb77 [uart] Fix flow_control_pin inverted flag ignored on ESP-IDF (#14410)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 08:57:52 +13:00
J. Nick Koston 0ac61cbb9b [improv_serial] Add missing USE_IMPROV_SERIAL define to fix WiFi scan filtering (#14359) 2026-03-03 08:57:47 +13:00
Jonathan SwobodaandCopilot c9c99a22e0 [core] Defer entity automation codegen to prevent sibling ID deadlocks (#14381)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-03 08:57:02 +13:00
Clyde Stubbs 91250fd46c [mipi_dsi] Fix Waveshare P4 7B board config (#14372) 2026-03-03 08:52:47 +13:00
J. Nick Koston 641914cdbe [uart] Revert UART0 default pin workarounds (fixed in ESP-IDF 5.5.2) (#14363) 2026-03-03 08:52:47 +13:00
Jonathan SwobodaandCopilot 840859ab7c [zigbee] Fix codegen ordering for basic/identify attribute lists (#14343)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-03 08:52:47 +13:00
Jonathan SwobodaandCopilot 97b712da98 [cc1101] Transition through IDLE in begin_tx/begin_rx for reliable state changes (#14321)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-03 08:52:47 +13:00
b5c36140fa [sprinkler] Fix millis overflow and underflow bugs (#14299)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-03 08:52:47 +13:00
J. Nick Koston 48a9c1cd67 [mqtt] Remove broken ESP8266 ssl_fingerprints option (#14182) 2026-03-03 08:52:47 +13:00
Jonathan SwobodaandClaude Opus 4.6 38f671a923 [uart] Fix flow_control_pin inverted flag ignored on ESP-IDF (#14410)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 08:52:06 +13:00
J. Nick Koston 24f17b7529 Merge branch 'dev' into std-optional 2026-03-02 09:49:30 -10:00
J. Nick Koston 74eda7fc01 Merge remote-tracking branch 'origin/pack-entity-strings' into integration 2026-03-02 09:31:46 -10:00
J. Nick Koston bd35d55729 Merge remote-tracking branch 'origin/esp8266-wake-loop-any-context' into integration 2026-03-02 09:30:43 -10:00
J. Nick Koston 483b3cc553 Merge remote-tracking branch 'origin/esp32-millis-euclidean-decomposition' into integration 2026-03-02 09:30:38 -10:00
J. Nick Koston 9e97413a66 Merge branch 'dev' into pack-entity-strings 2026-03-02 09:28:23 -10:00
J. Nick Koston 760fa7c050 Merge branch 'dev' into esp32-millis-euclidean-decomposition 2026-03-02 09:28:12 -10:00
J. Nick Koston d0930a4766 lint 2026-03-02 09:20:09 -10:00
J. Nick Koston 641d188dec lint 2026-03-02 09:19:58 -10:00
J. Nick Koston d55cf73021 Merge branch 'dev' into esp8266-wake-loop-any-context 2026-03-02 09:18:14 -10:00
J. Nick Koston cb232d8288 [core] Fix compile-time loop() detection for multiple inheritance (#14411) 2026-03-02 19:11:47 +00:00
J. Nick Koston 2fa244715d [socket] Fix pre-existing bugs found during socket devirtualization review (#14404) 2026-03-02 08:54:54 -10:00
J. Nick Koston a802cbcf47 Merge remote-tracking branch 'upstream/esp8266-wake-loop-any-context' into integration 2026-03-02 08:47:56 -10:00
J. Nick Koston fda0e784d3 switch to forward dec 2026-03-02 08:47:16 -10:00
J. Nick Koston e32adb8633 Merge remote-tracking branch 'upstream/fix-loop-ambiguous-multiple-inheritance' into integration 2026-03-02 08:15:30 -10:00
J. Nick Koston d088c98218 Merge remote-tracking branch 'upstream/esp8266-wake-loop-any-context' into integration 2026-03-02 08:15:26 -10:00
J. Nick Koston 9e4a04b732 Merge branch 'dev' into esp8266-wake-loop-any-context 2026-03-02 08:11:10 -10:00