Skip to content

Commit cdd4956

Browse files
committed
Update fatfs to R0.15a
FatFs fails to load the FsInfo in FAT32 volumes and the f_getfree function will always be forced a full FAT scan which takes a long time.
1 parent 75ce2fd commit cdd4956

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

.devcontainer/All/Dockerfile.All.SRC

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ RUN git clone --branch v6.4.0_rel --recursive https://github.com/eclipse-threadx
7878
&& git clone --branch v6.3.0_rel --recursive https://github.com/eclipse-threadx/netxduo.git --depth 1 ./sources/NetxDuo
7979

8080
# Clone dependent repos (mbedtls, fatfs and littlefs)
81-
RUN git clone --branch R0.15 https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
81+
RUN git clone --branch R0.15a https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
8282
&& git clone --branch v2.9.3 https://github.com/littlefs-project/littlefs --depth 1 ./sources/littlefs \
8383
&& git clone --branch mbedtls-3.6.0 https://github.com/ARMmbed/mbedtls.git --depth 1 ./sources/mbedtls \
8484
&& cd ./sources/mbedtls \

.devcontainer/All/scripts/git-pull-repos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cd /sources/mbedtls
1818
git pull origin mbedtls-3.6.0
1919
git submodule update --init
2020
cd /sources/fatfs
21-
git pull origin R0.15
21+
git pull origin R0.15a
2222
cd /sources/FreeRTOS
2323
git pull origin V10.4.1-kernel-only
2424
cd /sources/CMSIS_5

.devcontainer/AzureRTOS/Dockerfile.AzureRTOS.SRC

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ RUN git clone --branch v6.4.0_rel --recursive https://github.com/eclipse-threadx
6767
&& git clone --branch v6.4.0_rel --recursive https://github.com/eclipse-threadx/netxduo.git --depth 1 ./sources/NetxDuo
6868

6969
# Clone dependent repos (mbedtls, fatfs and littlefs)
70-
RUN git clone --branch R0.15 https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
70+
RUN git clone --branch R0.15a https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
7171
&& git clone --branch v2.9.3 https://github.com/littlefs-project/littlefs --depth 1 ./sources/littlefs \
7272
&& git clone --branch mbedtls-3.6.0 https://github.com/ARMmbed/mbedtls.git --depth 1 ./sources/mbedtls \
7373
&& cd ./sources/mbedtls \

.devcontainer/ChibiOS/Dockerfile.ChibiOS.SRC

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ RUN git clone --branch nf-build https://github.com/nanoframework/STM32CubeL4.git
6565
&& git clone --branch chibios-21.11.x https://github.com/ChibiOS/ChibiOS-Contrib.git --depth 1 ./sources/ChibiOs-Contrib
6666

6767
# Clone dependent repos (mbedtls, fatfs and littlefs etc.)
68-
RUN git clone --branch R0.15 https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
68+
RUN git clone --branch R0.15a https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
6969
&& git clone --branch v2.9.3 https://github.com/littlefs-project/littlefs --depth 1 ./sources/littlefs \
7070
&& git clone --branch STABLE-2_1_3_RELEASE https://github.com/lwip-tcpip/lwip.git --depth 1 ./sources/lwip \
7171
&& git clone --branch mbedtls-3.6.0 https://github.com/ARMmbed/mbedtls.git --depth 1 ./sources/mbedtls \

.devcontainer/ESP32/Dockerfile.ESP32.SRC

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ RUN apt-get update \
4545
RUN mkdir -p /usr/local/bin/gcc
4646

4747
# Clone fatfs
48-
RUN git clone --branch R0.15 https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs
48+
RUN git clone --branch R0.15a https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs
4949

5050
# Clone ESP-IDF
5151
RUN git clone --branch v5.2.3 https://github.com/espressif/esp-idf --depth 1 --recursive ./sources/esp-idf

.devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP.SRC

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ RUN apt-get update \
5555
RUN mkdir -p /usr/local/bin/gcc
5656

5757
# Clone libs mbedtls and fatfs etc.
58-
RUN git clone --branch R0.15 https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
58+
RUN git clone --branch R0.15a https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
5959
&& git clone --branch STABLE-2_1_3_RELEASE https://github.com/lwip-tcpip/lwip.git --depth 1 ./sources/lwip \
6060
&& git clone --branch mbedtls-3.6.0 https://github.com/ARMmbed/mbedtls.git --depth 1 ./sources/mbedtls \
6161
&& cd ./sources/mbedtls \

targets/ChibiOS/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ if(NF_FEATURE_HAS_SDCARD OR NF_FEATURE_HAS_USB_MSD)
168168
if(FATFS_VERSION_EMPTY)
169169
# no FatFS version actualy specified, must be empty which is fine, we'll default to a known good version
170170
# WHEN CHANGING THIS MAKE SURE TO UPDATE THE DEV CONTAINERS
171-
set(FATFS_VERSION_TAG "R0.15")
171+
set(FATFS_VERSION_TAG "R0.15a")
172172
else()
173173
# set version
174174
set(FATFS_VERSION_TAG ${FATFS_VERSION})

targets/ChibiOS/_FatFs/fatfs_syscall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// ChibiOs version can be found at:
44
// https://github.com/ArduPilot/ChibiOS.svn/blob/master/os/various/fatfs_bindings/fatfs_syscall.c
55
// but currently locked to R0.14b.
6-
// This file aligns with compatibility with R0.15+
6+
// This file aligns with compatibility with R0.15a+
77
// And also allows use of nF specific capabilities.
88

99
/*------------------------------------------------------------------------*/

targets/FreeRTOS/NXP/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ endif()
2828
# check if build was requested with a specifc FatFS version
2929
if(FATFS_VERSION_EMPTY)
3030
# no FatFS version actualy specified, must be empty which is fine, we'll default to a known good version
31-
set(FATFS_VERSION_TAG "R0.15")
31+
set(FATFS_VERSION_TAG "R0.15a")
3232
else()
3333
# set version
3434
set(FATFS_VERSION_TAG "${FATFS_VERSION}")

targets/FreeRTOS/NXP/_FatFs/ffsystem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// clang-format off
22

3-
// This file aligns with compatibility with R0.15+
3+
// This file aligns with compatibility with R0.15a+
44
// It currently includes commented out code which would allow a fully
55
// platform independent solution.
66

0 commit comments

Comments
 (0)