HAL_ChibiOS: fixed python3 pickle error

This commit is contained in:
Andrew Tridgell 2018-03-05 09:48:17 +11:00
parent ba55f99419
commit fd6185be0f

View File

@ -1027,5 +1027,5 @@ write_hwdef_header(os.path.join(outdir, "hwdef.h"))
write_ldscript(os.path.join(outdir, "ldscript.ld"))
# write out env.py
pickle.dump(env_vars, open(os.path.join(outdir, "env.py"), "w"))
pickle.dump(env_vars, open(os.path.join(outdir, "env.py"), "wb"))