Skip to content

Commit

Permalink
Remove apollo force-offline warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mossmann committed Oct 9, 2023
1 parent 5a4b6b4 commit cc77f52
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apollo_fpga/commands/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,6 @@ def reconfigure_fpga(device, args):
def force_fpga_offline(device, args):
""" Command that requests the attached ECP5 be held unconfigured. """
device.force_fpga_offline()
logging.warning("\nWARNING: Forced the FPGA into an unconfigured state!\n")
logging.warning("Configuration will not work properly until you run 'apollo reconfigure' or reset the device.")
logging.warning("Flashing the FPGA's configuration SPI flash will still work as intended.\n\n")


def _do_debug_spi(device, spi, args, *, invert_cs):
Expand Down Expand Up @@ -307,7 +304,7 @@ def main():
Command("reconfigure", handler=reconfigure_fpga,
help="Requests the attached ECP5 reconfigure itself from its SPI flash."),
Command("force-offline", handler=force_fpga_offline,
help="Forces the board's FPGA offline; useful for recovering a \"bricked\" JTAG connection."),
help="Forces the board's FPGA offline."),

# SPI debug exchanges
Command("spi", args=["bytes"], handler=debug_spi,
Expand Down

0 comments on commit cc77f52

Please sign in to comment.