Add 'user-flash' CLI argument

This commit is contained in:
Jean THOMAS
2024-12-11 12:01:37 +01:00
parent a1108ca981
commit ffa006d0ee
4 changed files with 22 additions and 4 deletions
+2 -2
View File
@@ -77,8 +77,8 @@ using namespace std;
Gowin::Gowin(Jtag *jtag, const string filename, const string &file_type, std::string mcufw,
Device::prog_type_t prg_type, bool external_flash,
bool verify, int8_t verbose): Device(jtag, filename, file_type,
verify, verbose),
bool verify, int8_t verbose, const std::string& user_flash)
: Device(jtag, filename, file_type, verify, verbose),
SPIInterface(filename, verbose, 0, verify, false, false),
_idcode(0), is_gw1n1(false), is_gw1n4(false), is_gw1n9(false),
is_gw2a(false), is_gw5a(false),