main: bitstream default target depends on mode spi/jtag

This commit is contained in:
Gwenhael Goavec-Merou
2022-01-18 08:09:54 +01:00
parent 60ba2b1ccc
commit eb462d2bec
2 changed files with 15 additions and 7 deletions
+2 -1
View File
@@ -30,7 +30,8 @@ class Device {
typedef enum {
WR_SRAM = 0,
WR_FLASH = 1,
RD_FLASH = 2
RD_FLASH = 2,
PRG_NONE = 3
} prog_type_t;
Device(Jtag *jtag, std::string filename, const std::string &file_type,