Commit Graph
24422 Commits
Author SHA1 Message Date
J. Nick Koston e7f2021864 [http_request] Replace std::map with std::vector in action template (#14026) 2026-02-18 21:32:24 -06:00
J. Nick Koston dff9780d3a [core] Use constexpr for compile-time constants (#14071) 2026-02-19 03:19:48 +00:00
J. Nick Koston 20239d1bb3 [remote_base] Use constexpr for compile-time constants (#14076) 2026-02-19 03:16:09 +00:00
J. Nick Koston d3fc9ec1ec Merge branch 'constexpr-cse7761' into integration 2026-02-18 21:13:42 -06:00
J. Nick Koston 5cb0267d4d [cse7761] Use constexpr for compile-time constants 2026-02-18 21:13:19 -06:00
J. Nick Koston ee7d63f73a [packet_transport] Use constexpr for compile-time constants (#14074) 2026-02-18 21:09:49 -06:00
J. Nick Koston ecdbe18cf6 Merge branch 'constexpr-ble-followup' into integration 2026-02-18 21:08:46 -06:00
J. Nick Koston a8cf54face [bluetooth_proxy] Use constexpr for remaining compile-time constants
Followup to #14073 addressing review feedback.
2026-02-18 21:08:08 -06:00
J. Nick Koston 76c151c6e6 [api] Use constexpr for compile-time constant (#14072) 2026-02-18 21:07:38 -06:00
J. Nick Koston 9c9365c146 [bluetooth_proxy][esp32_ble_client][esp32_ble_server] Use constexpr for compile-time constants (#14073) 2026-02-18 21:07:06 -06:00
J. Nick Koston 8f9581c5ce Merge branch 'constexpr-ld2420' into integration 2026-02-18 21:05:35 -06:00
J. Nick Koston 115d700e5c [ld2420] Use constexpr for compile-time constants 2026-02-18 21:03:36 -06:00
J. Nick Koston 8e83c141a9 Merge branch 'constexpr-nfc' into integration 2026-02-18 21:02:19 -06:00
J. Nick Koston 48502d22e6 Merge branch 'constexpr-pn71xx' into integration 2026-02-18 21:02:14 -06:00
J. Nick Koston 7e118178b3 [web_server] Fix water_heater JSON key names and move traits to DETAIL_ALL (#14064) 2026-02-18 21:00:24 -06:00
J. Nick Koston 66d2ac8cb9 [web_server] Move climate static traits to DETAIL_ALL only (#14066) 2026-02-18 21:00:09 -06:00
J. Nick Koston 70b77754c5 [pn7160] Use constexpr for compile-time constants
pn7160.h and pn7150.h are each included by 3 translation units,
so static const causes duplicate copies in each TU's literal pool.
constexpr allows the compiler to use immediate values instead.
2026-02-18 20:59:31 -06:00
J. Nick Koston e4c233b6ce [mqtt] Use constexpr for compile-time constants (#14075) 2026-02-18 20:59:31 -06:00
J. Nick Koston c855e20434 [nfc] Use constexpr for compile-time constants
These headers are included by multiple translation units, so
static const causes duplicate copies in each TU's literal pool.
constexpr allows the compiler to use immediate values instead.
2026-02-18 20:58:19 -06:00
J. Nick Koston be853afc24 [core] Conditionally compile setup_priority override infrastructure (#14057) 2026-02-18 20:57:56 -06:00
J. Nick Koston 683f5783dd Merge branch 'constexpr-remote-base' into integration 2026-02-18 20:56:11 -06:00
J. Nick Koston e756ae1f0c Merge branch 'constexpr-mqtt' into integration 2026-02-18 20:56:06 -06:00
J. Nick Koston ac0d163b0e Merge branch 'constexpr-packet-transport' into integration 2026-02-18 20:55:55 -06:00
J. Nick Koston 6bb4f24e6f Merge branch 'constexpr-ble' into integration 2026-02-18 20:55:50 -06:00
J. Nick Koston 52e6633e6e Merge branch 'constexpr-api' into integration 2026-02-18 20:55:43 -06:00
J. Nick Koston f9c171b347 Merge branch 'constexpr-core-constants' into integration 2026-02-18 20:55:39 -06:00
J. Nick Koston ba30496a7e Merge branch 'constexpr-high-impact-constants' into integration 2026-02-18 20:55:31 -06:00
J. Nick Koston 4eeef177af [remote_base] Use constexpr for compile-time constants 2026-02-18 20:39:45 -06:00
J. Nick Koston e11dbed85f [mqtt] Use constexpr for compile-time constants 2026-02-18 20:37:58 -06:00
J. Nick Koston 872594ec6f [packet_transport] Use constexpr for compile-time constants 2026-02-18 20:36:43 -06:00
J. Nick Koston 3ee7f3197c [bluetooth_proxy] Use constexpr for compile-time constants 2026-02-18 20:35:54 -06:00
J. Nick Koston abea6fabbb [api] Use constexpr for compile-time constant 2026-02-18 20:35:04 -06:00
J. Nick Koston cf2e9dfd11 [core] Use constexpr for compile-time constants
Replace const with constexpr for integer constants initialized
with literal values to enable compile-time evaluation.
2026-02-18 20:31:00 -06:00
J. Nick Koston 565443b710 [pulse_counter] Fix compilation on ESP32-C6/C5/H2/P4 (#14070) 2026-02-18 19:08:53 -06:00
J. Nick Koston 3b869f1720 [web_server] Double socket allocation to prevent connection exhaustion (#14067) 2026-02-18 19:01:37 -06:00
J. Nick Koston 5f82017a31 [udp] Register socket consumption for CONFIG_LWIP_MAX_SOCKETS (#14068) 2026-02-18 19:01:00 -06:00
J. Nick Koston c28f9b148c Merge branch 'udp-consume-sockets' into integration 2026-02-18 18:45:32 -06:00
J. Nick Koston c58ecaf909 Merge branch 'fix-pulse-counter-c6-compile' into integration 2026-02-18 18:45:24 -06:00
J. Nick Koston 9dd62b8c34 [pulse_counter] Fix compilation on ESP32-C6/C5/H2/P4
SOC_MOD_CLK_APB does not exist in the soc_module_clk_t enum on
ESP32-C6, C5, H2, and P4 variants. Revert to esp_clk_apb_freq()
which works on all variants and is the same function the ESP-IDF
PCNT driver uses internally for glitch filter calculation.
2026-02-18 18:39:35 -06:00
J. Nick Koston 2ddf46ff0a Fix ConfigType import 2026-02-18 18:31:41 -06:00
J. Nick Koston d814b0fc77 [udp] Register socket consumption for CONFIG_LWIP_MAX_SOCKETS
The UDP component creates up to 2 sockets (broadcast + listen) but
did not register them with the socket consumption API. This could
cause CONFIG_LWIP_MAX_SOCKETS to be set too low on ESP32 IDF.

Closes https://github.com/esphome/esphome/issues/14031
2026-02-18 18:27:41 -06:00
J. Nick Koston 5226a4dd75 Merge branch 'web-server-bump-sockets' into integration 2026-02-18 18:24:18 -06:00
J. Nick Koston 0393cae770 Merge remote-tracking branch 'upstream/dev' into integration
# Conflicts:
#	esphome/components/http_request/http_request.h
#	esphome/components/http_request/http_request_arduino.cpp
#	esphome/components/http_request/http_request_arduino.h
#	esphome/components/http_request/http_request_host.cpp
#	esphome/components/http_request/http_request_host.h
#	esphome/components/http_request/http_request_idf.cpp
#	esphome/components/http_request/http_request_idf.h
#	esphome/core/component.cpp
2026-02-18 18:23:52 -06:00
J. Nick Koston 3db34b4029 [web_server] Double socket allocation to prevent connection exhaustion
Browsers open multiple concurrent connections for page resources, SSE
event streams, and POST requests for entity control. POST connections
may linger before closing, causing httpd_accept_conn errors (ENFILE)
when the socket pool is too small.
2026-02-18 18:18:59 -06:00
J. Nick Koston 86ad7f287c Merge branch 'json_web_server_stack' into integration 2026-02-18 18:11:12 -06:00
J. Nick Koston 2dd767ed3f [json] Bump heap fallback cap from 4096 to 5120
Aligns with the doubling sequence from 640: 1280 -> 2560 -> 5120.
2026-02-18 18:10:29 -06:00
J. Nick Koston d967f47f3e [json] Increase SerializationBuffer stack size from 512 to 640 bytes
The reduction from 768 to 512 was overly aggressive - the stack
overflow was caused by the 1400+ byte multipart parser, not the
serialization buffer. 640 bytes covers climate DETAIL_ALL payloads
(~520 bytes) on the stack without heap fallback.
2026-02-18 18:07:23 -06:00
J. Nick Koston fee4dc6783 Merge remote-tracking branch 'origin/integration' into integration 2026-02-18 17:54:21 -06:00
J. Nick Koston 52e870a10b Merge branch 'json_web_server_stack' into integration 2026-02-18 17:54:03 -06:00
J. Nick Koston bb6600985f [json] Make heap fallback max size constexpr 2026-02-18 17:53:29 -06:00