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