Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
reaper7 opened this issue May 19, 2015 · 2 comments

Comments

@reaper7
Copy link
Contributor

reaper7 commented May 19, 2015

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.
@igrr
Copy link
Member

igrr commented May 19, 2015

Yeah... looks like the customized SD library was not bundled with our core, so it is not included in the board manager package.
Will fix.

@igrr
Copy link
Member

igrr commented May 22, 2015

Updated package has been deployed.

@igrr igrr closed this as completed May 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants