Skip to content

SD library spi pins declaration error [Arduino 1.6.4 + ESP8266 installed via Boards Manager] #282

@reaper7

Description

@reaper7

when I try any example from SD library or SDWebServer for esp I got this errors:

In file included from C:\PROGRAMY\Arduino\libraries\SD\src/utility/Sd2Card.h:26:0,
                 from C:\PROGRAMY\Arduino\libraries\SD\src/utility/SdFat.h:29,
                 from C:\PROGRAMY\Arduino\libraries\SD\src/SD.h:20,
                 from SDWebServer.ino:35:
C:\PROGRAMY\Arduino\libraries\SD\src/utility/Sd2PinMap.h:371:2: error: #error Architecture or board not supported.
 #error Architecture or board not supported.
  ^
In file included from C:\PROGRAMY\Arduino\libraries\SD\src/utility/SdFat.h:29:0,
                 from C:\PROGRAMY\Arduino\libraries\SD\src/SD.h:20,
                 from SDWebServer.ino:35:
C:\PROGRAMY\Arduino\libraries\SD\src/utility/Sd2Card.h:65:37: error: 'SS_PIN' was not declared in this scope
 uint8_t const  SD_CHIP_SELECT_PIN = SS_PIN;
                                     ^
C:\PROGRAMY\Arduino\libraries\SD\src/utility/Sd2Card.h:68:31: error: 'MOSI_PIN' was not declared in this scope
 uint8_t const  SPI_MOSI_PIN = MOSI_PIN;
                               ^
C:\PROGRAMY\Arduino\libraries\SD\src/utility/Sd2Card.h:70:31: error: 'MISO_PIN' was not declared in this scope
 uint8_t const  SPI_MISO_PIN = MISO_PIN;
                               ^
C:\PROGRAMY\Arduino\libraries\SD\src/utility/Sd2Card.h:72:30: error: 'SCK_PIN' was not declared in this scope
 uint8_t const  SPI_SCK_PIN = SCK_PIN;
                              ^
Błąd kompilacji.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions