Skip to content

Releases: ironsheep/P2-FLASH-FS

v2.0.0

28 Dec 23:30
d1a21c7
Compare
Choose a tag to compare

Latest Read-Modify-Write updates from Chip

In this release:

  • This release provides two new file open modes, "r+" and "w+" which provide a new replacing write feature allowing you to replace values in files without re-writing the entire file. See: Features of Note for more detail.
  • In support of these new modes, there is also a new create_file() method allowing you to create an empty file.
  • We've also provided a means by which you can determine if mounting the flash using this filesystem would make any write changes to the flash. See can_mount()
  • Fixes the circular file issue found in v1.4

What's Changed

  • Develop let's publish ver 2.0 of the new tested flash_fs by @ironsheep in #7

Full Changelog: v1.4.0...v2.0.0

v1.4.0

19 Sep 23:20
Compare
Choose a tag to compare

Finish implementation needed to support multi-cog access

Features

  • Driver now supports multi-cog access, using locks, return code per cog, and adjusted FlashChip signaling to leave signals in the proper state for each Cog use.

Known Errata (Found 27 Dec while certification testing v2.0 flash_fs)

  • Found bug in open_circular()/close() when truncating files may write badly formed head block - next mount the file is not seen

Full Changelog: v1.3.1...v1.4.0

v1.3.1

16 Sep 21:09
Compare
Choose a tag to compare

Continued compatibility updates for FlexSpin and add new method

What's Changed

  • Fix read count by @totalspectrum in #4
  • Fix write count by @totalspectrum in #5
  • Added another initialization required by flexspin by @totalspectrum in #6
  • Seek() now correctly returns file length for seek(handle, POSX, SK_FILE_START)
  • Adds new method: PUB file_size_for_handle(handle) : size_in_bytes
  • Updated regression tests for testing new methods and verifying seek(), read(), write() returned values

Full Changelog: v1.3.0...v1.3.1

v1.3.0

15 Sep 05:10
Compare
Choose a tag to compare

More updates in support of FlexSpin, improved seek() and write()

What's Changed

  • Flexspin compatibility by @totalspectrum in #1
  • Seek() now returns the new position
  • Write() now returns the number of bytes written
  • Regression tests updated to verify these new returns
  • Added more read() regression testing for various lengths (proving that nbr bytes asked for is what is returned when SUCCESS)

New Contributors

Full Changelog: v1.2.1...v1.3.0

v1.2.1

14 Sep 04:23
Compare
Choose a tag to compare

seek() change and updated demo from Jon

In this release:

  • Updated seek() in support of flexspin. Now supports seek +/- from current position as well as seek relative to file start.
  • Updated with latest interactive demo from Jon
  • Updated seek regression test to exercise the new position-relative seek
  • Updated other regression tests to the latest seek()signature where used

All regression tests pass! Latest test code and output logs are versioned in the RegressionTests folder.

Full Changelog: v1.2.0...v1.2.1

v1.2.0

13 Sep 22:39
Compare
Choose a tag to compare

Initial release of the P2 Edge Flash Filesystem

Key features of this Flash Filesystem for the P2 Edge Flash chip:

  • Wear-leveling write mechanism
  • Writes are structured to facilitate recovery of file structure after unplanned power failure
  • Block identification is independent of a block's physical location
  • Filenames are 127 characters plus a zero terminator (127+1)
  • Seeks are supported
  • File Append is supported
  • Circular-file reads/writes are supported
  • Full API is tested with Regression Tests before each release so you can be confident in it continuing to work with each release.

This provides our formal API for the P2 Edge Flash Filesystem