ESP32_ChinaDieselHeater_Con.../add_CRC.py
2019-07-09 22:19:21 +10:00

12 lines
327 B
Python

Import("env")
# access to global build environment
print env
# Add CRC from BIN
env.AddPostAction(
"$BUILD_DIR/${PROGNAME}.bin",
env.VerboseAction(" ".join([
"AfterburnerCRC.exe", "$BUILD_DIR/${PROGNAME}.bin"
]), "Creating CRC from $BUILD_DIR/${PROGNAME}.bin, adding to $BUILD_DIR/${PROGNAME}.bin.crc")
)