new file: ff14b.zip

modified:   spi_test.ino
	renamed:    src/FATS/diskio.c -> src/FATS/diskio.cpp
Third
YUNLEI 2022-10-10 23:36:49 +08:00
parent 018715a28a
commit 649c8346de
3 changed files with 1 additions and 5 deletions

BIN
ff14b.zip Normal file

Binary file not shown.

View File

@ -27,7 +27,7 @@ void SerialRe(){
int i;
uint8_t buffer[16]={0};
if(Serial.available()){
i = Serial.parseInt();
i = Serial.parseInt();
Serial.printf("read %0d\n",i);
W25QXX_Read(buffer,i,16);
for(uint8_t temp:buffer){

View File

@ -14,8 +14,6 @@
#define DEV_RAM 0 /* Example: Map Ramdisk to physical drive 0 */
#define DEV_MMC 1 /* Example: Map MMC/SD card to physical drive 1 */
#define DEV_USB 2 /* Example: Map USB MSD to physical drive 2 */
/*-----------------------------------------------------------------------*/
/* Get Drive Status */
/*-----------------------------------------------------------------------*/
@ -40,8 +38,6 @@ DSTATUS disk_initialize (
}
/*-----------------------------------------------------------------------*/
/* Read Sector(s) */
/*-----------------------------------------------------------------------*/