Code: Select all
C:\Users\Tyler\Documents\Arduino\libraries\Adafruit_SPIFlash\src\esp32\Adafruit_FlashTransport_ESP32.cpp: In member function 'SPIFlash_Device_t* Adafruit_FlashTransport_ESP32::getFlashDevice()':
C:\Users\Tyler\Documents\Arduino\libraries\Adafruit_SPIFlash\src\esp32\Adafruit_FlashTransport_ESP32.cpp:50:3: error: 'esp_flash_t' was not declared in this scope
esp_flash_t const *flash = _partition->flash_chip;
^
C:\Users\Tyler\Documents\Arduino\libraries\Adafruit_SPIFlash\src\esp32\Adafruit_FlashTransport_ESP32.cpp:52:30: error: 'flash' was not declared in this scope
_flash_device.total_size = flash->size;
It happens when trying to include Adafruit_SPIFlash.h.
Here the sketch compiles when I have a HUZZAH 8266 version selected But when I switch to the HUZZAH32 it fails.
The setup instruction for the HUZZAH32 are a bit vague. It simply says to "Check out the Espressif Arduino repository for details on how to install it"
I grabbed the stable version link (https://raw.githubusercontent.com/espre ... index.json) and added it to the board manager and installed the ESP32 board. I also tried removing it and re-adding in to see if it was a bad install, but that did not seem to fix it.
Hopefully it's something very obvious I'm missing. Any help would be greatly appreciated.