0

SD cardAdafruit 2.4" TFT FeatherWing
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

SD cardAdafruit 2.4" TFT FeatherWing

by alainsam on Sat May 15, 2021 12:41 am

I'm trying to send a BMP file to the screen of featherwing from its SD : I get a compiling error for Huzzah 8266. I do not understand where the error comes from. Here is the scketch from a modified example:
Code: Select all | TOGGLE FULL SIZE
// Adafruit_ImageReader test for Adafruit ST7735 TFT Shield for Arduino.
// Demonstrates loading images from SD card or flash memory to the screen,
// to RAM, and how to query image file dimensions.
// Requires one BMP files in root directory of SD card:
// LED.bmp.
// This ONLY demonstrates BMP loading. Other features of the shield
// (stick, buttons, backlight control) are NOT demonstrated here,
// see other ST7735 library examples for that.
// CURRENT TFT SHIELD REQUIRES Adafruit_Seesaw LIBRARY.

#include <Adafruit_GFX.h>         // Core graphics library
#include <Adafruit_ST7735.h>      // Hardware-specific library
#include <SdFat.h>                // SD card & FAT filesystem library
#include <Adafruit_SPIFlash.h>    // SPI / QSPI flash library
#include <Adafruit_ImageReader.h> // Image-reading functions
#include <Adafruit_seesaw.h>      // IF EARLY TFT SHIELD (no Seesaw),
#include <Adafruit_TFTShield18.h> // THESE TWO LINES CAN BE REMOVED.

// Comment out the next line to load from SPI/QSPI flash instead of SD card:
#define USE_SD_CARD

// TFT display and SD card share the hardware SPI interface, using
// 'select' pins for each to identify the active device on the bus.

#define SD_CS    2 // SD card select pin
#define TFT_CS  0 // TFT select pin
#define TFT_DC   8 // TFT display/command pin
#define TFT_RST -1 // TFT reset pin

#if defined(USE_SD_CARD)
  SdFat                SD;         // SD card filesystem
  Adafruit_ImageReader reader(SD); // Image-reader object, pass in SD filesys
#else
  // SPI or QSPI flash filesystem (i.e. CIRCUITPY drive)
  #if defined(__SAMD51__) || defined(NRF52840_XXAA)
    Adafruit_FlashTransport_QSPI flashTransport(PIN_QSPI_SCK, PIN_QSPI_CS,
      PIN_QSPI_IO0, PIN_QSPI_IO1, PIN_QSPI_IO2, PIN_QSPI_IO3);
  #else
    #if (SPI_INTERFACES_COUNT == 1)
      Adafruit_FlashTransport_SPI flashTransport(SS, &SPI);
    #else
      Adafruit_FlashTransport_SPI flashTransport(SS1, &SPI1);
    #endif
  #endif
  Adafruit_SPIFlash    flash(&flashTransport);
  FatFileSystem        filesys;
  Adafruit_ImageReader reader(filesys); // Image-reader, pass in flash filesys
#endif

Adafruit_TFTShield18 seesaw;
Adafruit_ST7735      tft    = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_RST);
Adafruit_Image       img;        // An image loaded into RAM
int32_t              width  = 320, // BMP image dimensions
                     height = 240;

void setup(void) {

  ImageReturnCode stat; // Status from image-reading functions

  Serial.begin(9600);
#if !defined(ESP32)
  while(!Serial);       // Wait for Serial Monitor before continuing
#endif

  // Normally we'd check the return value of seesaw.begin() to
  // confirm we're talking to the chip...but in this example we'll
  // skip it and assume it's there. This way the code works the
  // same on both new and old (pre-Seesaw) TFT shields:
 
  seesaw.begin();
  seesaw.tftReset();
  seesaw.setBacklight(TFTSHIELD_BACKLIGHT_ON);

  tft.initR(INITR_BLACKTAB); // Initialize screen

  // The Adafruit_ImageReader constructor call (above, before setup())
  // accepts an uninitialized SdFat or FatFileSystem object. This MUST
  // BE INITIALIZED before using any of the image reader functions!
  Serial.print(F("Initializing filesystem..."));
#if defined(USE_SD_CARD)
  // SD card is pretty straightforward, a single call...
  if(!SD.begin(SD_CS, SD_SCK_MHZ(25))) { // ESP32 requires 25 MHz limit
    Serial.println(F("SD begin() failed"));
    for(;;); // Fatal error, do not continue
  }
#else
  // SPI or QSPI flash requires two steps, one to access the bare flash
  // memory itself, then the second to access the filesystem within...
  if(!flash.begin()) {
    Serial.println(F("flash begin() failed"));
    for(;;);
  }
  if(!filesys.begin(&flash)) {
    Serial.println(F("filesys begin() failed"));
    for(;;);
  }
#endif
  Serial.println(F("OK!"));

  Serial.print(F("Loading LED.bmp to screen..."));
  stat = reader.drawBMP("/LED.bmp", tft, 0, 0);
  reader.printStatus(stat);   // How'd we do?

  // Query the dimensions of image 'miniwoof.bmp' WITHOUT loading to screen:
  Serial.print(F("Querying LED.bmp image size..."));
  stat = reader.bmpDimensions("/miniwoof.bmp", &width, &height);
  reader.printStatus(stat);   // How'd we do?
  if(stat == IMAGE_SUCCESS) { // If it worked, print image size...
    Serial.print(F("Image dimensions: "));
    Serial.print(width);
    Serial.write('x');
    Serial.println(height);
  }


  delay(2000); // Pause 2 seconds before moving on to loop()
}

