add iccarm support for cm3

1. IAR project, see TencentOS-tiny\board\STM32F103_SIM800A\iar
This commit is contained in:
daishengdong
2020-07-01 20:24:57 +08:00
parent 61a88b4988
commit 4eb56ab12a
936 changed files with 576567 additions and 113 deletions

View File

@@ -0,0 +1,18 @@
#ifndef FATFS_DRV_H
#define FATFS_DRV_H
#include "ff.h" /* Obtains integer types */
#include "diskio.h" /* Declarations of disk functions */
#include "hal_spi_flash.h"
DSTATUS w25q64_fatfs_initialize(BYTE);
DSTATUS w25q64_fatfs_status(BYTE);
DRESULT w25q64_fatfs_read (BYTE, BYTE*, DWORD, UINT);
#if 1
DRESULT w25q64_fatfs_write (BYTE, const BYTE*, DWORD, UINT);
#endif /* _USE_WRITE == 1 */
#if 1
DRESULT w25q64_fatfs_ioctl (BYTE, BYTE, void*);
#endif /* _USE_IOCTL == 1 */
#endif