板凳
匿名
发表于 2020-6-30 08:55:36
spiFlashInit();
sysprintf("Erase all SpiFlash\n");
spiFlashEraseAll();
sysprintf("\tWrite SpiFlash\n");
spiFlashWrite(0, TEST_SIZE, (UINT32 *)pSrc);
sysprintf("\tRead and Compare SpiFlash\n");
spiFlashRead(0, TEST_SIZE, (UINT32 *)pDst); |
|