Browse Source

create versionout for 1M flash size firmware

pull/373/head
Sven Naumann 2 years ago
committed by GitHub
parent
commit
e6a5be2005
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      tools/esp8266/scripts/getVersion.py

5
tools/esp8266/scripts/getVersion.py

@ -24,6 +24,11 @@ def readVersion(path, infile):
src = path + ".pio/build/esp8266-release/firmware.bin"
dst = path + ".pio/build/out/" + versionout
os.rename(src, dst)
versionout = version[:-1] + "_esp8266_1m_" + sha + ".bin"
src = path + ".pio/build/esp8266-1m-release/firmware.bin"
dst = path + ".pio/build/out/" + versionout
os.rename(src, dst)
versionout = version[:-1] + "_esp32_" + sha + ".bin"
src = path + ".pio/build/esp32-wroom32-release/firmware.bin"

Loading…
Cancel
Save