mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-27 12:18:26 +08:00
flash_tools: cleanup import
This commit is contained in:
parent
1ed04ebc91
commit
df1a389007
@ -1,6 +1,7 @@
|
|||||||
import atexit
|
import atexit
|
||||||
import os
|
import os
|
||||||
import tempfile
|
import tempfile
|
||||||
|
import struct
|
||||||
|
|
||||||
|
|
||||||
def artifact_path(this_binary_dir, *path_filename, srcbuild=False):
|
def artifact_path(this_binary_dir, *path_filename, srcbuild=False):
|
||||||
@ -65,9 +66,6 @@ def fetch_bin(binary_dir, components, srcbuild=False):
|
|||||||
# after
|
# after
|
||||||
# https://github.com/mfischer/fpgadev-zynq/blob/master/top/python/bit_to_zynq_bin.py
|
# https://github.com/mfischer/fpgadev-zynq/blob/master/top/python/bit_to_zynq_bin.py
|
||||||
|
|
||||||
import struct
|
|
||||||
|
|
||||||
|
|
||||||
def flip32(data):
|
def flip32(data):
|
||||||
sl = struct.Struct("<I")
|
sl = struct.Struct("<I")
|
||||||
sb = struct.Struct(">I")
|
sb = struct.Struct(">I")
|
||||||
|
Loading…
Reference in New Issue
Block a user