Edited git ignore. Target can now build without any errors'!'
This commit is contained in:
27
FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c
Normal file
27
FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* shimatta_sdio-driver.c
|
||||
*
|
||||
* Created on: Apr 30, 2015
|
||||
* Author: mari
|
||||
*/
|
||||
|
||||
#include <shimatta_sdio-driver.h>
|
||||
|
||||
DSTATUS SDIO_status(){
|
||||
return 0;
|
||||
}
|
||||
DSTATUS SDIO_initialize(){
|
||||
return 0;
|
||||
}
|
||||
DRESULT SDIO_disk_read(BYTE *buff, DWORD sector, UINT count){
|
||||
return RES_OK;
|
||||
}
|
||||
DRESULT SDIO_disk_write(BYTE *buff, DWORD sector, UINT count){
|
||||
return RES_OK;
|
||||
}
|
||||
DRESULT SDIO_disk_ioctl(BYTE cmd, void* buff){
|
||||
return RES_OK;
|
||||
}
|
||||
DWORD get_fattime(){
|
||||
return 0;
|
||||
}
|
@@ -8,6 +8,13 @@
|
||||
#ifndef FATFS_SHIMATTA_SDIO_DRIVER_SHIMATTA_SDIO_DRIVER_H_
|
||||
#define FATFS_SHIMATTA_SDIO_DRIVER_SHIMATTA_SDIO_DRIVER_H_
|
||||
|
||||
#include <diskio.h>
|
||||
|
||||
DSTATUS SDIO_status();
|
||||
DSTATUS SDIO_initialize();
|
||||
DRESULT SDIO_disk_read(BYTE *buff, DWORD sector, UINT count);
|
||||
DRESULT SDIO_disk_write(BYTE *buff, DWORD sector, UINT count);
|
||||
DRESULT SDIO_disk_ioctl(BYTE cmd, void* buff);
|
||||
DWORD get_fattime();
|
||||
|
||||
#endif /* FATFS_SHIMATTA_SDIO_DRIVER_SHIMATTA_SDIO_DRIVER_H_ */
|
||||
|
Reference in New Issue
Block a user