Compare commits

...

12 Commits

Author SHA1 Message Date
b5330af351 docs: update changelog for version 1.2.84
All checks were successful
Release Workflow / route (push) Successful in 10s
Release Workflow / verify-provider (push) Successful in 4s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 2m41s
2025-02-20 18:04:06 +01:00
4919d34484 docs: update webpages for version v1.2.84 2025-02-20 18:04:06 +01:00
2da641d604 ci: update installation steps for xxd to include package list update 2025-02-20 18:04:00 +01:00
ce413965c7 docs: update changelog for version 1.2.83
Some checks failed
Release Workflow / route (push) Successful in 7s
Release Workflow / verify-provider (push) Successful in 3s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Failing after 25s
2025-02-20 18:01:22 +01:00
3fafed930e docs: update webpages for version v1.2.83 2025-02-20 18:01:22 +01:00
e1c604ee8d refactor: replace hexdump with xxd for magic byte verification in release workflows 2025-02-20 18:01:16 +01:00
11bbfb7db6 docs: update changelog for version 1.2.82
Some checks failed
Release Workflow / route (push) Successful in 6s
Release Workflow / verify-provider (push) Successful in 2s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Failing after 2m27s
2025-02-20 17:53:00 +01:00
71d8f7ec5a docs: update webpages for version v1.2.82 2025-02-20 17:53:00 +01:00
f4518e4a36 refactor: enhance Gitea and GitHub release workflows to include magic byte handling and improve binary verification 2025-02-20 17:52:18 +01:00
62d9596d08 docs: update changelog for version 1.2.81
All checks were successful
Release Workflow / route (push) Successful in 8s
Release Workflow / verify-provider (push) Successful in 3s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 2m42s
2025-02-20 17:11:28 +01:00
e27e95d291 docs: update webpages for version v1.2.81 2025-02-20 17:11:28 +01:00
b7651ad50d refactor: update Gitea and GitHub release workflows to use esp32dev_ota for building and uploading firmware and SPIFFS binaries 2025-02-20 17:11:22 +01:00
11 changed files with 75 additions and 40 deletions

View File

@ -32,42 +32,52 @@ jobs:
python -m pip install --upgrade pip
pip install --upgrade platformio esptool
- name: Install xxd
run: |
sudo apt-get update
sudo apt-get install xxd
- name: Build Firmware
run: |
pio run -t buildfs # Build SPIFFS
pio run # Build firmware
cp .pio/build/esp32dev/firmware.bin .pio/build/esp32dev/filaman.bin
cp .pio/build/esp32dev/spiffs.bin .pio/build/esp32dev/filaman_spiffs.bin
pio run -e esp32dev_ota -t buildfs # Build SPIFFS
pio run -e esp32dev_ota # Build firmware
cp .pio/build/esp32dev_ota/firmware.bin .pio/build/esp32dev_ota/filaman.bin
cp .pio/build/esp32dev_ota/spiffs.bin .pio/build/esp32dev_ota/filaman_spiffs.bin
- name: Prepare binaries
run: |
cd .pio/build/esp32dev
cd .pio/build/esp32dev_ota
# Create OTA binary (firmware only)
# Create OTA binary (already has correct magic byte)
cp firmware.bin filaman_ota.bin
# Use esptool to create the full binary
# Create a magic byte prepended binary for the bootloader
echo -ne '\xE9' > bootloader_with_magic.bin
cat bootloader.bin >> bootloader_with_magic.bin
echo "Creating full binary with magic byte..."
esptool.py --chip esp32 merge_bin \
--fill-flash-size 4MB \
--flash_mode dio \
--flash_freq 40m \
--flash_size 4MB \
--target-offset 0x0 \
-o filaman_full.bin \
0x1000 bootloader.bin \
0x0000 bootloader_with_magic.bin \
0x8000 partitions.bin \
0x10000 firmware.bin \
0x3D0000 spiffs.bin
# Verify binaries
# Verify magic bytes
echo "Checking magic bytes:"
echo "OTA binary first bytes:"
xxd -l 16 filaman_ota.bin
echo "Full binary first bytes:"
xxd -l 16 filaman_full.bin
# Verify file sizes
echo "File sizes:"
ls -lh *.bin
echo "Binary information:"
echo "OTA binary info:"
esptool.py --chip esp32 image_info filaman_ota.bin || true
echo "Full binary first 64 bytes:"
od -A x -t x1z -N 64 filaman_full.bin
- name: Create Release
env:
TOKEN: ${{ secrets.GITEA_TOKEN }}
@ -94,7 +104,7 @@ jobs:
echo "Release created with ID: $RELEASE_ID"
# Upload binaries
cd .pio/build/esp32dev
cd .pio/build/esp32dev_ota
for file in filaman_full.bin filaman_ota.bin filaman.bin filaman_spiffs.bin; do
echo "Uploading $file..."
curl -k -s \

View File

