lattice: correct mask for sram erase for NEXUS_FAMILY, as it is 0x00
This commit is contained in:
parent
917e42127b
commit
d58a1c3fc7
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue