Compare commits
3 Commits
62d9596d08
...
11bbfb7db6
Author | SHA1 | Date | |
---|---|---|---|
11bbfb7db6 | |||
71d8f7ec5a | |||
f4518e4a36 |
27
.github/workflows/providers/gitea-release.yml
vendored
27
.github/workflows/providers/gitea-release.yml
vendored
@ -43,31 +43,36 @@ jobs:
|
||||
run: |
|
||||
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:"
|
||||
hexdump -C -n 16 filaman_ota.bin
|
||||
echo "Full binary first bytes:"
|
||||
hexdump -C -n 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 }}
|
||||
|
@ -32,10 +32,6 @@ jobs:
|
||||
run: |
|
||||
cd .pio/build/esp32dev_ota
|
||||
|
||||
# Debug: Show all generated files
|
||||
echo "Files in build directory:"
|
||||
ls -la
|
||||
|
||||
# Create OTA binary (already has correct magic byte)
|
||||
cp firmware.bin filaman_ota.bin
|
||||
|
||||
|
@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## [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
|
||||
|
@ -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.81</span></h1>
|
||||
<h1>FilaMan<span class="version">v1.2.82</span></h1>
|
||||
<h4>Filament Management Tool</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -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.81</span></h1>
|
||||
<h1>FilaMan<span class="version">v1.2.82</span></h1>
|
||||
<h4>Filament Management Tool</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -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.81</span></h1>
|
||||
<h1>FilaMan<span class="version">v1.2.82</span></h1>
|
||||
<h4>Filament Management Tool</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -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.81</span></h1>
|
||||
<h1>FilaMan<span class="version">v1.2.82</span></h1>
|
||||
<h4>Filament Management Tool</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -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.81</span></h1>
|
||||
<h1>FilaMan<span class="version">v1.2.82</span></h1>
|
||||
<h4>Filament Management Tool</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -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.81</span></h1>
|
||||
<h1>FilaMan<span class="version">v1.2.82</span></h1>
|
||||
<h4>Filament Management Tool</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -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.81</span></h1>
|
||||
<h1>FilaMan<span class="version">v1.2.82</span></h1>
|
||||
<h4>Filament Management Tool</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -9,7 +9,7 @@
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[common]
|
||||
version = "1.2.81"
|
||||
version = "1.2.82"
|
||||
|
||||
[env:esp32dev]
|
||||
platform = espressif32
|
||||
|
Loading…
x
Reference in New Issue
Block a user