Optimize builds to reduce duplicate dependency checks (#8943)

'mtjson' will now build all required pieces when they don't exist
This commit is contained in:
Austin
2025-12-11 19:01:31 -06:00
committed by GitHub
parent 4fc96bdf83
commit bcfe069997
6 changed files with 23 additions and 37 deletions
+3
View File
@@ -11,6 +11,9 @@ else:
prefsLoc = env["PROJECT_DIR"] + "/version.properties"
verObj = readProps(prefsLoc)
env.Replace(PROGNAME=f"firmware-{env.get('PIOENV')}-{verObj['long']}")
env.Replace(ESP32_FS_IMAGE_NAME=f"littlefs-{env.get('PIOENV')}-{verObj['long']}")
# Print the new program name for verification
print(f"PROGNAME: {env.get('PROGNAME')}")
if platform.name == "espressif32":
print(f"ESP32_FS_IMAGE_NAME: {env.get('ESP32_FS_IMAGE_NAME')}")