mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-29 17:39:36 +02:00
colognechip integration: create CologneChip SPI object in dynamic fashion as well
This commit is contained in:
+1
-1
@@ -219,7 +219,7 @@ int main(int argc, char **argv)
|
||||
target = new Ice40(spi, args.bit_file, args.file_type,
|
||||
board->reset_pin, board->done_pin, args.verify, args.verbose);
|
||||
} else if (board->manufacturer == "colognechip") {
|
||||
CologneChip target(spi, args.bit_file, args.file_type, args.prg_type,
|
||||
target = new CologneChip(spi, args.bit_file, args.file_type, args.prg_type,
|
||||
board->reset_pin, board->done_pin, DBUS6, board->oe_pin,
|
||||
args.verify, args.verbose);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user