mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-09-02 11:08:49 +02:00
All devices: new CLI argument to bypass file type autodetection
This commit is contained in:
+2
-1
@@ -25,7 +25,8 @@ class Device {
|
||||
WR_FLASH = 1
|
||||
} prog_type_t;
|
||||
|
||||
Device(Jtag *jtag, std::string filename, int8_t verbose = false);
|
||||
Device(Jtag *jtag, std::string filename, const std::string &file_type,
|
||||
int8_t verbose = false);
|
||||
virtual ~Device();
|
||||
virtual void program(unsigned int offset = 0) = 0;
|
||||
virtual int idCode() = 0;
|
||||
|
||||
Reference in New Issue
Block a user