J. Nick Koston
8bf96fa20f
Add static_assert for MAIN_TASK_PRIORITY < configMAX_PRIORITIES
2026-03-02 15:30:54 -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 Ahrendt
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
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
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 Swoboda
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
Jesse Hills
dc56cd1d1f
Bump version to 2026.2.3
2026-03-03 08:57:52 +13:00
Jonathan Swoboda
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 Swoboda
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 Swoboda
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 Swoboda
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
Jonathan Swoboda
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 Swoboda
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
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
netixx
b9b1af1c3d
[mcp23016] Fix register access to use 16-bit paired transactions ( #13676 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-03-02 17:38:28 +00:00
J. Nick Koston
a1d91ac779
[core] Compile-time detection of loop() overrides ( #14405 )
2026-03-02 06:59:23 -10:00
J. Nick Koston
585e195044
[socket] Devirtualize socket abstraction layer ( #14398 )
2026-03-02 06:58:31 -10:00
J. Nick Koston
39572d9628
[light] Resolve effect names to indices at codegen time ( #14265 )
2026-03-02 06:58:15 -10:00
J. Nick Koston
f278250740
[core] Deduplicate ControllerRegistry notify dispatch loop ( #14394 )
2026-03-02 06:57:59 -10:00
J. Nick Koston
54f410901f
[web_server] Avoid temporary std::string allocations in request parameter parsing ( #14366 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-02 06:57:39 -10:00
J. Nick Koston
00242443e1
[light] Replace powf gamma with pre-computed lookup tables (LUT) ( #14123 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-02 06:57:23 -10:00
J. Nick Koston
82da4935b6
[core] Auto-wrap static strings in PROGMEM on ESP8266 via TemplatableValue ( #13885 )
2026-03-02 06:57:08 -10:00
J. Nick Koston
1c5fd8bbd4
[core] Move millis_64 rollover tracking out of Scheduler ( #14360 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-02 06:56:51 -10:00
Copilot
77a7cbcffd
Use cached files on network errors in external_files ( #14055 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: jesserockz <3060199+jesserockz@users.noreply.github.com >
2026-03-02 11:41:20 -05:00
Bonne Eggleston
3160457ca6
Create integration tests for modbus ( #14395 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-01 22:51:27 -10:00
schrob
590ee81f7a
[openthread] Disable default enabled OT console build ( #14390 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-02 06:16:36 +00:00
J. Nick Koston
9d4357c619
[core] Wake main loop from ISR in enable_loop_soon_any_context() ( #14383 )
2026-03-01 18:20:14 -10:00
J. Nick Koston
80a2acca4f
[ld2410] Add UART mock integration test for LD2410 component ( #14377 )
2026-03-01 18:19:32 -10:00
J. Nick Koston
f68a3ed15d
[api] Remove virtual destructor from ProtoMessage ( #14393 )
2026-03-01 18:09:00 -10:00
schrob
6d3d8970a6
[openthread] Disable default enabled OT diag code ( #14399 )
2026-03-01 22:47:02 -05:00
Thomas Rupprecht
073ca63f60
[rtttl] improve comments Part 2 ( #13971 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-01 22:44:02 -05:00
J. Nick Koston
0e18e4461e
[time,api] Send pre-parsed timezone struct over protobuf ( #14233 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-02 15:52:53 +13:00
J. Nick Koston
3e7424b307
[preferences] Reduce heap churn with small inline buffer optimization ( #13259 )
2026-03-02 14:22:55 +13:00
J. Nick Koston
48b5cae6c4
[api] Use StringRef for user service string arguments ( #13974 )
2026-03-02 10:32:44 +13:00
J. Nick Koston
a1760a1980
[improv_serial] Add missing USE_IMPROV_SERIAL define to fix WiFi scan filtering ( #14359 )
2026-03-02 09:23:10 +13:00
J. Nick Koston
19bbd39e33
[uart] Enable wake-on-RX by default on ESP32 ( #14391 )
2026-02-28 21:06:46 -06:00
J. Nick Koston
3f97b3b706
[core] Extract set_status_flag_ helper to deduplicate status_set methods ( #14384 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-28 14:27:06 -10:00
J. Nick Koston
82e620bcf5
[ld2450] Single-pass zone target counting ( #14387 )
2026-02-28 14:26:55 -10:00