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")
|
||||
with open(satman, "rb") as boot_file:
|
||||
boot_data = []
|
||||
unpack_endian = ">I"
|
||||
unpack_endian = "<I"
|
||||
while True:
|
||||
w = boot_file.read(4)
|
||||
if not w:
|
||||
|
Loading…
Reference in New Issue
Block a user