Commit Graph
2317 Commits
Author SHA1 Message Date
J. Nick Koston b52bff16ec Merge branch 'host-pch' into esp32-pio-pch
# Conflicts:
#	esphome/components/host/__init__.py
2026-09-28 11:46:21 +02:00
J. Nick Koston b2c3b954d6 Precompile the host prefix on the ninja build through one shared helper 2026-09-28 11:45:48 +02:00
J. Nick Koston 58372c0bf8 Merge branch 'host-pch' into esp32-pio-pch
# Conflicts:
#	esphome/components/host/__init__.py
2026-09-28 11:39:04 +02:00
J. Nick Koston f28b569e9f Merge branch 'pch-strict-ci' into host-pch
# Conflicts:
#	esphome/components/host/__init__.py
2026-09-28 11:38:30 +02:00
J. Nick Koston 66717016d7 Merge branch 'platformio-pch-libretiny' into pch-strict-ci
# Conflicts:
#	esphome/build_gen/arduino8266.py
2026-09-28 11:36:36 +02:00
J. Nick Koston 8695e9a7c7 Merge branch 'esp8266-native-pch' into esp32-idf-pch 2026-09-28 11:36:03 +02:00
J. Nick Koston 38b06cbfbd Merge remote-tracking branch 'origin/dev' into esp8266-native-pch
# Conflicts:
#	esphome/arduino8266/framework.py
#	esphome/build_gen/arduino8266.py
#	esphome/build_helpers/ccache.py
#	tests/unit_tests/build_helpers/test_ccache.py
#	tests/unit_tests/test_arduino8266_toolchain.py
2026-09-28 11:35:49 +02:00
Jesse HillsandJ. Nick Koston 32e11c4f4a [host] Build natively with ninja instead of PlatformIO (#19214)
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
2026-09-28 11:29:59 +02:00
J. Nick Koston 934591058f [nrf52] Test that the mcumgr image is offered beside a UF2 (#19804) 2026-09-28 00:57:12 +02:00
J. Nick Koston 7cda9a2666 [core][sensor][binary_sensor][text_sensor][button][switch][number][select][debug][xiaomi_rtcgq02lm][tfluna][ld2412] Bind sub entity config and parent once with sub_* helpers (#19754) 2026-09-27 19:19:10 +02:00
J. Nick Koston 1f175c1942 [nrf52] Fetch only the nRF Connect SDK projects a build needs (#19735) 2026-09-27 19:18:08 +02:00
J. Nick Koston 06d88e0381 [core][sensor][binary_sensor][text_sensor][debug][xiaomi_rtcgq02lm] Add new_sub_sensor, new_sub_binary_sensor and new_sub_text_sensor helpers (#19725) 2026-09-27 12:08:36 +02:00
J. Nick Koston a6d525a44e [core] Make the generated apply function a template argument of ApplyAction and ApplyCondition (#19655) 2026-09-27 12:07:55 +02:00
J. Nick Koston 89ce3ab98c [nrf52] Run analyze-memory on the sdk-nrf toolchain (#19730) 2026-09-27 05:05:26 +01:00
J. Nick Koston 5d415ad505 [nrf52] Stream the SDK clone and resume it after an interruption (#19731) 2026-09-27 05:04:41 +01:00
J. Nick Koston 746691d5c2 [esp8266] Add native toolchain that builds the Arduino core without PlatformIO (#18539) 2026-09-26 20:44:09 +01:00
J. Nick Koston 12f5b0943b Merge branch 'host-pch' into esp32-pio-pch 2026-09-26 11:25:05 +01:00
J. Nick Koston d5b237f6e2 Merge branch 'pch-strict-ci' into host-pch 2026-09-26 11:25:05 +01:00
J. Nick Koston 7465c1ef02 Merge branch 'platformio-pch-libretiny' into pch-strict-ci 2026-09-26 11:25:05 +01:00
J. Nick Koston 45e79648a0 Merge branch 'esp8266-native-pch' into esp32-idf-pch 2026-09-26 11:25:04 +01:00
J. Nick Koston 3390a13e8c Merge branch 'esp8266-native-ci' into esp8266-native-pch
# Conflicts:
#	esphome/components/esp8266/__init__.py
2026-09-26 11:24:50 +01:00
J. Nick Koston 3bbe673ee5 Resolve the native backend from one shared table
The (platform, toolchain) mapping lived in both __main__ and the esp8266
component, so a renamed backend module meant editing two places and the
drift test only covered one. build_helpers/native.py now holds it; the
module stays import-light so the serial upload and logs fast path can
resolve a backend without pulling in a platform package.
2026-09-26 11:24:13 +01:00
J. Nick Koston 012a8f74e3 Merge branch 'host-pch' into esp32-pio-pch 2026-09-26 10:32:28 +01:00
J. Nick Koston 2d162da693 Merge branch 'pch-strict-ci' into host-pch 2026-09-26 10:32:27 +01:00
J. Nick Koston 2b9c549a0c Merge branch 'platformio-pch-libretiny' into pch-strict-ci 2026-09-26 10:32:27 +01:00
J. Nick Koston 0d0a808e49 Merge branch 'esp8266-native-pch' into esp32-idf-pch 2026-09-26 10:32:26 +01:00
J. Nick Koston 75cece4f4f Merge branch 'esp8266-native-ci' into esp8266-native-pch 2026-09-26 10:32:26 +01:00
J. Nick Koston cf6ada1e85 Merge remote-tracking branch 'origin/dev' into esp8266-arduino-toolchain 2026-09-26 10:32:25 +01:00
J. Nick Koston 22fa536fa5 Simplify the native toolchain driver
Drops the ninja dry-run probe (a second full manifest load and stat
sweep per build to suppress one line), the compile-database stamp file
(a plain mtime compare says the same), and the ccache sentinel
(resolve_ccache_path only spawns when it returns a value, so a plain
fallback never re-probes). The crash decoder resolves addr2line and
the ELF once per run instead of once per address, which removes the
module-level warn-dedup dict along with its test fixture. The size
summary uses the toolchain path it was handed rather than re-deriving
it, and its two failure branches merge.

The framework import moves into the functions that need it: the serial
upload and logs fast path resolves this module for artifact paths
alone and was paying 16 ms and 29 modules for the package-download
stack. test_lazy_imports now guards that module so it cannot come
back. analyze-memory's idedata candidate list learns the suffixed
native cache name, and warn_if_idedata_missing goes back to being a
one-for-one extraction.
2026-09-26 10:31:52 +01:00
J. Nick Koston 76de6a672c [core] Render an id constant in an apply field as the object it names (#19694) 2026-09-26 02:16:01 +01:00
64388318e8 [light] Replace restore_mode with restore_state (#18997)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
2026-09-26 08:47:25 +10:00
J. Nick Koston cdc10115e1 Merge branch 'host-pch' into esp32-pio-pch
# Conflicts:
#	esphome/writer.py
2026-09-25 16:24:08 +01:00
J. Nick Koston 427c2f4cb3 Merge branch 'pch-strict-ci' into host-pch
# Conflicts:
#	esphome/writer.py
2026-09-25 16:22:52 +01:00
J. Nick Koston dbecf359ac Merge branch 'platformio-pch-libretiny' into pch-strict-ci 2026-09-25 16:22:03 +01:00
J. Nick Koston 269374397e Merge branch 'esp8266-native-pch' into esp32-idf-pch 2026-09-25 16:22:02 +01:00
J. Nick Koston 25f600d437 Merge branch 'esp8266-arduino-toolchain' into esp8266-native-pch 2026-09-25 16:22:02 +01:00
J. Nick Koston 739cc7fb5a Merge remote-tracking branch 'origin/dev' into esp8266-arduino-toolchain 2026-09-25 16:22:01 +01:00
J. Nick Koston 2d8e43ef78 [ota] Add allow_plaintext_upload for devices that never migrated to encryption (#19396) 2026-09-25 15:42:52 +01:00
J. Nick Koston 211fd3ce54 [core] Dispatch controller updates through generated direct calls (#19588) 2026-09-24 17:24:10 +00:00
J. Nick Koston d7e5db3dc8 Merge branch 'host-pch' into esp32-pio-pch 2026-09-24 17:35:37 +01:00
J. Nick Koston ebbeb5a472 Merge branch 'pch-strict-ci' into host-pch 2026-09-24 17:35:37 +01:00
J. Nick Koston f5ba555acf Merge branch 'platformio-pch-libretiny' into pch-strict-ci 2026-09-24 17:35:36 +01:00
J. Nick Koston 9ddd2c5ee1 Merge branch 'esp8266-native-pch' into esp32-idf-pch 2026-09-24 17:35:35 +01:00
J. Nick Koston ce43590835 Merge branch 'esp8266-arduino-toolchain' into esp8266-native-pch 2026-09-24 17:35:35 +01:00
J. Nick Koston 4db8af29b4 Merge remote-tracking branch 'origin/dev' into esp8266-arduino-toolchain 2026-09-24 17:35:35 +01:00
J. Nick Koston f8e8295088 [api] Decode without a vtable (#19029) 2026-09-24 16:14:25 +01:00
J. Nick Koston 9f5ac44db1 [api] Default response only string fields to a null StringRef (#19025) 2026-09-24 15:52:37 +01:00
J. Nick Koston f1f83cda07 [api] Collapse the three protobuf decode virtuals into one (#19016) 2026-09-24 15:30:11 +01:00
J. Nick Koston c27cbb132d [api] Make generated encode and size entry points type erased (#19015) 2026-09-24 15:13:52 +01:00
J. Nick Koston da148bedfe [api] Pass the encode cursor by value through the protobuf helpers (#19014) 2026-09-24 14:25:50 +01:00