J. Nick Koston
ddbae0dd00
[rp2040] Always show BOOTSEL tip when no BOOTSEL device detected
...
Serial ports in the chooser may belong to other devices (e.g. FT232R),
not the RP2040. Show the BOOTSEL tip whenever no BOOTSEL device is
detected via picotool, regardless of whether serial ports are present.
2026-03-05 13:08:12 -10:00
J. Nick Koston
aec76fafce
[rp2040] Use picotool for BOOTSEL upload instead of mass storage copy
...
Replace UF2 file copy to mass storage volume with direct picotool upload.
This avoids macOS "disk not ejected properly" warnings caused by the RP2040
resetting immediately after receiving the firmware.
- Use picotool (already installed by PlatformIO) for BOOTSEL detection
and firmware upload via USB
- Upload ELF directly with `picotool load -v -x` for real-time progress
- Remove platform-specific mass storage volume detection (macOS/Linux/Windows)
- Show helpful udev rules message on Linux permission errors
2026-03-05 12:59:07 -10:00
J. Nick Koston
f886aa7f9a
[rp2040] Fix firmware.bin.signed creation for nobuild upload
...
Move signed bin creation from post_build script to upload_using_platformio.
The post_build AddPostAction only runs during build, not during nobuild
upload, so the file was missing when PlatformIO tried to upload.
Now create firmware.bin.signed before calling PlatformIO upload.
2026-03-04 14:24:48 -10:00
J. Nick Koston
d856046830
[rp2040] Add test coverage for Linux and Windows mass storage detection
...
Add tests for get_rp2040_mass_storage_volumes() on Linux, Windows,
and unsupported platforms to improve test coverage.
2026-03-04 14:12:39 -10:00
J. Nick Koston
5f79e3e0c2
[rp2040] Fix test assertions for Windows path separators
...
Use str(Path(...)) in test assertions so paths match platform-specific
separators (forward slashes on Unix, backslashes on Windows).
2026-03-04 14:00:35 -10:00
J. Nick Koston
74dd61442a
[rp2040] Improve upload experience with mass storage and BOOTSEL support
...
Add auto-detection of RP2040 BOOTSEL mass storage volumes (RPI-RP2) on
macOS, Linux, and Windows. Show detected volumes as upload targets with
a progress bar for UF2 file copy. Display helpful BOOTSEL instructions
when no RP2040 device is found.
- Add get_rp2040_mass_storage_volumes() to detect mounted RPI-RP2 volumes
- Add PortType.MASS_STORAGE and upload_using_uf2_copy() with progress bar
- Move ProgressBar to helpers.py for shared use
- Wait for USB-CDC serial port after upload for log output
- Auto-select single serial port for logs after mass storage upload
- Create firmware.bin.signed in post_build to fix nobuild upload target
- Show BOOTSEL tip when only OTA options are available
2026-03-04 13:50:52 -10:00
J. Nick Koston
1f1b20f4fe
[core] Pack entity string properties into PROGMEM-indexed uint8_t fields ( #14171 )
2026-03-03 07:03:24 -10:00
J. Nick Koston
a1d91ac779
[core] Compile-time detection of loop() overrides ( #14405 )
2026-03-02 06:59:23 -10:00
J. Nick Koston
82da4935b6
[core] Auto-wrap static strings in PROGMEM on ESP8266 via TemplatableValue ( #13885 )
2026-03-02 06:57:08 -10:00
Copilot and jesserockz
77a7cbcffd
Use cached files on network errors in external_files ( #14055 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: jesserockz <3060199+jesserockz@users.noreply.github.com >
2026-03-02 11:41:20 -05:00
J. Nick Koston
48b5cae6c4
[api] Use StringRef for user service string arguments ( #13974 )
2026-03-02 10:32:44 +13:00
J. Nick Koston
067d773aac
[core] Make register_component protected, remove runtime checks ( #14371 )
2026-02-28 07:19:55 -10:00
J. Nick Koston
d5c9c56fdf
[platformio] Add exponential backoff and session reset to download retries ( #14191 )
2026-02-21 19:41:43 -06:00
tomaszduda23
48ba007c22
[nrf52] print line number after crash in logs ( #14165 )
2026-02-21 14:16:20 -05:00
J. Nick Koston and Claude Opus 4.6
d29288547e
[core] Use constexpr for PROGMEM arrays ( #14127 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 18:54:33 -06:00
Jonathan Swoboda and Claude Opus 4.6
9cd7b0b32b
[external_components] Clean up incomplete clone on failed ref fetch ( #14051 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-18 18:09:33 +00:00
J. Nick Koston
1c60efa4b6
[ota] Use secrets module for OTA authentication cnonce ( #13863 )
2026-02-09 08:30:49 -06:00
J. Nick Koston
5370687001
[wizard] Use secrets module for fallback AP password generation ( #13864 )
2026-02-09 03:25:41 -06:00
Jonathan Swoboda and Claude Opus 4.5
8e461db301
[ota] Fix CLI upload option shown when only http_request platform configured ( #13784 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-06 04:09:48 -05:00
J. Nick Koston
be44d4801f
[esp32] Reduce Arduino build size by 44% and build time by 36% ( #13623 )
2026-02-05 10:52:43 +01:00
dependabot[bot] and J. Nick Koston
4d05cd3059
Bump ruff from 0.14.14 to 0.15.0 ( #13752 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-02-04 09:24:05 +00:00
Jonathan Swoboda and Claude Opus 4.5
da947d060f
[wizard] Use API encryption key instead of deprecated password ( #13634 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-02 19:20:24 -05:00
Clyde Stubbs
9dcb469460
[core] Simplify generation of Lambda during to_code() ( #13533 )
2026-01-31 12:18:30 +11:00
David Woodhouse and pre-commit-ci-lite[bot]
823b5ac1ab
[ch423] Add CH423 I/O expander component ( #13079 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-01-29 18:16:15 -05:00
J. Nick Koston
123ee02d39
[ota] Improve error message when device closes connection without responding ( #13562 )
2026-01-26 17:13:18 -10:00
Jonathan Swoboda and Claude Opus 4.5
1996bc425f
[core] Fix state leakage and module caching when processing multiple configurations ( #13368 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-19 14:46:24 -05:00
J. Nick Koston
b7dbda497a
[core] Improve log timestamp accuracy by batching serial reads ( #12750 )
2026-01-07 08:28:31 -10:00
J. Nick Koston
39526e5360
[analyze-memory] Add RAM symbol analysis by component ( #13040 )
2026-01-07 08:24:44 -10:00
J. Nick Koston
ac42102320
[core] Auto-replace / in entity names with Unicode fraction slash during deprecation period ( #13016 )
2026-01-06 07:36:01 -10:00
Clyde Stubbs
71940acc49
[esp32_ble] Remove requirement for configured network ( #12891 )
2026-01-04 22:37:44 +00:00
J. Nick Koston
3cc6810be5
[core] Remove object_id RAM storage - no longer in hot path after #12627 ( #12631 )
2026-01-02 15:46:01 -10:00
J. Nick Koston
c6713eaccb
[web_server] Fix URL collisions with UTF-8 names and sub-devices ( #12627 )
2026-01-02 13:07:11 -10:00
J. Nick Koston
63464a13c3
[core] Fix incremental build failures when adding components on ESP32-Arduino ( #12745 )
2025-12-29 16:57:22 -10:00
J. Nick Koston
f238f93312
[core] Move comment to PROGMEM on ESP8266 ( #12554 )
2025-12-22 21:37:51 +00:00
9de7df7b5b
Add build info to image ( #12425 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-18 00:06:52 +00:00
Javier Peletier and J. Nick Koston
9f2693ead5
[core] Packages refactor and conditional package inclusion (package refactor part 1) ( #11605 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-12-10 00:59:58 +01:00
Jesse Hills
7fd79fdded
[esp32] Change imports to use esp32 only, not .const ( #12243 )
2025-12-05 09:53:08 -05:00
Thomas Rupprecht and Jonathan Swoboda
22803ef54b
[esp32] Sort variants in situ ( #10410 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2025-12-03 20:48:11 -05:00
623cdac689
[tests] Add testing of command line substitutions ( #12210 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2025-12-03 12:36:35 -05:00
Javier Peletier and J. Nick Koston
ab60ae092d
[tests] Allow substitution tests to run independently for debugging ( #12224 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2025-12-02 16:17:24 -06:00
J. Nick Koston
101103c666
[core] Add RAM strings and symbols analysis to analyze-memory command ( #12161 )
2025-12-02 10:02:09 -06:00
29be1423f5
[core] Filter noisy platformio log messages ( #12218 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-12-02 08:59:50 -05:00
2b7695ba3f
[core] Fix clean all windows ( #12217 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-12-01 12:40:56 -05:00
Javier Peletier and J. Nick Koston
d6ca01775e
[packages] Restore remote shorthand vars and !remove in early package contents validation ( #12158 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-11-28 18:24:09 +00:00
Javier Peletier
e15f3a08ae
[tests] Remote packages with substitutions ( #12145 )
2025-11-28 12:15:55 -06:00
J. Nick Koston
b328758634
Revert "[core] Deduplicate identical stateless lambdas to reduce flash usage" ( #12117 )
2025-11-26 10:53:44 -06:00
J. Nick Koston
bda17180df
[core] Deduplicate identical stateless lambdas to reduce flash usage ( #11918 )
2025-11-26 12:48:08 +13:00
J. Nick Koston
cf8c205644
[core] Reduce flash size by combining set_name() and set_object_id() calls ( #11941 )
2025-11-25 12:15:45 -06:00
Jonathan Swoboda
8607a0881d
[core] Add support for passing yaml files to clean-all ( #12039 )
2025-11-24 10:10:24 -05:00
Javier Peletier
f42b806889
[core] Fix error on invalid id extend/remove ( #12064 )
2025-11-24 08:03:13 +11:00