void loop() {

      reader.drawBMP("/LCD.bmp", tft,100,100);
 
}

alainsam
 
Posts: 59
Joined: Tue Oct 04, 2016 7:58 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

by adafruit_support_mike on Sat May 15, 2021 1:00 am

What's the exact error you get?

adafruit_support_mike
 
Posts: 62799
Joined: Thu Feb 11, 2010 2:51 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

by alainsam on Sat May 15, 2021 12:00 pm

Error compiling for board Adafruit Feather HUZZAH ESP8266.
The last line before the error is:
Using library Adafruit_EPD at version 4.4.0 in folder: C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD

exit status 1

alainsam
 
Posts: 59
Joined: Tue Oct 04, 2016 7:58 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

by alainsam on Sat May 15, 2021 12:35 pm

I forgot to set the DC pin for 8266but I still get the same error after fixing it:
#define TFT_DC 15 // TFT display/command pin for 8266
#define TFT_RST -1 // TFT reset pin not changed

alainsam
 
Posts: 59
Joined: Tue Oct 04, 2016 7:58 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

by adafruit_support_mike on Sat May 15, 2021 8:10 pm

Post the complete output between CODE tags please.

adafruit_support_mike
 
Posts: 62799
Joined: Thu Feb 11, 2010 2:51 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

by alainsam on Sun May 16, 2021 1:09 pm

I have to send it in several parts as it seems too long for your system
This is the last part:
Code: Select all | TOGGLE FULL SIZE

 #define EPD_RAM_RED 0x13

 ^

In file included from C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src/Adafruit_EPD.h:199:0,

                 from C:\Users\alain\Documents\Arduino\libraries\Adafruit_ImageReader_Library\Adafruit_ImageReader_EPD.h:18,

                 from C:\Users\alain\Documents\Arduino\libraries\Adafruit_ImageReader_Library\Adafruit_ImageReader_EPD.cpp:1:

C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src/drivers/Adafruit_IL0373.h:36:0: note: this is the location of the previous definition

 #define EPD_RAM_RED IL0373_DTM2

 ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_ImageReader_Library\Adafruit_ImageReader.cpp: In member function 'void Adafruit_Image::dealloc()':

C:\Users\alain\Documents\Arduino\libraries\Adafruit_ImageReader_Library\Adafruit_ImageReader.cpp:86:21: warning: deleting object of polymorphic class type 'GFXcanvas1' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]

       delete canvas.canvas1;

                     ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_ImageReader_Library\Adafruit_ImageReader.cpp:91:21: warning: deleting object of polymorphic class type 'GFXcanvas8' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]

       delete canvas.canvas8;

                     ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_ImageReader_Library\Adafruit_ImageReader.cpp:96:21: warning: deleting object of polymorphic class type 'GFXcanvas16' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]

       delete canvas.canvas16;

                     ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_ImageReader_Library\Adafruit_ImageReader.cpp:101:12: warning: deleting object of polymorphic class type 'GFXcanvas1' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]

     delete mask;

            ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_ImageReader_Library\Adafruit_ImageReader_EPD.cpp: In member function 'ImageReturnCode Adafruit_ImageReader_EPD::coreBMP(char*, Adafruit_EPD*, uint16_t*, int16_t, int16_t, Adafruit_Image_EPD*, boolean)':

