Commit Graph
20307 Commits
Author SHA1 Message Date
J. Nick Koston ee65f2f0cd [adc] Combine log statements to reduce loop blocking (#12841) 2026-01-03 15:24:41 -10:00
J. Nick Koston c2c7d4e89d Merge branch 'heap-in-iram-flash' into integration 2026-01-03 15:22:29 -10:00
J. Nick Koston ba1bbaf67d [esp32] Move heap functions to flash, saving ~6KB
This is the culmination of months of work to reduce heap churn
throughout the ESPHome codebase. By systematically eliminating
unnecessary dynamic allocations (StaticVector, FixedVector, const
char* instead of std::string, pre-allocated buffers, etc.), heap
functions are now called so infrequently that they can safely be
moved from IRAM to flash.

Enable CONFIG_HEAP_PLACE_FUNCTION_INTO_FLASH by default, which moves
malloc/free/realloc from IRAM to flash. This is safe because:
- Heap functions should never be called from ISRs
- CONFIG_SPI_MASTER_ISR_IN_IRAM is not enabled
- Audio/video use pre-allocated ring buffers, not dynamic allocation

Measured results: +6,124 bytes of heap freed.

Add heap_in_iram advanced option as an escape hatch for users who
need heap functions in IRAM for specific use cases.
2026-01-03 15:10:32 -10:00
J. Nick Koston 723ccd7547 [ade7880] Combine log statements to reduce loop blocking (#12842) 2026-01-03 15:05:41 -10:00
J. Nick Koston 102862e99d [ads1115] Combine log statements to reduce loop blocking (#12843) 2026-01-03 15:05:29 -10:00
J. Nick Koston 9cb265347c [ads1118] Combine log statements to reduce loop blocking (#12844) 2026-01-03 15:05:15 -10:00
J. Nick Koston d84562f878 [anova] Combine log statements to reduce loop blocking (#12845) 2026-01-03 15:04:57 -10:00
J. Nick Koston 6bbee3cfc6 [as3935] Combine log statements to reduce loop blocking (#12846) 2026-01-03 15:04:38 -10:00
J. Nick Koston 41e7ecb29f [bedjet] Combine log statements to reduce loop blocking (#12848) 2026-01-03 15:04:21 -10:00
J. Nick Koston 0196d6ee55 [ble_nus] Combine log statements to reduce loop blocking (#12850) 2026-01-03 15:03:44 -10:00
J. Nick Koston ea848db683 [bp1658cj] Combine log statements to reduce loop blocking (#12851) 2026-01-03 15:03:20 -10:00
J. Nick Koston 41a188ac35 [ac_dimmer] Fix ESP8266 build by requiring waveform support (#12852) 2026-01-03 15:03:01 -10:00
J. Nick Koston 8ddfeb2d38 [captive_portal] Combine log statements to reduce loop blocking (#12853) 2026-01-03 15:02:26 -10:00
J. Nick Koston d364432e3a [uart] Combine log statements to reduce loop blocking (#12855) 2026-01-03 15:02:12 -10:00
J. Nick Koston 2a6b192af8 [ethernet] Combine log statements to reduce loop blocking (#12854) 2026-01-03 15:01:35 -10:00
J. Nick Koston 07a581e13a [update] Combine log statements to reduce loop blocking (#12857) 2026-01-03 15:01:24 -10:00
J. Nick Koston 5f5edf90e9 [water_heater] Combine log statements to reduce loop blocking (#12858) 2026-01-03 15:01:12 -10:00
J. Nick Koston 5e24469ce3 [http_request] Combine log statements to reduce loop blocking (#12859) 2026-01-03 15:01:01 -10:00
J. Nick Koston d7a1ac83ca [esp32_ble_tracker] Combine log statements to reduce loop blocking (#12860) 2026-01-03 15:00:51 -10:00
f11abc7dbf [water_heater] (2/4) Implement template for new water_heater component (#12516)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
2026-01-03 14:45:49 -10:00
J. Nick Koston f98cc96a6f Merge branch 'combine-logs-captive_portal' into integration 2026-01-03 14:35:05 -10:00
J. Nick Koston dff89193dd Merge branch 'combine-logs-uart' into integration 2026-01-03 14:35:01 -10:00
J. Nick Koston b868d0f254 Merge branch 'combine-logs-ethernet' into integration 2026-01-03 14:34:54 -10:00
tomaszduda23 ec05692f0d [nrf52] add printk doc (#12839) 2026-01-04 00:12:31 +00:00
J. Nick Koston 2e2e54811a [absolute_humidity] Combine log statements to reduce loop blocking (#12838) 2026-01-03 17:52:23 -06:00
J. Nick Koston 6d7949c686 [uart] Combine log statements to reduce loop blocking 2026-01-03 13:26:17 -10:00
J. Nick Koston f78cf6d6b3 [ethernet] Combine log statements to reduce loop blocking 2026-01-03 13:25:58 -10:00
J. Nick Koston 8f77e0712e [captive_portal] Combine log statements to reduce loop blocking 2026-01-03 13:25:38 -10:00
Clyde Stubbs c29aa61e2a [image] Use alternative version of CairoSVG on Windows (#12811) 2026-01-04 10:08:47 +11:00
J. Nick Koston cb3edfc654 [wifi] Use stack-based MAC formatting in ESP8266 and IDF event handlers (#12834) 2026-01-03 12:32:22 -10:00
J. Nick Koston 6685fa1da9 [core] Fix startup delay from setup timing logs when console connected (#12832) 2026-01-03 12:32:10 -10:00
J. Nick Koston d505f0316b [wifi] Combine scan result log lines to reduce loop blocking with many matching APs (#12830) 2026-01-03 12:31:58 -10:00
J. Nick Koston 9781073f2a [espnow] Use stack-based MAC formatting and remove dead code (#12836) 2026-01-03 12:31:38 -10:00
John Hollowell 0a0501c140 Fix comment typos (#12828) 2026-01-03 17:11:48 -05:00
Jasper van der Neut - Stulen a6e9aa7876 [mhz19] Refactor Actions to Parented (#12837) 2026-01-03 17:11:02 -05:00
Conrad Juhl Andersen ede7391582 [wts01] Fix negative values for WTS01 sensor (#12835) 2026-01-03 17:06:33 -05:00
J. Nick Koston 1a86f7c67c Merge branch 'espnow_mac_format' into integration 2026-01-03 11:05:42 -10:00
J. Nick Koston 8a59e13bbc [espnow] Use stack-based MAC formatting and remove dead code 2026-01-03 11:05:20 -10:00
J. Nick Koston 7e31e9823b Merge branch 'wifi_esp8266_idf_format_mac_address_pretty' into integration 2026-01-03 10:59:49 -10:00
J. Nick Koston becab116c7 [wifi] Use stack-based MAC formatting in ESP8266 and IDF event handlers 2026-01-03 10:59:27 -10:00
J. Nick Koston 28bad19900 Merge branch 'libretiny_thread_safe_wifi' into integration 2026-01-03 10:52:10 -10:00
J. Nick Koston eada23d587 optimize away 2026-01-03 10:51:56 -10:00
Jasper van der Neut - StulenandFabio Pugliese Ornellas 5cfcf8d104 [mhz19] Make detection range configurable (#12677)
Co-authored-by: Fabio Pugliese Ornellas <fabio.ornellas@gmail.com>
2026-01-03 15:51:48 -05:00
J. Nick Koston a1e5d59161 Merge branch 'libretiny_thread_safe_wifi' into integration 2026-01-03 10:48:33 -10:00
J. Nick Koston 2074447120 tune 2026-01-03 10:48:24 -10:00
J. Nick Koston f267eac729 Merge branch 'libretiny_thread_safe_wifi' into integration 2026-01-03 10:42:23 -10:00
J. Nick Koston 9187bf52e6 tweak 2026-01-03 10:42:06 -10:00
J. Nick Koston a95dcad380 Merge branch 'libretiny_thread_safe_wifi' into integration 2026-01-03 10:23:37 -10:00
J. Nick Koston f0a496b08d [wifi] Fix LibreTiny thread safety with queue-based event handling 2026-01-03 10:22:08 -10:00
J. Nick Koston cc56702e79 Merge branch 'no_delay_startup_many_entities' into integration 2026-01-03 09:34:22 -10:00