esp32tool 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/apple-touch-icon.png +0 -0
- package/dist/esp_loader.js +3 -13
- package/dist/web/index.js +1 -1
- package/icons/icon-128.png +0 -0
- package/icons/icon-144.png +0 -0
- package/icons/icon-152.png +0 -0
- package/icons/icon-192.png +0 -0
- package/icons/icon-384.png +0 -0
- package/icons/icon-512.png +0 -0
- package/icons/icon-72.png +0 -0
- package/icons/icon-96.png +0 -0
- package/js/modules/esptool.js +1 -1
- package/js/nvs-editor.js +1 -78
- package/package.json +5 -2
- package/screenshots/desktop.png +0 -0
- package/screenshots/mobile.png +0 -0
- package/src/esp_loader.ts +3 -16
- package/sw.js +1 -1
package/README.md
CHANGED
|
@@ -135,7 +135,7 @@ December 2025 – Now with full LittleFS, SPIFFS, and FATFS support, plus file a
|
|
|
135
135
|
|
|
136
136
|
January 2026 – Added Android mobile devices support, standalone CLI.
|
|
137
137
|
|
|
138
|
-
February 2026 - Added IMPROV support, NEW
|
|
138
|
+
February 2026 - Added IMPROV support, NEW Features: Flash Hex Editor and NVS Parser / Editor
|
|
139
139
|
|
|
140
140
|
---
|
|
141
141
|
|
package/apple-touch-icon.png
CHANGED
|
Binary file
|
package/dist/esp_loader.js
CHANGED
|
@@ -3595,7 +3595,7 @@ export class ESPLoader extends EventTarget {
|
|
|
3595
3595
|
}
|
|
3596
3596
|
catch (err) {
|
|
3597
3597
|
if (err instanceof SlipReadError) {
|
|
3598
|
-
this.logger.debug(
|
|
3598
|
+
this.logger.debug(`${err.message} at byte 0x${resp.length.toString(16)}`);
|
|
3599
3599
|
// Send empty SLIP frame to abort the stub's read operation
|
|
3600
3600
|
// The stub expects 4 bytes (ACK), if we send less it will break out
|
|
3601
3601
|
try {
|
|
@@ -3705,18 +3705,8 @@ export class ESPLoader extends EventTarget {
|
|
|
3705
3705
|
// Check if it's a timeout error or SLIP error
|
|
3706
3706
|
if (err instanceof SlipReadError) {
|
|
3707
3707
|
if (retryCount <= MAX_RETRIES) {
|
|
3708
|
-
this.logger.debug(
|
|
3709
|
-
|
|
3710
|
-
await this.drainInputBuffer(200);
|
|
3711
|
-
// Clear application buffer
|
|
3712
|
-
await this.flushSerialBuffers();
|
|
3713
|
-
// Wait before retry to let hardware settle
|
|
3714
|
-
await sleep(SYNC_TIMEOUT);
|
|
3715
|
-
// Continue to retry the same chunk (will send NEW read command)
|
|
3716
|
-
}
|
|
3717
|
-
catch (drainErr) {
|
|
3718
|
-
this.logger.debug(`Buffer drain error: ${drainErr}`);
|
|
3719
|
-
}
|
|
3708
|
+
this.logger.debug(`Cleared buffer and retrying (attempt ${retryCount}/${MAX_RETRIES})...`);
|
|
3709
|
+
// Continue to retry the same chunk (will send NEW read command)
|
|
3720
3710
|
}
|
|
3721
3711
|
else {
|
|
3722
3712
|
// All retries exhausted - attempt recovery by reloading stub
|