C:\Users\alain\Documents\Arduino\libraries\Adafruit_ImageReader_Library\Adafruit_ImageReader_EPD.cpp:386:38: warning: 'epd_row' may be used uninitialized in this function [-Wmaybe-uninitialized]

                             epd_row++;

                                      ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_ImageReader_Library\Adafruit_ImageReader_EPD.cpp:383:36: warning: 'epd_col' may be used uninitialized in this function [-Wmaybe-uninitialized]

                           epd_col++;

                                    ^

Compiling library "Adafruit_seesaw_Library"

"C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\adafruit" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ST7735_and_ST7789_Library" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SPI" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\SdFat-master\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_SPIFlash\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ImageReader_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src" "C:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library\\Adafruit_TFTShield18.cpp" -o "C:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994\\libraries\\Adafruit_seesaw_Library\\Adafruit_TFTShield18.cpp.o"

"C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\adafruit" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ST7735_and_ST7789_Library" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SPI" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\SdFat-master\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_SPIFlash\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ImageReader_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src" "C:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library\\Adafruit_NeoKey_1x4.cpp" -o "C:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994\\libraries\\Adafruit_seesaw_Library\\Adafruit_NeoKey_1x4.cpp.o"

"C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\adafruit" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ST7735_and_ST7789_Library" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SPI" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\SdFat-master\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_SPIFlash\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ImageReader_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src" "C:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library\\Adafruit_Crickit.cpp" -o "C:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994\\libraries\\Adafruit_seesaw_Library\\Adafruit_Crickit.cpp.o"

"C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\adafruit" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ST7735_and_ST7789_Library" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SPI" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\SdFat-master\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_SPIFlash\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ImageReader_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src" "C:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library\\Adafruit_NeoTrellis.cpp" -o "C:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994\\libraries\\Adafruit_seesaw_Library\\Adafruit_NeoTrellis.cpp.o"

In file included from C:\Users\alain\Documents\Arduino\libraries\Adafruit_seesaw_Library\Adafruit_NeoKey_1x4.cpp:1:0:

C:\Users\alain\Documents\Arduino\libraries\Adafruit_seesaw_Library\Adafruit_NeoKey_1x4.h:24:0: warning: "NEOKEY_1X4_KEY" redefined [enabled by default]

 #define NEOKEY_1X4_KEY(x) (((x) / 8) * 4 + ((x) % 8))

 ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_seesaw_Library\Adafruit_NeoKey_1x4.h:23:0: note: this is the location of the previous definition

 #define NEOKEY_1X4_KEY(x) (((x) / 4) * 8 + ((x) % 4))

 ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_seesaw_Library\Adafruit_NeoKey_1x4.cpp: In member function 'uint8_t Adafruit_NeoKey_1x4::read()':

C:\Users\alain\Documents\Arduino\libraries\Adafruit_seesaw_Library\Adafruit_NeoKey_1x4.cpp:91:55: warning: narrowing conversion of 'b' from 'int' to 'uint16_t {aka short unsigned int}' inside { } [-Wnarrowing]

           keyEvent evt = {SEESAW_KEYPAD_EDGE_RISING, b};

                                                       ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_seesaw_Library\Adafruit_NeoKey_1x4.cpp:98:56: warning: narrowing conversion of 'b' from 'int' to 'uint16_t {aka short unsigned int}' inside { } [-Wnarrowing]

           keyEvent evt = {SEESAW_KEYPAD_EDGE_FALLING, b};

                                                        ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_seesaw_Library\Adafruit_NeoKey_1x4.cpp: In member function 'void Adafruit_MultiNeoKey1x4::read()':

C:\Users\alain\Documents\Arduino\libraries\Adafruit_seesaw_Library\Adafruit_NeoKey_1x4.cpp:320:67: warning: narrowing conversion of 'event_key' from 'int' to 'uint16_t {aka short unsigned int}' inside { } [-Wnarrowing]

               keyEvent evt = {SEESAW_KEYPAD_EDGE_RISING, event_key};

                                                                   ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_seesaw_Library\Adafruit_NeoKey_1x4.cpp:326:68: warning: narrowing conversion of 'event_key' from 'int' to 'uint16_t {aka short unsigned int}' inside { } [-Wnarrowing]

               keyEvent evt = {SEESAW_KEYPAD_EDGE_FALLING, event_key};

                                                                    ^

