new file: ff14b.zip
modified: spi_test.ino renamed: src/FATS/diskio.c -> src/FATS/diskio.cppThird
parent
018715a28a
commit
649c8346de
|
@ -27,7 +27,7 @@ void SerialRe(){
|
||||||
int i;
|
int i;
|
||||||
uint8_t buffer[16]={0};
|
uint8_t buffer[16]={0};
|
||||||
if(Serial.available()){
|
if(Serial.available()){
|
||||||
i = Serial.parseInt();
|
i = Serial.parseInt();
|
||||||
Serial.printf("read %0d\n",i);
|
Serial.printf("read %0d\n",i);
|
||||||
W25QXX_Read(buffer,i,16);
|
W25QXX_Read(buffer,i,16);
|
||||||
for(uint8_t temp:buffer){
|
for(uint8_t temp:buffer){
|
||||||
|
|
|
@ -14,8 +14,6 @@
|
||||||
#define DEV_RAM 0 /* Example: Map Ramdisk to physical drive 0 */
|
#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_MMC 1 /* Example: Map MMC/SD card to physical drive 1 */
|
||||||
#define DEV_USB 2 /* Example: Map USB MSD to physical drive 2 */
|
#define DEV_USB 2 /* Example: Map USB MSD to physical drive 2 */
|
||||||
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------*/
|
||||||
/* Get Drive Status */
|
/* Get Drive Status */
|
||||||
/*-----------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------*/
|
||||||
|
@ -40,8 +38,6 @@ DSTATUS disk_initialize (
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------*/
|
||||||
/* Read Sector(s) */
|
/* Read Sector(s) */
|
||||||
/*-----------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------*/
|
Loading…
Reference in New Issue