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))
491
491
}
492
492
#endif // Sd2PinMap_h
493
493
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
+
494
509
#else
495
510
#error Architecture or board not supported.
496
511
#endif
Original file line number Diff line number Diff line change 23
23
* \file
24
24
* SdFile and SdVolume classes
25
25
*/
26
- #ifdef __AVR__
26
+ #if defined ( __AVR__) || defined (__CPU_ARC__)
27
27
#include < avr/pgmspace.h>
28
28
#endif
29
29
#include " Sd2Card.h"
You can’t perform that action at this time.
0 commit comments