Skip to content
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

Compilation error: 'SS' was not declared in this scope #27

Open
lonnon opened this issue Jul 22, 2024 · 0 comments
Open

Compilation error: 'SS' was not declared in this scope #27

lonnon opened this issue Jul 22, 2024 · 0 comments

Comments

@lonnon
Copy link

lonnon commented Jul 22, 2024

Operating System

Windows 10

IDE version

Arduino 2.3.2

Board

iLabs Challenger 2040 WiFi/BLE

BSP version

3.9.3

SPIFlash Library version

3.4.0

Sketch

examples/SdFat - Adafruit Fork/SdInfo

What happened ?

Compiling the example code produces the following error:

    In file included from C:\Users\lonno\AppData\Local\Temp\.arduinoIDE-unsaved2024621-4844-10pj8zl.hox7\SdInfo\SdInfo.ino:4:
    c:\Users\lonno\OneDrive\Documents\Arduino\libraries\SdFat_-_Adafruit_Fork\src/SdFat.h:58:32: error: 'SS' was not declared in this scope
       58 |   bool begin(SdCsPin_t csPin = SS) {
          |                                ^~
    C:\Users\lonno\AppData\Local\Temp\.arduinoIDE-unsaved2024621-4844-10pj8zl.hox7\SdInfo\SdInfo.ino:22:27: error: 'SS' was not declared in this scope
       22 | const uint8_t SD_CS_PIN = SS;
          |                           ^~
    Multiple libraries were found for "SdFat.h"
      Used: C:\Users\lonno\OneDrive\Documents\Arduino\libraries\SdFat_-_Adafruit_Fork
      Not used: C:\Users\lonno\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\3.9.3\libraries\ESP8266SdFat
    exit status 1
    
    Compilation error: 'SS' was not declared in this scope

How to reproduce ?

  1. Load the SdInfo.ino example
  2. Verify/Compile the sketch

Debug Log

No response

Screenshots

No response

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

1 participant