Skip to content

Commit

Permalink
Merge pull request #90 from antoinevg/antoinevg/remove-flash-alias
Browse files Browse the repository at this point in the history
cli: remove 'flash' alias for 'flash-program'
  • Loading branch information
mossmann authored Jul 3, 2024
2 parents 25948fa + 89711a2 commit b064724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo_fpga/commands/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def jtag_debug_spi_register(device, args):
# Flash commands
Command("flash-erase", handler=erase_flash,
help="Erases the contents of the FPGA's flash memory."),
Command("flash-program", alias=["flash"], args=["file", "--offset", (("--fast",), dict(action='store_true'))],
Command("flash-program", args=["file", "--offset", (("--fast",), dict(action='store_true'))],
handler=program_flash, help="Programs the target bitstream onto the FPGA's configuration flash."),
Command("flash-fast", args=["file", "--offset"], handler=program_flash_fast_deprecated,
help="Programs a bitstream onto the FPGA's configuration flash using a SPI bridge."),
Expand Down

0 comments on commit b064724

Please sign in to comment.