"C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\adafruit" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ST7735_and_ST7789_Library" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SPI" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\SdFat-master\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_SPIFlash\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ImageReader_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src" "C:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library\\Adafruit_miniTFTWing.cpp" -o "C:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994\\libraries\\Adafruit_seesaw_Library\\Adafruit_miniTFTWing.cpp.o"

"C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\adafruit" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ST7735_and_ST7789_Library" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SPI" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\SdFat-master\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_SPIFlash\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ImageReader_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src" "C:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library\\Adafruit_seesaw.cpp" -o "C:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994\\libraries\\Adafruit_seesaw_Library\\Adafruit_seesaw.cpp.o"

"C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\adafruit" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ST7735_and_ST7789_Library" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SPI" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\SdFat-master\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_SPIFlash\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ImageReader_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src" "C:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library\\seesaw_neopixel.cpp" -o "C:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994\\libraries\\Adafruit_seesaw_Library\\seesaw_neopixel.cpp.o"

"C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\adafruit" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ST7735_and_ST7789_Library" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SPI" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\SdFat-master\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_SPIFlash\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ImageReader_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src" "C:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library\\seesaw_servo.cpp" -o "C:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994\\libraries\\Adafruit_seesaw_Library\\seesaw_servo.cpp.o"

Compiling library "Adafruit_BusIO"

"C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\adafruit" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ST7735_and_ST7789_Library" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SPI" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\SdFat-master\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_SPIFlash\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ImageReader_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src" "C:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_I2CDevice.cpp" -o "C:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994\\libraries\\Adafruit_BusIO\\Adafruit_I2CDevice.cpp.o"

"C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\adafruit" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ST7735_and_ST7789_Library" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SPI" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\SdFat-master\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_SPIFlash\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ImageReader_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src" "C:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_SPIDevice.cpp" -o "C:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994\\libraries\\Adafruit_BusIO\\Adafruit_SPIDevice.cpp.o"

"C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\adafruit" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ST7735_and_ST7789_Library" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SPI" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\SdFat-master\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_SPIFlash\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ImageReader_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src" "C:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_BusIO_Register.cpp" -o "C:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994\\libraries\\Adafruit_BusIO\\Adafruit_BusIO_Register.cpp.o"

Compiling library "Wire"

"C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\adafruit" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ST7735_and_ST7789_Library" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SPI" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\SdFat-master\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_SPIFlash\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ImageReader_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src" "C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire\\Wire.cpp" -o "C:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994\\libraries\\Wire\\Wire.cpp.o"

Compiling library "Adafruit_EPD"

"C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\adafruit" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ST7735_and_ST7789_Library" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SPI" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\SdFat-master\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_SPIFlash\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ImageReader_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src" "C:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src\\Adafruit_EPD.cpp" -o "C:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994\\libraries\\Adafruit_EPD\\Adafruit_EPD.cpp.o"

"C:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\adafruit" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ST7735_and_ST7789_Library" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SPI" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\SdFat-master\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_SPIFlash\\src" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_ImageReader_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_seesaw_Library" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\alain\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src" "C:\\Users\\alain\\Documents\\Arduino\\libraries\\Adafruit_EPD\\src\\Adafruit_MCPSRAM.cpp" -o "C:\\Users\\alain\\AppData\\Local\\Temp\\arduino_build_949994\\libraries\\Adafruit_EPD\\Adafruit_MCPSRAM.cpp.o"

In file included from C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.h:200:0,

                 from C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.cpp:36:

C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\drivers/Adafruit_IL0398.h:7:0: warning: "EPD_RAM_BW" redefined [enabled by default]

 #define EPD_RAM_BW 0x10

 ^

In file included from C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.h:199:0,

                 from C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.cpp:36:

C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\drivers/Adafruit_IL0373.h:35:0: note: this is the location of the previous definition

 #define EPD_RAM_BW IL0373_DTM1

 ^

In file included from C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.h:200:0,

                 from C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.cpp:36:

C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\drivers/Adafruit_IL0398.h:8:0: warning: "EPD_RAM_RED" redefined [enabled by default]

 #define EPD_RAM_RED 0x13

 ^

In file included from C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.h:199:0,

                 from C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.cpp:36:

C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\drivers/Adafruit_IL0373.h:36:0: note: this is the location of the previous definition

 #define EPD_RAM_RED IL0373_DTM2

 ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.cpp:311:6: warning: unused parameter 'invertdata' [-Wunused-parameter]

 void Adafruit_EPD::writeSRAMFramebufferToEPD(uint16_t SRAM_buffer_addr,

      ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.cpp: In member function 'void Adafruit_EPD::display(bool)':

C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.cpp:353:11: warning: unused variable 'c' [-Wunused-variable]

   uint8_t c;

           ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.cpp: In member function 'void Adafruit_EPD::csHigh()':

C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.cpp:664:14: error: 'class Adafruit_SPIDevice' has no member named 'endTransaction'

     spi_dev->endTransaction();

              ^

C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.cpp: In member function 'void Adafruit_EPD::csLow()':

C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD\src\Adafruit_EPD.cpp:677:14: error: 'class Adafruit_SPIDevice' has no member named 'beginTransaction'

     spi_dev->beginTransaction();

              ^

Multiple libraries were found for "SdFat.h"

 Used: C:\Users\alain\Documents\Arduino\libraries\SdFat-master

 Not used: C:\Users\alain\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3\libraries\ESP8266SdFat

 Not used: C:\Users\alain\Documents\Arduino\libraries\SdFat_-_Adafruit_Fork

Using library Adafruit_GFX_Library at version 1.10.6 in folder: C:\Users\alain\Documents\Arduino\libraries\Adafruit_GFX_Library

Using library Adafruit_ST7735_and_ST7789_Library at version 1.7.1 in folder: C:\Users\alain\Documents\Arduino\libraries\Adafruit_ST7735_and_ST7789_Library

Using library SPI at version 1.0 in folder: C:\Users\alain\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3\libraries\SPI

Using library SdFat-master at version 1.2.3 in folder: C:\Users\alain\Documents\Arduino\libraries\SdFat-master

Using library Adafruit_SPIFlash at version 3.4.0 in folder: C:\Users\alain\Documents\Arduino\libraries\Adafruit_SPIFlash

Using library Adafruit_ImageReader_Library at version 2.6.0 in folder: C:\Users\alain\Documents\Arduino\libraries\Adafruit_ImageReader_Library

Using library Adafruit_seesaw_Library at version 1.4.0 in folder: C:\Users\alain\Documents\Arduino\libraries\Adafruit_seesaw_Library

Using library Adafruit_BusIO at version 1.2.1 in folder: C:\Users\alain\Documents\Arduino\libraries\Adafruit_BusIO

Using library Wire at version 1.0 in folder: C:\Users\alain\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3\libraries\Wire

Using library Adafruit_EPD at version 4.4.0 in folder: C:\Users\alain\Documents\Arduino\libraries\Adafruit_EPD

exit status 1

Error compiling for board Adafruit Feather HUZZAH ESP8266.



alainsam
 
Posts: 59
Joined: Tue Oct 04, 2016 7:58 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

by alainsam on Sun May 16, 2021 1:47 pm

I am sending the listing as a file.
Attachments
listing.txt
(293.5 KiB) Not downloaded yet

alainsam
 
Posts: 59
Joined: Tue Oct 04, 2016 7:58 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

by adafruit_support_mike on Sun May 16, 2021 7:35 pm

It looks like you have multiple SD libraries in your ‘libraries/‘ folder, and the compiler doesn’t know which one to use.

The board support package has its own SD library, so move the others out of ‘libraries/‘, or add a dash to the beginning of their names (which tells the arduino IDE to ignore them when it boots).

adafruit_support_mike
 
Posts: 62799
Joined: Thu Feb 11, 2010 2:51 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

by alainsam on Mon May 17, 2021 2:17 pm

Ok,I see that I have
SdFat-master
ESP8266SdFat
SdFat_-_Adafruit_Fork
Which one should I use?
Thanks

alainsam
 
Posts: 59
Joined: Tue Oct 04, 2016 7:58 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

by adafruit_support_mike on Mon May 17, 2021 6:23 pm

Remove all of them. The ESP8266 board support package has its own SD library.

adafruit_support_mike
 
Posts: 62799
Joined: Thu Feb 11, 2010 2:51 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

by alainsam on Tue May 18, 2021 7:30 pm

I'm still having problem with the SD . What is the name of the ESP8266 board package to use?

alainsam
 
Posts: 59
Joined: Tue Oct 04, 2016 7:58 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

by adafruit_support_mike on Tue May 18, 2021 8:11 pm

SD.

The board support packages have their own version of any library that needs to be handled differently from other microcontrollers. That way programs can use the standard library names and still work for multiple microcontrollers.

adafruit_support_mike
 
Posts: 62799
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.