Closed orenzav closed 3 years ago
@orenzav I edited your post to make it easier to read, can you also provide the version of following libraries for reproducing:
also please attached your full compile log from Arduino IDE for analysis
Hi,
Thanks for your reply: full compile log.txt
Adafruit_ImageReader is version 2.6.2 Adafruit_SPIFlash is version 3.7.0 BSP of arduino-esp32 - Really sorry not sure what this is where would I find it? Do you mean platform version as per below its Espressif 32 (3.3.2)
Full compile log from fresh as per attached
Can you please edit your post to have full log as attached txt file for readability
Sorry, edited now and attached. Thanks.
no problem, I will try to reproduce the issue and post more update whenever I could
@orenzav I don't use platformio, can you post the compile log of the Arduino IDE
PS: now I read the issue more closely. Apparently it work with Arduino IDE 1.8 therefore It is probably something specific with platformIO and how they resolve the libraries dependency. Which I have no idea how to resolve. I would suggest you to post this issue to platformIO forum to see if there any fixes from people with the same issue. Arduino 2.0 is still experimental therefore It could have its own issue.
OK thanks for your help, appreciated
Hi,
I'm using the ImageReader example code (see below) to display images from an SD card. Hardware is an Adfruit ESP32 Feather and an Adafruit 1.44" Color TFT LCD Display with MicroSD Card breakout - ST7735R. I'm using PlatformIO (VScode).
No matter what I seem to try I get a compiler error which appears to suggest that flash_t was not declared in scope for Adafruit_FlashTransport_ESP32.cpp
Interestingly (maybe) when I try and compile using Arduino 1.8.15 IDE it works.
Conversely if I try the same code again on Arduino 2.0 Beta11 IDE it also fails with the same error message above that PlatformIO gives me.
I've searched the forums buy closest I've come across that's similar is this: https://github.com/espressif/arduino-esp32/issues/4115 which doesn't work
Error:
Code: