Fix for Issue #11, the following is the behaviour of the mode parameter with the changes:
--mode is not mandatory for all use-cases of the programmer
while flashing m4app or appfpga images, --mode [m4/fpga/fpga-m4] should be specified - this is enforced, and error message displayed if not specified
standalone use of --mode continues to be available :
qfprog --mode to read the currently active mode on the board
qfprog --mode [m4/fpga/fpga-m4] to set the mode, without needing to flash images.
Fix for Issue #11, the following is the behaviour of the mode parameter with the changes:
--mode
is not mandatory for all use-cases of the programmerwhile flashing
m4app
orappfpga
images,--mode [m4/fpga/fpga-m4]
should be specified - this is enforced, and error message displayed if not specifiedstandalone use of
--mode
continues to be available :qfprog --mode
to read the currently active mode on the boardqfprog --mode [m4/fpga/fpga-m4]
to set the mode, without needing to flash images.