Hi There,
I am interfacing an Adafruit 1.8" Color TFT LCD display (ST7735R) with a Nano 33 BLE. I am able to compile and upload the basic graphics test sketch which works great. When I move on to ~/Arduino/libraries/Adafruit_ImageReader_Library/examples/BreakoutST7735-160x128 example where a .bmp file is loaded from the SD Card, the sketch will not compile.
The errors I am getting all point to ~/Arduino/libraries/Adafruit_SPIFlash/src/qspi/Adafruit_FlashTransport_QSPI_NRF.cpp missing pin definitions for QSPI. The errors advise that the following QSPI pins are not defined with the scope of Adafruit_FlashTransport_QSPI_NRF.cpp. There is one error for each pin below:
PIN_QSPI_SCK 27
PIN_QSPI_CS 28
PIN_QSPI_IO0 29
PIN_QSPI_IO1 30
PIN_QSPI_IO2 31
PIN_QSPI_IO3 32
Here is an example error for the above:
/Users/evanthayer/Documents/Arduino/libraries/Adafruit_SPIFlash/src/qspi/Adafruit_FlashTransport_QSPI_NRF.cpp: In constructor 'Adafruit_FlashTransport_QSPI::Adafruit_FlashTransport_QSPI()':
/Users/evanthayer/Documents/Arduino/libraries/Adafruit_SPIFlash/src/qspi/Adafruit_FlashTransport_QSPI_NRF.cpp:42:36: error: 'PIN_QSPI_SCK' was not declared in this scope
: Adafruit_FlashTransport_QSPI(PIN_QSPI_SCK, PIN_QSPI_CS, PIN_QSPI_IO0,
The errors also state that g_ADigitalPinMap is not defined within the scope. Here is that error in its entirety:
/Users/evanthayer/Documents/Arduino/libraries/Adafruit_SPIFlash/src/qspi/Adafruit_FlashTransport_QSPI_NRF.cpp: In member function 'virtual void Adafruit_FlashTransport_QSPI::begin()':
/Users/evanthayer/Documents/Arduino/libraries/Adafruit_SPIFlash/src/qspi/Adafruit_FlashTransport_QSPI_NRF.cpp:61:35: error: 'g_ADigitalPinMap' was not declared in this scope
.sck_pin = (uint8_t)g_ADigitalPinMap[_sck],
I have searched through all the include files looking for these definitions and cannot find them anywhere. Is it possible that the Adafruit TFT displays are not yet fully compatible with the 33 BLE?
I am running Mac OS 12.6 and Arduino IDE 2.0.