sdcard: add support for fatfs

This commit is contained in:
sago35
2021-05-14 19:03:12 +09:00
committed by Ron Evans
parent 5a02fe068b
commit 6b914f7af7
25 changed files with 870 additions and 67 deletions
+17
View File
@@ -0,0 +1,17 @@
// +build wioterminal
package main
import (
"machine"
)
func init() {
spi = machine.SPI2
sckPin = machine.SCK2
sdoPin = machine.SDO2
sdiPin = machine.SDI2
csPin = machine.SS2
ledPin = machine.LED
}