File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -491,6 +491,21 @@ static inline __attribute__((always_inline))
491491}
492492#endif // Sd2PinMap_h
493493
494+ #elif defined (__CPU_ARC__ )
495+
496+ #if defined (__ARDUINO_ARC__ )
497+ // Two Wire (aka I2C) ports
498+ uint8_t const SDA_PIN = 18 ;
499+ uint8_t const SCL_PIN = 19 ;
500+
501+ // SPI port
502+ uint8_t const SS_PIN = 10 ;
503+ uint8_t const MOSI_PIN = 11 ;
504+ uint8_t const MISO_PIN = 12 ;
505+ uint8_t const SCK_PIN = 13 ;
506+
507+ #endif // Arduino ARC
508+
494509#else
495510#error Architecture or board not supported.
496511#endif
Original file line number Diff line number Diff line change 2323 * \file
2424 * SdFile and SdVolume classes
2525 */
26- #ifdef __AVR__
26+ #if defined ( __AVR__) || defined (__CPU_ARC__)
2727#include < avr/pgmspace.h>
2828#endif
2929#include " Sd2Card.h"
You can’t perform that action at this time.
0 commit comments