mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 01:48:50 +02:00
lattice: correct mask for sram erase for NEXUS_FAMILY, as it is 0x00
This commit is contained in:
+1
-1
@@ -729,7 +729,7 @@ bool Lattice::clearSRAM()
|
||||
printSuccess("DONE");
|
||||
}
|
||||
|
||||
if (_fpga_family == MACHXO3D_FAMILY)
|
||||
if (_fpga_family == MACHXO3D_FAMILY || _fpga_family == NEXUS_FAMILY)
|
||||
erase_op = 0x0;
|
||||
else
|
||||
erase_op = FLASH_ERASE_SRAM;
|
||||
|
||||
Reference in New Issue
Block a user