@ -21,20 +21,21 @@ jobs:
python -m pip install --upgrade pip
pip install --upgrade platformio esptool
- name: Install xxd
run: |
sudo apt-get update
sudo apt-get install xxd
- name: Build Firmware
run: |
pio run -t buildfs # Build SPIFFS
pio run # Build firmware
cp .pio/build/esp32dev/firmware.bin .pio/build/esp32dev/filaman.bin
cp .pio/build/esp32dev/spiffs.bin .pio/build/esp32dev/filaman_spiffs.bin
pio run -e esp32dev_ota -t buildfs # Build SPIFFS
pio run -e esp32dev_ota # Build firmware
cp .pio/build/esp32dev_ota/firmware.bin .pio/build/esp32dev_ota/filaman.bin
cp .pio/build/esp32dev_ota/spiffs.bin .pio/build/esp32dev_ota/filaman_spiffs.bin
- name: Prepare binaries
run: |
cd .pio/build/esp32dev
# Debug: Show all generated files
echo "Files in build directory:"
ls -la
cd .pio/build/esp32dev_ota
# Create OTA binary (already has correct magic byte)
cp firmware.bin filaman_ota.bin
@ -58,9 +59,9 @@ jobs:
# Verify magic bytes
echo "Checking magic bytes:"
echo "OTA binary first bytes:"
hexdump -C -n 16 filaman_ota.bin
xxd -l 16 filaman_ota.bin
echo "Full binary first bytes:"
hexdump -C -n 16 filaman_full.bin
xxd -l 16 filaman_full.bin
# Verify file sizes
echo "File sizes:"
@ -87,7 +88,7 @@ jobs:
gh release create "${{ github.ref_name }}" \
--title "Release ${{ steps.get_version.outputs.VERSION }}" \
--notes "${{ steps.changelog.outputs.CHANGES }}" \
.pio/build/esp32dev/filaman_full.bin \
.pio/build/esp32dev/filaman_ota.bin \
.pio/build/esp32dev/filaman.bin \
.pio/build/esp32dev/filaman_spiffs.bin
.pio/build/esp32dev_ota/filaman_full.bin \
.pio/build/esp32dev_ota/filaman_ota.bin \
.pio/build/esp32dev_ota/filaman.bin \
.pio/build/esp32dev_ota/filaman_spiffs.bin

View File

@ -1,5 +1,29 @@
# Changelog
## [1.2.84] - 2025-02-20
### Changed
- update webpages for version v1.2.84
- ci: update installation steps for xxd to include package list update
## [1.2.83] - 2025-02-20
### Changed
- update webpages for version v1.2.83
- replace hexdump with xxd for magic byte verification in release workflows
## [1.2.82] - 2025-02-20
### Changed
- update webpages for version v1.2.82
- enhance Gitea and GitHub release workflows to include magic byte handling and improve binary verification
## [1.2.81] - 2025-02-20
### Changed
- update webpages for version v1.2.81
- update Gitea and GitHub release workflows to use esp32dev_ota for building and uploading firmware and SPIFFS binaries
## [1.2.80] - 2025-02-20
### Added
- update Gitea and GitHub release workflows to include new firmware and SPIFFS binaries; fix version display in HTML files to v1.2.78

View File

@ -12,7 +12,7 @@
<div style="display: flex; align-items: center; gap: 2rem;">
<img src="/logo.png" alt="FilaMan Logo" class="logo">
<div class="logo-text">
<h1>FilaMan<span class="version">v1.2.80</span></h1>
<h1>FilaMan<span class="version">v1.2.84</span></h1>
<h4>Filament Management Tool</h4>
</div>
</div>

View File

@ -12,7 +12,7 @@
<div style="display: flex; align-items: center; gap: 2rem;">
<img src="/logo.png" alt="FilaMan Logo" class="logo">
<div class="logo-text">
<h1>FilaMan<span class="version">v1.2.80</span></h1>
<h1>FilaMan<span class="version">v1.2.84</span></h1>
<h4>Filament Management Tool</h4>
</div>
</div>

View File

@ -12,7 +12,7 @@
<div style="display: flex; align-items: center; gap: 2rem;">
<img src="/logo.png" alt="FilaMan Logo" class="logo">
<div class="logo-text">
<h1>FilaMan<span class="version">v1.2.80</span></h1>
<h1>FilaMan<span class="version">v1.2.84</span></h1>
<h4>Filament Management Tool</h4>
</div>
</div>

View File

@ -12,7 +12,7 @@
<div style="display: flex; align-items: center; gap: 2rem;">
<img src="/logo.png" alt="FilaMan Logo" class="logo">
<div class="logo-text">
<h1>FilaMan<span class="version">v1.2.80</span></h1>
<h1>FilaMan<span class="version">v1.2.84</span></h1>
<h4>Filament Management Tool</h4>
</div>
</div>

View File

@ -12,7 +12,7 @@
<div style="display: flex; align-items: center; gap: 2rem;">
<img src="/logo.png" alt="FilaMan Logo" class="logo">
<div class="logo-text">
<h1>FilaMan<span class="version">v1.2.80</span></h1>
<h1>FilaMan<span class="version">v1.2.84</span></h1>
<h4>Filament Management Tool</h4>
</div>
</div>

View File

@ -12,7 +12,7 @@
<div style="display: flex; align-items: center; gap: 2rem;">
<img src="/logo.png" alt="FilaMan Logo" class="logo">
<div class="logo-text">
<h1>FilaMan<span class="version">v1.2.80</span></h1>
<h1>FilaMan<span class="version">v1.2.84</span></h1>
<h4>Filament Management Tool</h4>
</div>
</div>

View File

@ -12,7 +12,7 @@
<div style="display: flex; align-items: center; gap: 2rem;">
<img src="/logo.png" alt="FilaMan Logo" class="logo">
<div class="logo-text">
<h1>FilaMan<span class="version">v1.2.80</span></h1>
<h1>FilaMan<span class="version">v1.2.84</span></h1>
<h4>Filament Management Tool</h4>
</div>
</div>

View File

@ -9,7 +9,7 @@
; https://docs.platformio.org/page/projectconf.html
[common]
version = "1.2.80"
version = "1.2.84"
[env:esp32dev]
platform = espressif32