ESP32_ChinaDieselHeater_Con.../add_CRC.py

13 lines
327 B
Python
Raw Normal View History

2019-07-09 12:19:21 +00:00
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")
)