forked from M-Labs/artiq
sayma_rtm: fix RTM firmware not in little-endian for RISC-V
This commit is contained in:
parent
43eab14f56
commit
0aa8a739aa
|
@ -240,7 +240,7 @@ class SatmanSoCBuilder(Builder):
|
||||||
"satman.bin")
|
"satman.bin")
|
||||||
with open(satman, "rb") as boot_file:
|
with open(satman, "rb") as boot_file:
|
||||||
boot_data = []
|
boot_data = []
|
||||||
unpack_endian = ">I"
|
unpack_endian = "<I"
|
||||||
while True:
|
while True:
|
||||||
w = boot_file.read(4)
|
w = boot_file.read(4)
|
||||||
if not w:
|
if not w:
|
||||||
|
|
Loading…
Reference in New Issue