mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #1006 from mfiore02/4_1_15_dragonfly_mdot_pullrequest
MTS Dragonfly & mDot - fix for building applications on Windowspull/1015/merge
commit
c9927abb78
|
@ -734,6 +734,7 @@ class MTS_MDOT_F411RE(Target):
|
|||
part.close()
|
||||
outbin.seek(0, 0)
|
||||
data = outbin.read()
|
||||
outbin.seek(0, 1)
|
||||
crc = struct.pack('<I', binascii.crc32(data) & 0xFFFFFFFF)
|
||||
outbin.write(crc)
|
||||
outbin.close()
|
||||
|
@ -774,6 +775,7 @@ class MTS_DRAGONFLY_F411RE(Target):
|
|||
part.close()
|
||||
outbin.seek(0, 0)
|
||||
data = outbin.read()
|
||||
outbin.seek(0, 1)
|
||||
crc = struct.pack('<I', binascii.crc32(data) & 0xFFFFFFFF)
|
||||
outbin.write(crc)
|
||||
outbin.close()
|
||||
|
|
Loading…
Reference in New Issue