Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(radio): update FatFs to R0.15 #4843

Merged
merged 2 commits into from
May 19, 2024
Merged

Conversation

ThomasKuehne
Copy link
Contributor

This updates radio/src/thirdparty/FatFs from version R0.13c to version R0.15

change log from FatFs:

R0.14 (October 14, 2019)
  Added support for 64-bit LBA and GUID partition table (FF_LBA64 = 1)
  Changed some API functions, f_mkfs() and f_fdisk().
  Fixed f_open() function cannot find the file with file name in length of FF_MAX_LFN characters.
  Fixed f_readdir() function cannot retrieve long file names in length of FF_MAX_LFN - 1 characters.
  Fixed f_readdir() function returns file names with wrong case conversion. (appeared at R0.12)
  Fixed f_mkfs() function can fail to create exFAT volume in the second partition. (appeared at R0.12)

R0.14a (December 5, 2020)
  Limited number of recursive calls in f_findnext().
  Fixed old floppy disks formatted with MS-DOS 2.x and 3.x cannot be mounted.
  Fixed some compiler warnings.

R0.14b (April 17, 2021)
  Made FatFs uses standard library <string.h> for copy, compare and search instead of built-in string functions.
  Added support for long long integer and floating point to f_printf(). (FF_STRF_LLI and FF_STRF_FP)
  Made path name parser ignore the terminating separator to allow "dir/".
  Improved the compatibility in Unix style path name feature.
  Fixed the file gets dead-locked when f_open() failed with some conditions. (appeared at R0.12a)
  Fixed f_mkfs() can create wrong exFAT volume due to a timing dependent error. (appeared at R0.12)
  Fixed code page 855 cannot be set by f_setcp().
  Fixed some compiler warnings.

R0.15 (November 6, 2022)
  Changed user provided synchronization functions in order to completely eliminate the platform dependency from FatFs code.
  FF_SYNC_t is removed from the configuration options.
  Fixed a potential error in f_mount when FF_FS_REENTRANT.
  Fixed file lock control FF_FS_LOCK is not mutal excluded when FF_FS_REENTRANT && FF_VOLUMES > 1 is true.
  Fixed f_mkfs() creates broken exFAT volume when the size of volume is >= 2^32 sectors.
  Fixed string functions cannot write the unicode characters not in BMP when FF_LFN_UNICODE == 2 (UTF-8).
  Fixed a compatibility issue in identification of GPT header.

@pfeerick pfeerick added the house keeping 🧹 Cleanup of code and house keeping label Apr 9, 2024
@pfeerick
Copy link
Member

pfeerick commented Apr 9, 2024

cmake --build native -j4 --target libsimulator

target failed, which probably means simu code wasn't also updated accordingly.

i.e.

radio/src/targets/simu/simufatfs.cpp:388:16: error: expected ')' before '*' token
  388 | UINT f_size(FIL* fil)

@raphaelcoeffic
Copy link
Member

@ThomasKuehne nice someone is actually taking care of all these nasty updates! Thx!

@pfeerick pfeerick added this to the 2.11 milestone May 17, 2024
Copy link
Member

@pfeerick pfeerick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on TX16, TPro, EL18, X9D+

@pfeerick pfeerick merged commit f243f3a into EdgeTX:main May 19, 2024
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
house keeping 🧹 Cleanup of code and house keeping
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants