changes to spiflash lib local pvm suport