File tree Expand file tree Collapse file tree 6 files changed +36
-0
lines changed Expand file tree Collapse file tree 6 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 25
25
// UART
26
26
extern UART Serial1 ;
27
27
28
+ // temporary patch to support Arduino SD library
29
+ #define SS 0
30
+ #define MOSI SPI_SDO
31
+ #define MISO SPI_SDI
32
+ #define SCK SPI_CLK
33
+
28
34
#endif // _VARIANT_H_
Original file line number Diff line number Diff line change 25
25
// UART
26
26
extern UART Serial1 ;
27
27
28
+ // temporary patch to support Arduino SD library
29
+ #define SS 0
30
+ #define MOSI SPI_SDO
31
+ #define MISO SPI_SDI
32
+ #define SCK SPI_CLK
33
+
28
34
#endif // _VARIANT_H_
Original file line number Diff line number Diff line change 30
30
#define VARIANT_Wire_SDA I2C_SDA
31
31
#define VARIANT_Wire_SCL I2C_SCL
32
32
33
+ // temporary patch to support Arduino SD library
34
+ #define SS 0
35
+ #define MOSI SPI_SDO
36
+ #define MISO SPI_SDI
37
+ #define SCK SPI_CLK
38
+
33
39
#endif // _VARIANT_H_
Original file line number Diff line number Diff line change 29
29
#define VARIANT_Wire1_SDA I2C1_SDA
30
30
#define VARIANT_Wire1_SCL I2C1_SCL
31
31
32
+ // temporary patch to support Arduino SD library
33
+ #define SS SPI_CS
34
+ #define MOSI SPI_SDO
35
+ #define MISO SPI_SDI
36
+ #define SCK SPI_CLK
37
+
32
38
#endif // _VARIANT_H_
Original file line number Diff line number Diff line change 28
28
// UART
29
29
extern UART Serial1 ;
30
30
31
+ // temporary patch to support Arduino SD library
32
+ #define SS 0
33
+ #define MOSI SPI_SDO
34
+ #define MISO SPI_SDI
35
+ #define SCK SPI_CLK
36
+
31
37
#endif // _VARIANT_H_
Original file line number Diff line number Diff line change 25
25
// UART
26
26
extern UART Serial1 ;
27
27
28
+ // temporary patch to support Arduino SD library
29
+ #define SS 0
30
+ #define MOSI SPI_SDO
31
+ #define MISO SPI_SDI
32
+ #define SCK SPI_CLK
33
+
28
34
#endif // _VARIANT_H_
You can’t perform that action at this time.
0 commit comments