diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-24 13:29:36 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-24 13:29:36 +0200 |
| commit | 9e7d86a4b8a67d4b94d33600a34f617b51abc426 (patch) | |
| tree | 2ab2cc9c9d1eafcead62131faddcf9fe90d0ba0a /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.h | |
| parent | 7fff53b4e158212572dd0d83b5628e799e05ba01 (diff) | |
| parent | 91d4a6eceb00882a0898016e743130d62156e33b (diff) | |
| download | Tango-9e7d86a4b8a67d4b94d33600a34f617b51abc426.tar.gz Tango-9e7d86a4b8a67d4b94d33600a34f617b51abc426.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 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.h b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.h index de0da71a5..a54b72b66 100644 --- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.h +++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.h @@ -7,6 +7,7 @@ #ifndef COMMON_SWUPDATE_FILESYSTEM_H_ #define COMMON_SWUPDATE_FILESYSTEM_H_ +#include "drivers/Flash_Memory/fatfs/ff.h" uint32_t FileUploadRequestFunc(MessageContainer* requestContainer); uint32_t FileChunkUploadRequestFunc(MessageContainer* requestContainer); @@ -19,7 +20,7 @@ uint32_t GetFilesRequestFunc(MessageContainer* requestContainer); uint32_t FileDownloadRequestFunc(MessageContainer* requestContainer); uint32_t FileChunkDownloadRequestFunc(MessageContainer* requestContainer); - - +FRESULT FileWrite(void * buffer, uint16_t size,char *path); +FRESULT FileRead(char *path, uint32_t *Size, void **Buffer); #endif /* COMMON_SWUPDATE_FILESYSTEM_H_ */ |
