PaulStoffregen / SD

70 stars 41 forks source link

'SPISettings' was not declared in this scope #1

Closed stevenle closed 9 years ago

stevenle commented 9 years ago

Having trouble compiling this for teensy 3.1. Here's the error traceback:

/Users/stevenle/Documents/Arduino/libraries/SD/utility/Sd2Card.cpp: In function 'void spiInit(uint8_t)':
/Users/stevenle/Documents/Arduino/libraries/SD/utility/Sd2Card.cpp:54:14: error: 'settings' was not declared in this scope
/Users/stevenle/Documents/Arduino/libraries/SD/utility/Sd2Card.cpp:54:66: error: 'SPISettings' was not declared in this scope
PaulStoffregen commented 9 years ago

Maybe you're using it with an older copy of Teensyduino? Version 1.20-rc2 is required.