From 91d4a6eceb00882a0898016e743130d62156e33b Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Thu, 24 Jan 2019 08:41:39 +0200 Subject: 1.3.5.0 changes ==================================== 1. preparations for keeping data in internal flash 2. keep applicative data in external flash: software parameters, dispensers data, etc. 3. moved to new alarms definitions, tamper alarms, improved temperature alarms, cone presence alarm, 4. support for Machine Studio 4 5. some tests for memory allocations 6. thread load proto code 7. Hardware: doors tampering switches, drier fan, blower PWM control, new backplane support, new motor drivers support, 8. FPGA jtag code loading 9. Heaters: alarms on set temperature band. test facilities. 10. motors - additional complex actions for thread load support. new drivers support 11. preparations for control debugging 12. read motor status and mid tank level 13. collect and store dispenser usage data 14. IDS - controlled operation of motor and valve. backlash movement after refill 15. bug fixes in job handling --- Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.h') 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_ */ -- cgit v1.3.1