- flashSize: 'detect' — esptool.js now detects the physical flash size and updates the binary header before writing. Fixes boot panic on devices with 4MB embedded flash (e.g. ESP32-S3 WROOM-1-N4R2) when firmware was compiled for 16MB: spi_flash_init() no longer sees a header/physical mismatch. - Chip family validation — after loader.main() returns the detected chip, check it against build.chipFamily from the manifest. Throw a UserError if a non-ESP32-S3 (or unsupported chip family) is connected, instead of silently flashing incompatible firmware. - Better post-flash error messaging — track flashSucceeded flag; if flashing succeeded but provisioning failed, show "Provisioning failed / unplug and replug" instead of the misleading "Device not in download mode" help. - Mothership auto-detection — offline fallback and ms-host placeholder now use window.location.hostname instead of the hardcoded spaxel-mothership.local. The browser is already talking to the mothership via this hostname, so it is the correct default for the device to reach it as well. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| css | ||
| js | ||
| node_modules | ||
| ambient.html | ||
| fleet.html | ||
| help_articles.json | ||
| index.html | ||
| integrations.html | ||
| jest.config.js | ||
| package-lock.json | ||
| package.json | ||
| simple.html | ||