Skip to content

Commit

Permalink
Build OpenOCD and J-Link scripts
Browse files Browse the repository at this point in the history
This requires patched F4PGA: chipsalliance/f4pga#666

Signed-off-by: Artur Kowalski <artur.kowalski@3mdeb.com>
  • Loading branch information
arturkow2000 committed Oct 12, 2023
1 parent 0c18d6a commit f2dc21d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions litex/build/quicklogic/f4pga.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,10 @@ def run_script(self, script):

if subprocess.call(make_cmd) != 0:
raise OSError("Error occured during QuickLogic Symbiflow's script execution.")

make_cmd.append("--target")
if subprocess.call(make_cmd + ["bitstream_openocd"]) != 0:
raise OSError("Error occured during QuickLogic Symbiflow's script execution.")

if subprocess.call(make_cmd + ["bitstream_jlink"]) != 0:
raise OSError("Error occured during QuickLogic Symbiflow's script execution.")

0 comments on commit f2dc21d

Please sign in to comment.