@ -23,4 +23,4 @@ def encrypt(source, target, env):
finally:
firmware.close()
marlin_alfa.close()
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", encrypt);
env.AddPostAction('"$BUILD_DIR/${PROGNAME}.bin"', encrypt);
@ -15,8 +15,8 @@ env.AddPostAction(
"$OBJCOPY",
"-O",
"ihex",
"$BUILD_DIR/${PROGNAME}.elf",
'"$BUILD_DIR/${PROGNAME}.elf"',
"$BUILD_DIR/${PROGNAME}.hex"
'"$BUILD_DIR/${PROGNAME}.hex"'
]), "Building $TARGET"))
# please keep $SOURCE variable, it will be replaced with a path to firmware
@ -39,5 +39,5 @@ def addboot(source,target,env):
os.rename(target[0].path, firmware_without_bootloader_dir)
#os.rename(target[0].dir.path+'/firmware_with_bootloader.bin', target[0].dir.path+'/firmware.bin')
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", addboot);
env.AddPostAction('"$BUILD_DIR/${PROGNAME}.bin"', addboot);
@ -27,4 +27,4 @@ def encrypt(source, target, env):
robin.close()