2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00

sayma_rtm: fix RTM firmware not in little-endian for RISC-V

This commit is contained in:
Harry Ho 2021-10-25 09:53:40 +08:00 committed by Sébastien Bourdeauducq
parent 43eab14f56
commit 0aa8a739aa

View File

@ -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: