mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-19 20:06:11 +02:00
0.8.13
* added ethernet build for fusion board, not tested so far
This commit is contained in:
parent
ec30cc21ea
commit
ca0698f06c
7 changed files with 74 additions and 11 deletions
|
@ -93,9 +93,14 @@ def readVersion(path, infile):
|
|||
dst = path + "firmware/ESP32-S2/" + versionout
|
||||
os.rename(src, dst)
|
||||
|
||||
versionout = version[:-1] + "_" + sha + "_esp32s3.bin"
|
||||
src = path + ".pio/build/opendtufusion/firmware.bin"
|
||||
dst = path + "firmware/ESP32-S3/" + versionout
|
||||
versionout = version[:-1] + "_" + sha + "_esp32s3_ethernet.bin"
|
||||
src = path + ".pio/build/opendtufusion-ethernet/firmware.bin"
|
||||
dst = path + "firmware/ESP32-S3-ETH/" + versionout
|
||||
os.rename(src, dst)
|
||||
|
||||
versionout = version[:-1] + "_" + sha + "_esp32_ethernet.bin"
|
||||
src = path + ".pio/build/esp32-wroom32-ethernet/firmware.bin"
|
||||
dst = path + "firmware/ESP32/" + versionout
|
||||
os.rename(src, dst)
|
||||
|
||||
# other ESP32 bin files
|
||||
|
@ -119,6 +124,13 @@ def readVersion(path, infile):
|
|||
os.rename(src + "partitions.bin", dst + "partitions.bin")
|
||||
genOtaBin(dst)
|
||||
|
||||
# other ESP32-S3-Eth bin files
|
||||
src = path + ".pio/build/opendtufusion-ethernet/"
|
||||
dst = path + "firmware/ESP32-S3-ETH/"
|
||||
os.rename(src + "bootloader.bin", dst + "bootloader.bin")
|
||||
os.rename(src + "partitions.bin", dst + "partitions.bin")
|
||||
genOtaBin(dst)
|
||||
|
||||
os.rename("../scripts/gh-action-dev-build-flash.html", path + "install.html")
|
||||
|
||||
print("name=" + versionnumber[:-1] )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue