Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By rudy
#59623 I did an update through the library manager. I had been using SD library 1.0.8 and it was working. The update manager showed that 1.1.0 was available so I installed it. No joy after that. I was getting errors. I then deleted 1.1.0 and tried 1.0.9 and I also had errors. (below)

I am using Arduino 1.6.12 and I using 2.3.0 with a file updated for faster WiFi download speed, I think just a buffer size change. The errors below are from compiling the example SDWebServer.ino sketch. No changes to it, exactly as it comes.

Has anyone else had any problems?

Code: Select allArduino: 1.6.12 (Windows 10), Board: "Generic ESP8266 Module, 160 MHz, 40MHz, QIO, 115200, 4M (3M SPIFFS), ck, Disabled, None"

In file included from C:\Users\Rudy\Documents\Arduino\libraries\SD\src/utility/Sd2Card.h:26:0,

                 from C:\Users\Rudy\Documents\Arduino\libraries\SD\src/utility/SdFat.h:29,

                 from C:\Users\Rudy\Documents\Arduino\libraries\SD\src/SD.h:20,

                 from C:\Users\Rudy\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\examples\SDWebServer\SDWebServer.ino:35:

C:\Users\Rudy\Documents\Arduino\libraries\SD\src/utility/Sd2PinMap.h:510:2: error: #error Architecture or board not supported.

 #error Architecture or board not supported.

  ^

Multiple libraries were found for "SD.h"
 Used: C:\Users\Rudy\Documents\Arduino\libraries\SD
 Not used: C:\Users\Rudy\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SD
 Not used: C:\Program Files (x86)\Arduino\libraries\SD
exit status 1
Error compiling for board Generic ESP8266 Module.
Last edited by rudy on Sun Dec 18, 2016 11:45 am, edited 1 time in total.
User avatar
By rudy
#59636 I updated to 1.1.0 and then did the change. Now the error is the following.


Arduino: 1.6.12 (Windows 10), Board: "Generic ESP8266 Module, 160 MHz, 40MHz, QIO, 115200, 4M (3M SPIFFS), ck, Disabled, None"

C:\Users\Rudy\Documents\Arduino\libraries\SD\src\utility\Sd2Card.cpp: In function 'void spiRec(uint8_t*, int)':

C:\Users\Rudy\Documents\Arduino\libraries\SD\src\utility\Sd2Card.cpp:112:33: error: no matching function for call to 'SPIClass::transfer(uint8_t*&, int&)'

SDCARD_SPI.transfer(data, size);

^

C:\Users\Rudy\Documents\Arduino\libraries\SD\src\utility\Sd2Card.cpp:112:33: note: candidate is:

In file included from C:\Users\Rudy\Documents\Arduino\libraries\SD\src\utility\Sd2Card.cpp:31:0:

C:\Users\Rudy\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SPI/SPI.h:64:11: note: uint8_t SPIClass::transfer(uint8_t)

uint8_t transfer(uint8_t data);

^

C:\Users\Rudy\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SPI/SPI.h:64:11: note: candidate expects 1 argument, 2 provided

Multiple libraries were found for "SD.h"
Used: C:\Users\Rudy\Documents\Arduino\libraries\SD
Not used: C:\Users\Rudy\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SD
Not used: C:\Program Files (x86)\Arduino\libraries\SD
exit status 1
Error compiling for board Generic ESP8266 Module.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.