QuickLogic-Corp / TinyFPGA-Programmer-Application

Desktop application for programming TinyFPGA boards and now QuickFeather
GNU General Public License v3.0
7 stars 3 forks source link

Fix usage of parameter --mode #12

Closed coolbreeze413 closed 3 years ago

coolbreeze413 commented 3 years ago

Fix for Issue #11, the following is the behaviour of the mode parameter with the changes:

  1. --mode is not mandatory for all use-cases of the programmer

  2. while flashing m4app or appfpga images, --mode [m4/fpga/fpga-m4] should be specified - this is enforced, and error message displayed if not specified

  3. 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.

coolbreeze413 commented 3 years ago

@timsaxe @murthyvedula could you please take a look and see if it looks ok to merge?