History: fs_safe


This page describes all changes made to the fs_safe package, SafeFLASH, since its release.

Version

5.8 (2019-12-03, 11:26):

  • F_ERR_DRIVER added to support low level driver errors.

5.7r3 (2019-08-27, 17:00):

  • Updated api_fs_err.h.

5.7r2 (2019-05-07, 17:00):

  • MISRA 2012: typo fixed in the Deviation report.

5.7 (2019-04-30, 19:00):

  • MISRA 2012: inaccurate suppression comments fixed.

5.6r2 (2019-02-13, 17:41):

  • Reports moved to hcc.

5.6 (2019-02-03, 22:30):

  • Fixed typo.

5.5 (2019-01-07, 13:00):

  • MISRA 2012: violations eliminated.

5.4 (2018-12-17, 20:40):

  • MISRA 2004: violations eliminated.

5.3 (2018-08-30, 09:13):

  • File can be opened for "r+" when already opened for "r" and vice versa.

5.2r2 (2018-08-29, 18:20):

  • Added document HTML link to the documentation folder.
  • Renamed history and document files to the package name.

5.2 (2018-02-12, 10:05):

  • Can be compiled when CAPI is used.

5.1 (2017-10-12, 08:45):

  • Test functions moved to separate product.

5.0 (2017-10-02, 09:45):

  • f_mountdrive() (redirected to fsm_mountdrive()) changed: instead of void * mountfunc it expects FS_DRVMOUNT mountfunc now, in order to avoid compiler warning in the user application when calling f_mountdrive().

4.21:

  • FS_DESC_WRITE_ALIGN option added - descriptor cache updates will be aligned and written in the granularity definied by the configuration option

4.21:

  • FS_DESC_WRITE_ALIGN option added - descriptor cache updates will be aligned and written in the granularity defined by the configuration option.

4.20:

  • safe test functions only call string manipulating functions from psp_string.h.
  • modify test cases affected by FS_SAFE_CASE_SENSITIVE define.
  • fix compiler errors in case F_FILE_CHANGED_EVENT set to 1.

4.19:

  • f_dotest() can run on different volume IDs.
  • fsm_memcpy() and fsm_memset() replaced by psp_memcpy() and psp_memset().
  • bugfix: failed to read in "r" mode if file was simultaneously opened in "a" (append) mode. Use case: open file in "a" and in "r", append to file, read whole file in "r" mode, in this case if less than sector size was appended to the file it was not possible to read from it anymore.

4.18:

  • compiler warnings eliminated.

4.17:

  • writing to "a", "a+", "w", "w+" files and concurrent access of these files and "r" files are handled identically as in standard C library
  • New test cases added to f_dotest() to cover this functionality.

4.16:

  • testport_ram_s.c can be compiled with latest fs_safe_ram.

4.15:

  • Discardable sectors are collected in a dedicated buffer to speed up _fg_flush() which is called after most of the filesystem operations. The size of this buffer is determined by the FS_DISCARD_BUF_SIZE config variable.

4.14:

  • Keil RTX compatibility issue: mutex released before being deleted.

4.13:

  • write tests will not fail if there is not enough space (check free space before writing).

4.12:

  • file can be opened in "r" mode again if it is already open in "a" or "a+" mode.

4.11 r2:

  • api_fs_err.h updated.

4.11:

  • more compilation warnings eliminated.

4.10:

  • compilation warnings eliminated.

4.9:

  • HCC_UNICODE in config_safe.h must be set to 0 or 1.

4.8:

  • static analysis warning fixed.

4.7:

  • HCC_UNICODE fixed.

4.6:

  • Check for invalid file handle added because the use of it could crash the system.
  • f_fstat() added.
  • f_dotest() changed to test f_fstat().

4.5:

  • f_dotest() changed to request for the sector size.

4.4:

  • _fg_copychainintomirror() could not open files which were truncated at sector boundary.
  • f_dotest() tests extended to test the fix above.

4.3:

  • testdrv_s.c compiles without warnings.

4.2:

  • added static type modifier for local functions.

4.1:

  • lower case OS functions converted to upper case in port_s.h.

4.0:

  • task ID removed from f_releaseFS() call.

3.2:

  • psp_time() renamed to psp_rtc().

3.1:

  • use of oal_task_id instead of long.
  • cleanup.

3.0:

  • Initial release.