Skip to content

Commit

Permalink
Merge pull request greatscottgadgets#271 from mossmann/offline
Browse files Browse the repository at this point in the history
gateware.platform: Use force_fpga_offline()
  • Loading branch information
antoinevg authored Jul 29, 2024
2 parents 53354ee + 4ac65f6 commit d24193e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions luna/gateware/platform/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,7 @@ def _ensure_unconfigured(self, debugger):

from apollo_fpga.ecp5 import ECP5_JTAGProgrammer

with debugger.jtag as jtag:
programmer = ECP5_JTAGProgrammer(jtag)
programmer.unconfigure()
debugger.force_fpga_offline()


def toolchain_flash(self, products, name="top"):
Expand Down

0 comments on commit d24193e

Please sign in to comment.