Closed ChuckVanzant closed 5 years ago
In file Adafruit_QSPI_Flash.cpp, lines 154 thru 158 have the following undefined variables specified which causes a build error. Commenting out these lines allows the sample script PyPortal_ArduinoSelfTest.ino to build and execute.
// Adafruit_SPIFlash variables currentAddr = 0; addrsize = 24; totalsize = _flash_dev->total_size; pagesize = QSPI_FLASH_PAGE_SIZE; pages = totalsize/QSPI_FLASH_PAGE_SIZE;
this library is deprecated, please use https://github.com/adafruit/Adafruit_SPIFlash instead
In file Adafruit_QSPI_Flash.cpp, lines 154 thru 158 have the following undefined variables specified which causes a build error. Commenting out these lines allows the sample script PyPortal_ArduinoSelfTest.ino to build and execute.
// Adafruit_SPIFlash variables currentAddr = 0; addrsize = 24; totalsize = _flash_dev->total_size; pagesize = QSPI_FLASH_PAGE_SIZE; pages = totalsize/QSPI_FLASH_PAGE_SIZE;