Browse Source
create versionout for 1M flash size firmware
pull/373/head
Sven Naumann
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
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" |
|
|
|