lattice: correct mask for sram erase for NEXUS_FAMILY, as it is 0x00

This commit is contained in:
Giovanni Bruni 2023-10-26 11:30:24 +02:00
parent 917e42127b
commit d58a1c3fc7
1 changed files with 1 additions and 1 deletions

View File

@ -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;