Compare commits
No commits in common. "f6c92c686b52372e04aea199a267661ed3b19f3d" and "a18749a1ffa7d5530d4dc36b2ba739fcccebad12" have entirely different histories.
f6c92c686b
...
a18749a1ff
5
.github/workflows/gitea-release.yml
vendored
5
.github/workflows/gitea-release.yml
vendored
@ -40,8 +40,9 @@ jobs:
|
||||
# Copy firmware binary
|
||||
cp .pio/build/esp32dev/firmware.bin .pio/build/esp32dev/upgrade_filaman_firmware_v${VERSION}.bin
|
||||
|
||||
# Create SPIFFS binary with ESP32-WROOM specific image header
|
||||
echo -ne '\xE9\x01\x00\x00\x00\x00\x00\x00\x00\x30\x00\x00\x01\x03\x00\x00' > .pio/build/esp32dev/upgrade_filaman_website_v${VERSION}.bin
|
||||
# Create SPIFFS binary with ESP32 image header
|
||||
# Create 16-byte ESP32 image header: (magic byte 0xE9, segment count 0x01, SPI mode DIO, SPI speed 40MHz, chip revision v3.1)
|
||||
echo -ne '\xE9\x01\x00\x00\x46\x97\x00\x00\x00\x30\x00\x00\x03\x01\x00\x00' > .pio/build/esp32dev/upgrade_filaman_website_v${VERSION}.bin
|
||||
# Append the actual SPIFFS data
|
||||
cat .pio/build/esp32dev/spiffs.bin >> .pio/build/esp32dev/upgrade_filaman_website_v${VERSION}.bin
|
||||
|
||||
|
5
.github/workflows/github-release.yml
vendored
5
.github/workflows/github-release.yml
vendored
@ -47,8 +47,9 @@ jobs:
|
||||
# Copy firmware binary
|
||||
cp .pio/build/esp32dev/firmware.bin .pio/build/esp32dev/upgrade_filaman_firmware_v${VERSION}.bin
|
||||
|
||||
# Create SPIFFS binary with ESP32-WROOM specific image header
|
||||
echo -ne '\xE9\x01\x00\x00\x00\x00\x00\x00\x00\x30\x00\x00\x01\x03\x00\x00' > .pio/build/esp32dev/upgrade_filaman_website_v${VERSION}.bin
|
||||
# Create SPIFFS binary with ESP32 image header
|
||||
# Create 16-byte ESP32 image header: (magic byte 0xE9, segment count 0x01, SPI mode DIO, SPI speed 40MHz, chip revision v3.1)
|
||||
echo -ne '\xE9\x01\x00\x00\x46\x97\x00\x00\x00\x30\x00\x00\x03\x01\x00\x00' > .pio/build/esp32dev/upgrade_filaman_website_v${VERSION}.bin
|
||||
# Append the actual SPIFFS data
|
||||
cat .pio/build/esp32dev/spiffs.bin >> .pio/build/esp32dev/upgrade_filaman_website_v${VERSION}.bin
|
||||
|
||||
|
@ -1,11 +1,5 @@
|
||||
# Changelog
|
||||
|
||||
## [1.3.37] - 2025-02-22
|
||||
### Changed
|
||||
- update webpages for version v1.3.37
|
||||
- workflow: update ESP32-WROOM image header for SPIFFS binary creation
|
||||
|
||||
|
||||
## [1.3.36] - 2025-02-22
|
||||
### Changed
|
||||
- update webpages for version v1.3.36
|
||||
|
@ -202,16 +202,6 @@
|
||||
let response = this.responseText;
|
||||
try {
|
||||
const jsonResponse = JSON.parse(response);
|
||||
|
||||
// Handle progress updates
|
||||
if (jsonResponse.progress !== undefined) {
|
||||
const percent = jsonResponse.progress;
|
||||
progress.style.width = percent + '%';
|
||||
progress.textContent = Math.round(percent) + '%';
|
||||
return;
|
||||
}
|
||||
|
||||
// Handle success/error messages
|
||||
response = jsonResponse.message;
|
||||
|
||||
if (jsonResponse.restart) {
|
||||
@ -228,9 +218,12 @@
|
||||
}, 1000);
|
||||
}
|
||||
} catch (e) {
|
||||
console.error('JSON parse error:', e);
|
||||
status.textContent = 'Update failed: Invalid response from server';
|
||||
status.classList.add('error');
|
||||
if (!isNaN(response)) {
|
||||
const percent = parseInt(response);
|
||||
progress.style.width = percent + '%';
|
||||
progress.textContent = percent + '%';
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
status.textContent = response;
|
||||
|
@ -9,7 +9,7 @@
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[common]
|
||||
version = "1.3.37"
|
||||
version = "1.3.36"
|
||||
|
||||
#test
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user