Merge pull request #8820 from thinkyhead/bf2_mks_sbase_spi
[2.0.x] Fix SDSUPPORT for MKS SBASE
This commit is contained in:
commit
a891d8d738
|
@ -37,6 +37,7 @@
|
||||||
#define MISO_PIN P1_23 // J8-3 (moved from EXP2 P0.8)
|
#define MISO_PIN P1_23 // J8-3 (moved from EXP2 P0.8)
|
||||||
#define MOSI_PIN P2_12 // J8-4 (moved from EXP2 P0.5)
|
#define MOSI_PIN P2_12 // J8-4 (moved from EXP2 P0.5)
|
||||||
#define SS_PIN P0_28
|
#define SS_PIN P0_28
|
||||||
|
#define SD_DETECT_PIN P0_27
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
@ -63,9 +64,11 @@
|
||||||
#ifndef SS_PIN
|
#ifndef SS_PIN
|
||||||
#define SS_PIN P1_23
|
#define SS_PIN P1_23
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif // MKS_SBASE
|
||||||
|
|
||||||
#ifndef SDSS
|
#ifndef SDSS
|
||||||
#define SDSS SS_PIN
|
#define SDSS SS_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // MKS_SBASE
|
#endif // SPI_PINS_LPC1768_H
|
||||||
#endif /* SPI_PINS_LPC1768_H */
|
|
||||||
|
|
Loading…
Reference in a new issue