Jesse Hills
bfb8569636
[esp32] Trim mbedTLS to client-only defaults and stub vasprintf on the C6
...
Linking an HTTPS client (http_request, mqtt) pulls in TLS features no
ESPHome client ever negotiates: the server-side handshake, static RSA and
static ECDH key exchange, renegotiation, session tickets, AES-CCM suites,
the EC private-key parsing extras and deterministic ECDSA. Two new esp32
advanced options, on by default, turn them off and save around 14 KB per
build; OpenThread opts back in through require hooks because its DTLS
commissioner is a server and it uses CCM and deterministic ECDSA directly.
On the ESP32-C6 the ROM exports a full-format vsnprintf but no vasprintf,
so esp_http_client's vasprintf call was the only thing dragging newlib's
printf engine (~20 KB) into the image. A linker-wrapped vasprintf built on
the ROM vsnprintf keeps it out.
2026-09-11 16:56:08 +12:00
J. Nick Koston
c6d423159c
[esp32] Only build the mbedTLS certificate bundle when a component needs it ( #18747 )
2026-08-25 17:26:18 +12:00
Keith Burzinski and pre-commit-ci-lite[bot]
1cc83172ab
[ota] Multi-key OTA signature verification for external RSA signing ( #17981 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-08-05 14:24:38 -05:00
Jonathan Swoboda
8a7d2d0ca0
[ci] Enforce list form for platform domains in test fixtures ( #17869 )
2026-07-26 19:01:15 -04:00
Keith Burzinski
bcfb438a81
[esp32] Do not require verification_key with Secure Boot V2 signing schemes ( #17497 )
2026-07-13 16:23:40 +12:00
Keith Burzinski
9aed1d2700
[esp32] Add NVS encryption (HMAC scheme) ( #17004 )
2026-07-07 16:04:38 +12:00
Keith Burzinski and Claude Opus 4.8
d9998eff20
[esp32] Add software OTA downgrade protection ( #17315 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-06 20:39:18 -04:00
rwrozelle and J. Nick Koston
d5263cd46e
[esp32] add watchdog_timeout configuration variable ( #15908 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-04-22 13:01:23 +00:00
Keith Burzinski
ee91ad8f06
[esp32] Add Secure Boot V1 ECDSA signing scheme for pre-rev-3.0 ESP32 ( #15882 )
2026-04-22 11:25:05 +12:00
Keith Burzinski and Claude Opus 4.6
07f6be679f
[esp32] Add signed app verification without hardware secure boot ( #15357 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-05 21:20:48 -05:00
J. Nick Koston
0fb31726f6
[esp32] Add sram1_as_iram option and bootloader version detection ( #14874 )
2026-03-23 13:39:29 -10:00
96da6dd075
[esp32] Add custom partitions and refactor partition table generation ( #7682 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-19 07:41:11 -04:00
J. Nick Koston and Claude Opus 4.6
49cc389bf0
[esp32] Wrap printf/vprintf/fprintf to eliminate _vfprintf_r (~11 KB flash) ( #14362 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-27 17:28:05 -10:00
Jonathan Swoboda and Claude Opus 4.6
9ce01fc369
[esp32] Add engineering_sample option for ESP32-P4 ( #14139 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-20 11:20:05 -05:00
Jonathan Swoboda and Claude Opus 4.6
548b7e5dab
[esp32] Fix ESP32-P4 test: replace stale esp_hosted component ref ( #13920 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-11 00:04:12 +00:00
J. Nick Koston
ecc0b366b3
[esp32] Reduce compile time by excluding unused IDF components ( #13610 )
2026-01-29 13:21:12 -06:00
J. Nick Koston
74c84c8747
[esp32] Add advanced sdkconfig options to reduce build time and binary size ( #13611 )
2026-01-28 18:20:39 -10:00
J. Nick Koston
73a249c075
[esp32] Default to CMN certificate bundle, saving ~51KB flash ( #13574 )
2026-01-28 04:02:01 +00:00
Jonathan Swoboda and Claude
1122ec354f
[esp32] Add OTA rollback support ( #12460 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-16 20:07:57 -05:00
Jonathan Swoboda and Claude
0da157ab98
[tests] Bump esp32_hosted in the test code ( #12289 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-04 21:14:30 +00:00
Jonathan Swoboda
a7a5a0b9a2
[esp32] Improve IDF component support ( #12127 )
2025-11-26 22:46:17 -05:00
Clyde Stubbs and Jonathan Swoboda
0afcf67c32
[esp32] Add sdkconfig flag to make OTA work for 32MB flash ( #11883 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2025-11-13 10:52:08 -05:00
Clyde Stubbs
ab5d8f67ae
[core] Add helper functions for clamp_at_... ( #10387 )
2025-11-06 15:48:02 +13:00
cb039b42aa
[esp32] Make the loop task's stack size configurable ( #10564 )
...
Co-authored-by: Paul Strawder <paul@korro.ai >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2025-11-03 16:34:53 +00:00
J. Nick Koston and Copilot
2b3e7f38d2
[esp32] Add option to disable libc locks in IRAM, saving ~1.3KB RAM ( #10930 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-15 09:34:14 -10:00
Clyde Stubbs and Jesse Hills
940a8b43fa
[esp32] Add config option to execute from PSRAM ( #9907 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-08-01 16:07:11 +10:00
J. Nick Koston
b2a8b0a22f
Add pre-commit hooks to fix common formatting issues causing CI failures ( #9494 )
2025-07-15 12:25:18 +12:00
J. Nick Koston and Keith Burzinski
b7ca6e087a
Add LWIP optimization options to reduce flash usage ( #8946 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2025-06-09 06:08:10 +00:00