8000 update SFE_ARTEMIS_MM_PB with SD workaround · sparkfun/Arduino_Apollo3@afda94c · GitHub
[go: up one dir, main page]

Skip to content

Commit afda94c

Browse files
committed
update SFE_ARTEMIS_MM_PB with SD workaround
1 parent 28ade77 commit afda94c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

variants/SFE_ARTEMIS_MM_PB/variant.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,10 @@
2929
#define VARIANT_Wire1_SDA I2C1_SDA
3030
#define VARIANT_Wire1_SCL I2C1_SCL
3131

32+
// temporary patch to support Arduino SD library
33+
#define SS 0
34+
#define MOSI SPI_SDO
35+
#define MISO SPI_SDI
36+
#define SCK SPI_CLK
37+
3238
#endif // _VARIANT_H_

0 commit comments

Comments
 (0)
0