J. Nick Koston
32975c9d8b
[select][lvgl] Fix FixedVector size() returning 0 when using operator[] after init() ( #11721 )
2025-11-05 01:49:27 +00:00
Keith Burzinski
266e4ae91f
[helpers] Add get_mac_address_into_buffer() ( #11700 )
2025-11-03 23:30:37 +00:00
J. Nick Koston
f3634edc22
[select] Store options in flash to reduce RAM usage ( #11514 )
2025-10-29 15:28:16 +13:00
J. Nick Koston and Jesse Hills
e1c851cab8
[wifi] Optimize WiFi network storage with FixedVector ( #11458 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-10-22 05:23:10 +00:00
Juan Antonio Aldea
0f87e7508b
remove hexencode due 2022.1 deprecation ( #11383 )
2025-10-19 13:09:28 -10:00
J. Nick Koston
70cb1793f3
[wifi] Optimize WiFi scan results with in-place construction ( #11330 )
2025-10-19 19:53:05 +00:00
J. Nick Koston
63a87a5ef3
[core] Use FixedVector for automation condition vectors to save 384 bytes flash ( #11237 )
2025-10-14 14:27:10 -10:00
J. Nick Koston and Copilot
8a15c18066
[bluetooth_proxy] Use FixedVector for GATT characteristics and descriptors ( #11214 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 16:05:13 +13:00
J. Nick Koston and Copilot
8d8fcfeda2
[core] Add make_name_with_suffix helper to optimize string concatenation ( #11176 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 09:39:38 +13:00
J. Nick Koston
0f356fcc79
[core] Optimize looping_components_ with FixedVector to save flash ( #11183 )
2025-10-14 09:20:43 +13:00
J. Nick Koston
5932a4bd0e
[web_server] Reduce flash and RAM usage by optimizing string construction ( #10986 )
2025-10-06 09:42:23 +13:00
J. Nick Koston
0fd71ca211
[mdns][openthread] Use StaticVector for services storage with compile-time capacity ( #10976 )
2025-10-06 09:30:17 +13:00
J. Nick Koston
3eb502b328
Add sha256 support ( #10882 )
2025-09-26 08:53:21 +12:00
J. Nick Koston
9c85a7eff3
[core] Optimize MAC address formatting to eliminate sprintf dependency ( #10713 )
2025-09-15 09:50:38 +12:00
J. Nick Koston
1a054299d4
[core] Optimize fnv1_hash to avoid string allocations for static entities ( #10529 )
2025-09-02 21:17:14 -05:00
Jesse Hills
0b50ef227b
[helper] Make crc8 function more flexible to avoid reimplementation in individual components ( #10201 )
2025-08-20 14:27:08 +12:00
J. Nick Koston
d86e1e29a9
[core] Convert components, devices, and areas vectors to static allocation ( #10020 )
2025-08-04 13:51:50 +12:00
J. Nick Koston
4f58e1c8b9
[core] Convert entity vectors to static allocation for reduced memory usage ( #10018 )
2025-08-01 20:26:22 -10:00
Jimmy Hedman and Jesse Hills
a3690422bf
Fail with old lerp ( #9914 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-07-28 15:19:17 +12:00
Keith Burzinski
a3e626757e
[helpers] Add "unknown" value handling to `Deduplicator` ( #9855 )
2025-07-23 21:22:54 -05:00
J. Nick Koston
b1048d6e25
Fix lwIP thread safety assertion failures on ESP32 ( #9570 )
2025-07-17 17:06:57 +12:00
5d9cba3dce
[nrf52, core] nrf52 core based on zephyr ( #7049 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Samuel Sieb <samuel-github@sieb.net >
Co-authored-by: Tomasz Duda <tomaszduda23@gmai.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-07-16 13:00:21 +12:00
J. Nick Koston
d31b8ad2e2
Fix dormant bug in RAMAllocator::reallocate() manual_size calculation ( #9482 )
2025-07-14 00:58:07 +00:00
Jesse Hills
256f9f9943
[helpers] Improve `format_hex_pretty` ( #9380 )
2025-07-08 01:30:23 +00:00
J. Nick Koston and Copilot
b6fade7339
Fix defer() thread safety issues on multi-core platforms ( #9317 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-07 10:01:51 +12:00
Jesse Hills
6a096c1d5a
[api] Dump bytes fields as hex instead of unreadable string ( #9288 )
2025-07-02 13:36:15 +12:00
Jimmy Hedman
30f61b26ff
Remove backports of std ( #9246 )
2025-06-29 07:56:12 +12:00
Keith Burzinski
9f831e91b3
[helpers] Add `format_mac_address_pretty` function, migrate components ( #9193 )
2025-06-25 12:36:33 +12:00
J. Nick Koston
dcfe7af9d3
Make ParseOnOffState enum uint8_t ( #9083 )
2025-06-15 14:44:45 +12:00
487e1f871f
use `encode_uintXX` ( #8847 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-06-11 17:06:45 +12:00
Jesse Hills
a6fa963605
[core] Add some missing includes ( #8864 )
2025-05-21 20:02:14 +12:00
Kevin Ahrendt
bd853e6883
[core] add reallocation support to RAMAllocator ( #8390 )
2025-03-13 07:04:05 +11:00
Jesse Hills
0350eafc1e
[helpers] Allow RAMAllocator to be told the size of the object manually ( #8356 )
2025-03-03 01:11:19 -06:00
Djordje Mandic
d8c943972b
[core] fix comment for crc8 function in helpers.h ( #8016 )
2025-01-13 17:05:53 +13:00
Clyde Stubbs
b33b4481ea
[helpers] Provide calls to get free heap and largest available block. ( #7978 )
2024-12-19 16:40:08 +13:00
Keith Burzinski
bdb91112ea
[helpers] Add NOLINT for Mutex private field `handle_` ( #7838 )
2024-11-25 16:20:03 -06:00
Oleg Tarasov
89ecfc2004
[opentherm] Fix out of memory errors on ESP8266 ( #7835 )
2024-11-26 10:47:01 +13:00
tomaszduda23 and Tomasz Duda
71e1e3b5f8
let make new platform implementation in external components ( #7615 )
...
Co-authored-by: Tomasz Duda <tomaszduda23@gmai.com >
2024-10-29 16:58:36 +13:00
Pietro
42f6095960
[core][esp32_rmt_led_strip] Migrate ExternalRAMAllocator to RAMAllocator
...
And add psram flag to esp32_rmt_led_strip
Co-authored-by: guillempages <guillempages@users.noreply.github.com >
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com >
2024-10-13 20:24:17 +11:00
Keith Burzinski
529ff4bd52
[wifi] Use custom MAC address if programmed ( #7498 )
2024-09-27 10:24:18 +12:00
Jesse Hills
b0d9800817
[helpers] Set default flags of ExternalRAMAllocator to ALLOW_FAILURE ( #7201 )
2024-08-06 05:02:08 -05:00
Andreas Fritiofson
582386d3a2
Make crc8 const-correct ( #7027 )
2024-07-02 13:47:56 +12:00
Gábor Poczkodi
6e4fd428e7
[helpers] Move Base64 string to cpp ( #6819 )
2024-05-28 08:19:22 +12:00
tomaszduda23
f1584205af
[core] Rename ALWAYS_INLINE to ESPHOME_ALWAYS_INLINE ( #6636 )
2024-05-06 07:52:47 +12:00
Evgeny and Jesse Hills
a7079f8fba
Added base64 helper ( #4866 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-04-24 15:07:07 +12:00
a9630ac847
Support for LibreTiny platform (RTL8710, BK7231 & other modules) ( #3509 )
...
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl >
Co-authored-by: Sam Neirinck <git@samneirinck.com >
Co-authored-by: David Buezas <dbuezas@users.noreply.github.com >
Co-authored-by: Stroe Andrei Catalin <catalin2402@gmail.com >
Co-authored-by: Sam Neirinck <github@samneirinck.be >
Co-authored-by: Péter Sárközi <xmisterhu@gmail.com >
Co-authored-by: Hajo Noerenberg <hn@users.noreply.github.com >
2023-09-05 10:16:08 +12:00
Mat931 and Jesse Hills
98bf427600
Add standardized CRC helper functions ( #4798 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-07-30 21:45:56 +00:00
Jesse Hills
d238155640
Add size getter to CallbackManager ( #5129 )
2023-07-20 12:37:42 +12:00
Jesse Hills
b60c08dd28
Add push to talk voice assistant ( #4648 )
...
* Add push to talk voice assistant
* Refactor most code into voice_assistant
* Make voice_assistant the component and remove push_to_talk (can be done in yaml)
* Fix component setup
* Always AF_INET to match serverside
* Fix microphone and media player co-existence
* Format
* Update codeowners
* Update test file
* Fix endifs
* nullptr not NULL
* clang-tidy
* Format
* fixup: Add VA event data
* Generate proto
* Parse and log events
* Add default to switch
* Fix
* Add mic/va to test5
2023-04-11 23:45:10 +00:00
Jesse Hills
a1eb3b8475
Swap curly brackets for round on LockGuard ( #4610 )
2023-03-22 07:56:02 +00:00