I am trying to run the FlashDiagnostics.ino sketch from the SPIMemory library version 3.4.0 on an Arduino Nano 33 BLE Sense. However, I encounter the error below. The Nano 33 BLE uses an nRF52 chip, but util/delay.h only works for AVR boards. However, SPIMemory says it supports the Nano 33 BLE.
Can I go into SPIMemory.h and comment out this #include or is there something else I can do? There is no util/delay.h file in SPIMemory. I would have expected it to install there.
On a side note, I intend to use the SPI IS25LP064A-JBLE flash chip. I am unsure whether this library supports that.
Thank you for any help.
C:\Users\Documents\Arduino\libraries\SPIMemory\examples\FlashDiagnostics\FlashDiagnostics.ino:18:0: C:\Users\Documents\Arduino\libraries\SPIMemory\src/SPIMemory.h:114:12: fatal error: util/delay.h: No such file or directory #include <util/delay.h> ^~~~~~~~~~~~~~ compilation terminated. exit status 1 Error compiling for board Arduino Nano 33 BLE.