Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Ribeiro Santos
#20532
martinayotte wrote:I'm getting "#error Architecture or board not supported" ...
Did you have to tweak any #define for the architecture ?


I thing this message comes from https://github.com/esp8266/Arduino/blob/esp8266-sdk-1.0/libraries/SD/src/utility/Sd2PinMap.h at line 384, may be you have some old libraries?

Also I think ESP8266 is defined in https://github.com/esp8266/Arduino/blob/esp8266-sdk-1.0/hardware/esp8266com/esp8266/platform.txt at line 45 build.extra_flags=-DESP8266, may be you have an old platform.txt file?
User avatar
By martinayotte
#21023 I've updated the SD library (I had an old one that didn't manage ESP8266 define).
It is now compiling, but at run time, it is failing opening the SDCard.
I've plugged a logic analyser in parallel, I can see SPI transaction going out on MOSI, but the MISO seems to be almost garbage returned.
Is there other things that is needed ?