diff options
| author | Avi Levkovich <avi@twine-s.com> | 2019-01-27 14:41:51 +0200 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2019-01-27 14:41:51 +0200 |
| commit | c64b07d93d944a294df08cee553800a09757d6ec (patch) | |
| tree | 71ab5b00aa977d5848058d2ed65cfd5f0782062f /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.h | |
| parent | 9f678962afca4568589680a897f9f358a2b163d2 (diff) | |
| parent | 2fb4421e0d771ea84e744856dc56ebc7b713cd86 (diff) | |
| download | Tango-c64b07d93d944a294df08cee553800a09757d6ec.tar.gz Tango-c64b07d93d944a294df08cee553800a09757d6ec.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.h')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.h b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.h index a54b72b66..605b4a475 100644 --- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.h +++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.h @@ -9,6 +9,8 @@ #define COMMON_SWUPDATE_FILESYSTEM_H_ #include "drivers/Flash_Memory/fatfs/ff.h" +extern ErrorCode FileError_to_ErrorCode[FR_INVALID_PARAMETER+1]; + uint32_t FileUploadRequestFunc(MessageContainer* requestContainer); uint32_t FileChunkUploadRequestFunc(MessageContainer* requestContainer); uint32_t ExecuteProcessRequestFunc(MessageContainer* requestContainer); @@ -22,5 +24,6 @@ uint32_t FileChunkDownloadRequestFunc(MessageContainer* requestContainer); FRESULT FileWrite(void * buffer, uint16_t size,char *path); FRESULT FileRead(char *path, uint32_t *Size, void **Buffer); +FRESULT FileOpen(char *path, uint32_t *Size, FIL *FileHandle); #endif /* COMMON_SWUPDATE_FILESYSTEM_H_ */ |
