xilinx: update according to mcsParser modifications
This commit is contained in:
parent
64754604f6
commit
4b3166e8df
|
|
@ -91,10 +91,10 @@ void Xilinx::program_spi(unsigned int offset)
|
|||
program_mem(bitfile);
|
||||
|
||||
/* last: read file and erase/flash spi flash */
|
||||
McsParser mcs(_filename, _verbose);
|
||||
McsParser mcs(_filename, false, _verbose);
|
||||
mcs.parse();
|
||||
SPIFlash spiFlash(this, _verbose);
|
||||
spiFlash.erase_and_prog(offset, mcs.getData(), mcs.getLength());
|
||||
spiFlash.erase_and_prog(offset, mcs.getData(), mcs.getLength()/8);
|
||||
}
|
||||
|
||||
void Xilinx::program_mem(BitParser &bitfile)
|
||||
|
|
|
|||
Loading…
Reference in New Issue