Skip to content

Commit b35dd2c

Browse files
committed
chore: update to stm32_mw_fatfs v4.0.0
FatFs R0.15 modified by ST Signed-off-by: Frederic Pillon <[email protected]>
1 parent bf405ba commit b35dd2c

25 files changed

+19731
-33820
lines changed

LICENSE.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright (c) 2015, ChaN, all right reserved.
2+
# Copyright (c) 2019 STMicroelectronics.
3+
4+
Redistribution and use in source and binary forms, with or without modification,
5+
are permitted provided that the following conditions are met:
6+
7+
1. Redistributions of source code must retain the above copyright notice, this
8+
list of conditions and the following disclaimer.
9+
10+
2. Redistributions in binary form must reproduce the above copyright notice,
11+
this list of conditions and the following disclaimer in the documentation and/or
12+
other materials provided with the distribution.
13+
14+
3. Neither the name of the copyright holder nor the names of its contributors
15+
may be used to endorse or promote products derived from this software without
16+
specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
22+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Licence.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

option/cc932.c

Lines changed: 0 additions & 3870 deletions
This file was deleted.

option/cc936.c

Lines changed: 0 additions & 11045 deletions
This file was deleted.

option/cc949.c

Lines changed: 0 additions & 8674 deletions
This file was deleted.

option/cc950.c

Lines changed: 0 additions & 6900 deletions
This file was deleted.

option/ccsbcs.c

Lines changed: 0 additions & 388 deletions
This file was deleted.

option/unicode.c

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/00history.txt

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,3 +286,55 @@ R0.12c (March 04, 2017)
286286
Fixed successive f_getfree() can return wrong count on the FAT12/16 volume. (appeared at R0.12)
287287
Fixed configuration option _VOLUMES cannot be set 10. (appeared at R0.10c)
288288

289+
290+
291+
R0.13 (May 21, 2017)
292+
293+
Changed heading character of configuration keywords "_" to "FF_".
294+
Removed ASCII-only configuration, FF_CODE_PAGE = 1. Use FF_CODE_PAGE = 437 instead.
295+
Added f_setcp(), run-time code page configuration. (FF_CODE_PAGE = 0)
296+
Improved cluster allocation time on stretch a deep buried cluster chain.
297+
Improved processing time of f_mkdir() with large cluster size by using FF_USE_LFN = 3.
298+
Improved NoFatChain flag of the fragmented file to be set after it is truncated and got contiguous.
299+
Fixed archive attribute is left not set when a file on the exFAT volume is renamed. (appeared at R0.12)
300+
Fixed exFAT FAT entry can be collapsed when write or lseek operation to the existing file is done. (appeared at R0.12c)
301+
Fixed creating a file can fail when a new cluster allocation to the exFAT directory occures. (appeared at R0.12c)
302+
303+
304+
305+
R0.13a (October 14, 2017)
306+
307+
Added support for UTF-8 encoding on the API. (FF_LFN_UNICODE = 2)
308+
Added options for file name output buffer. (FF_LFN_BUF, FF_SFN_BUF).
309+
Added dynamic memory allocation option for working buffer of f_mkfs() and f_fdisk().
310+
Fixed f_fdisk() and f_mkfs() create the partition table with wrong CHS parameters. (appeared at R0.09)
311+
Fixed f_unlink() can cause lost clusters at fragmented file on the exFAT volume. (appeared at R0.12c)
312+
Fixed f_setlabel() rejects some valid characters for exFAT volume. (appeared at R0.12)
313+
314+
315+
316+
R0.13b (April 07, 2018)
317+
318+
Added support for UTF-32 encoding on the API. (FF_LFN_UNICODE = 3)
319+
Added support for Unix style volume ID. (FF_STR_VOLUME_ID = 2)
320+
Fixed accesing any object on the exFAT root directory beyond the cluster boundary can fail. (appeared at R0.12c)
321+
Fixed f_setlabel() does not reject some invalid characters. (appeared at R0.09b)
322+
323+
324+
325+
R0.13c (October 14, 2018)
326+
Supported stdint.h for C99 and later. (integer.h was included in ff.h)
327+
Fixed reading a directory gets infinite loop when the last directory entry is not empty. (appeared at R0.12)
328+
Fixed creating a sub-directory in the fragmented sub-directory on the exFAT volume collapses FAT chain of the parent directory. (appeared at R0.12)
329+
Fixed f_getcwd() cause output buffer overrun when the buffer has a valid drive number. (appeared at R0.13b)
330+
331+
332+
333+
R0.14 (October 14, 2019)
334+
Added support for 64-bit LBA and GUID partition table (FF_LBA64 = 1)
335+
Changed some API functions, f_mkfs() and f_fdisk().
336+
Fixed f_open() function cannot find the file with file name in length of FF_MAX_LFN characters.
337+
Fixed f_readdir() function cannot retrieve long file names in length of FF_MAX_LFN - 1 characters.
338+
Fixed f_readdir() function returns file names with wrong case conversion. (appeared at R0.12)
339+
Fixed f_mkfs() function can fail to create exFAT volume in the second partition. (appeared at R0.12)
340+

src/00readme.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FatFs Module Source Files R0.12c
1+
FatFs Module Source Files R0.14
22

33

44
FILES
@@ -10,12 +10,12 @@ FILES
1010
ff.h Common include file for FatFs and application module.
1111
diskio.h Common include file for FatFs and disk I/O module.
1212
diskio.c An example of glue function to attach existing disk I/O module to FatFs.
13-
integer.h Integer type definitions for FatFs.
14-
option Optional external modules.
13+
ffunicode.c Optional Unicode utility functions.
14+
ffsystem.c An example of optional O/S related functions.
1515

1616

1717
Low level disk I/O module is not included in this archive because the FatFs
1818
module is only a generic file system layer and it does not depend on any specific
19-
storage device. You have to provide a low level disk I/O module written to
19+
storage device. You need to provide a low level disk I/O module written to
2020
control the storage device that attached to the target system.
2121

0 commit comments

Comments
 (0)