Mike's bootloader sources + added as option, for Taranis only for now (not as clean as it could be, bootloader is always built even if not selected - didn't find how to nest ifs in makefile :\ ) (Issue #546)

This commit is contained in:
Andre Bernet
2014-01-18 20:00:31 +01:00
parent 34776b24c0
commit 229dfc1938
159 changed files with 66903 additions and 2000 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/env python
import sys
fileout = sys.argv[1]
print fileout
filename = sys.argv[2]
print filename
fr = open(filename, "rb")
fw = open(fileout, "w")
st = fr.read(16)
while st:
for b in st:
fw.write("0x%02x," % ord(b))
fw.write("\n")
st = fr.read(16)
fw.write("\n")
fw.close()