soft-SPI driver for edu-riscv64,which mainly for SDcard. edu-riscv64 examples including filesystem/RS485/gpio/loraE220/RTC from Wu_zheng

it is OK
This commit is contained in:
xuedongliang
2022-11-16 15:22:09 +08:00
47 changed files with 3938 additions and 39 deletions
@@ -28,11 +28,11 @@
extern "C" {
#endif
#define SPI_SD_FREQUENCY 400000
#define SPI_SD_FREQUENCY 400000
#define SPI_SD_TIMEOUT_NUM 100
#define SD_CMD_RESPONE_LENGTH 5
#define SD_CMD_CSD_LENGTH 16
#define SD_BLOCK_LENGTH 512
#define SD_BLOCK_LENGTH 512
#define SD_TIMEOUT(cnt, time) \
do \