Tomáš Rohlínek
bd1fb233f7
fix(storage/fatfs): make wl_fatfsgen.py safe mode aware
2024-03-19 09:30:14 +01:00
Tomáš Rohlínek
e5742d6f41
fix(storage/fatfs): check whether sdcard supports triming
...
Closes https://github.com/espressif/esp-idf/issues/12912
2024-01-08 09:35:01 +01:00
Roland Dobai
c61b2c4790
Merge branch 'feature/add_fatfs_sbom_v5.1' into 'release/v5.1'
...
feat(storage/fatfs): add sbom file manifest for FatFs (v5.1)
See merge request espressif/esp-idf!27480
2023-12-19 16:47:52 +08:00
Tomas Rohlinek
641ac3ee71
feat(storage/fatfs): add sbom file manifest for FatFs (v5.1)
2023-12-19 16:47:51 +08:00
Adam Múdry
6250af8ed1
fix: esp_vfs_fat_sdcard_format workbuf memory leak
2023-12-11 00:27:44 +00:00
Roland Dobai
ccc75dd2da
fix(tools): Fix fatfsgen construct exception type and dependency
...
construct=2.10.70 fixed an issue
(c3866e9492
)
and StringError is raised instead of UnicodeDecodeError.
2023-12-06 08:50:01 +00:00
Adam Múdry
ff8b0cf14b
fix(storage): FATFS WL function formatting wrong partition
...
Closes https://github.com/espressif/esp-idf/issues/12542
Co-authored-by: Tony Stuart <anthonyfstuart@gmail.com>
2023-11-23 22:55:58 +01:00
Michal Jenikovsky
1f6f5396f4
fatfs: raw diskio: Fixed handling read-only filesystem
...
ff_ routines incorrectly reported disk state and caused whole fatfs
to lock-up when trying to write to read-only device.
Signed-off-by: Michal Jenikovsky <jendo@jmsystems.sk>
2023-10-12 04:48:47 +02:00
Adam Múdry
756c61b628
docs(fatfs): Move mentioned APIs to a separate API reference section
2023-08-14 12:44:53 +02:00
Jiang Jiang Jian
9310ed608e
Merge branch 'contrib/github_pr_10532_v5.1' into 'release/v5.1'
...
[SDMMC Mount] fix infinite loop when SD card is not responsive (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23527
2023-05-20 07:35:38 +08:00
Marius Vikhammer
63153794c9
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
...
ADDITIONAL_MAKE_CLEAN_FILES is deprecated and only worked with make.
Replaced with the new ADDITIONAL_CLEAN_FILES (CMake 3.15) which also works with ninja.
2023-05-10 09:53:55 +08:00
Sonika Rathi
4477f3e559
bugfix: fix for fatfs "open("xx",O_CREAT|O_WRONLY,0666)" call failure
...
fatfs 'open' with only O_CREAT flag fails to creat new file
Closes https://github.com/espressif/esp-idf/issues/1817
2023-05-04 11:45:37 +05:30
Adam Múdry
62a5ad5fc1
sdmmc: add vTaskDelay to loops to prevent potential WDT trigger
...
Also change timeout to 120 seconds in fatfs sdcard pytest to prevent failing during formatting.
2023-04-28 12:39:08 +02:00
Chip Weinberger
c7ca30e62f
[SDMMC] add reasonable timeouts to all while loops
...
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-28 12:39:06 +02:00
Adam Múdry
16915556a3
fatfs: fstat - enable setting a custom preferred block size
...
Enables setting a custom st_blksize in fatfs vfs fstat function.
Directly affects file buffer size for fatfs.
Increasing the value helps with fread and fgets speeds, however increases heap usage.
Added info to docs about improving I/O performance.
2023-03-08 09:09:47 +01:00
Martin Vychodil
25e438d94b
Merge branch 'feature/sdspi_host_h2' into 'master'
...
sdspi: h2 support
Closes IDF-6244
See merge request espressif/esp-idf!22504
2023-02-28 16:32:36 +08:00
Armando
0a472225cc
fatfs: fix deadcode issue
2023-02-27 11:25:29 +00:00
Armando
83d0181a2c
sdspi: h2 support
2023-02-27 14:39:06 +08:00
Armando
d59fd3e529
fatfs: deprecate esp_vfs_fat_sdmmc_unmount
...
This API was deprecated before, but without deprecation warning and
migration doc. This commit added deprecation warning and migration doc
to it.
2023-02-16 14:17:51 +08:00
Armando
90a6018e67
fatfs: added an API to format FAT on sdcard
2023-02-16 14:17:51 +08:00
Armando
4150bfb403
fatfs: added an API to format FAT on spiflash
2023-02-16 12:19:35 +08:00
Armando
1bd8018a59
vfs_fat_spiflash: use esp_check
2023-02-14 09:22:17 +00:00
Adam Múdry
e6fcaa4f9f
fatfs: Update to version 0.15
...
Updated FATFS to 0.15 from 0.14b and patched for ESP devices
2023-01-30 13:14:54 +00:00
Cao Sen Miao
94120b82c2
esp32h2: add build test
2023-01-17 10:29:04 +08:00
Armando
2b14a4e93e
sdspi: bringup sdspi on c6
2022-12-19 16:33:50 +08:00
Martin Vychodil
c9c7573f71
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:54:45 +01:00
Song Ruo Jing
2557e24a28
ci: Enable esp32c6 example, test_apps, and unit tests CI build stage
2022-11-01 11:23:21 +08:00
Ivan Grokhotkov
11ec9d392d
Merge branch 'bugfix/storage_wformat' into 'master'
...
storage: fix and re-enable -Wformat warnings
See merge request espressif/esp-idf!20486
2022-10-18 20:21:53 +08:00
Ivan Grokhotkov
c4be293e23
Merge branch 'test/fatfs_test_app_readme' into 'master'
...
fatfs: add missing readme file for the test apps
See merge request espressif/esp-idf!20522
2022-10-13 17:53:11 +08:00
Roland Dobai
ac315adc2c
Merge branch 'bugfix/remove-fatfsgen-kconfig-option' into 'master'
...
fatfsgen.py: removed unused options in Kconfig
Closes IDF-6038
See merge request espressif/esp-idf!20418
2022-10-12 17:28:03 +08:00
Roland Dobai
95c4749a5f
Merge branch 'feature/fatfs-support-detection-minimal-partition-size' into 'master'
...
fatfsgen.py: Support for detection of minimal partition size
Closes IDF-4122
See merge request espressif/esp-idf!20178
2022-10-12 15:21:25 +08:00
Ivan Grokhotkov
6a86614d74
fatfs: add missing readme file for the test apps
2022-10-10 12:15:56 +02:00
Ivan Grokhotkov
23e1ae1bc2
storage: fix and re-enable -Wformat warnings
2022-10-06 16:16:32 +02:00
Ivan Grokhotkov
ac830e04ac
fatfs: migrate unit tests to component test app, re-enable test for C2
2022-10-04 17:39:38 +02:00
Martin Gaňo
21408698e1
fatfsgen.py: Support for detection of minimal partition size
2022-09-30 15:20:49 +02:00
Martin Gaňo
1206d05d36
fatfsgen.py: removed unused options in Kconfig
2022-09-30 14:49:20 +02:00
Roland Dobai
a38c63b211
Merge branch 'feature/enable-variable-partition-size-fatfs' into 'master'
...
fatfs: enabled reading sector size and sectors count from boot sector in rawflash
Closes IDF-4130
See merge request espressif/esp-idf!20412
2022-09-30 15:24:26 +08:00
Martin Vychodil
dd3cf2513d
Merge branch 'bugfix/fatfsgen-omit-cluster-for-empty-files' into 'master'
...
fatfsgen.py: omit cluster allocation when the file is empty
Closes IDF-6037
See merge request espressif/esp-idf!20441
2022-09-30 14:42:52 +08:00
Martin Vychodil
27601eed24
Merge branch 'feature/ut-fatfs-not-ignore-leading-spaces' into 'master'
...
fatfs/unittest: fatfs ignores leading spaces
Closes IDF-5896
See merge request espressif/esp-idf!20152
2022-09-30 14:38:56 +08:00
Martin Gaňo
7fb62d41d5
fatfsgen.py: omit cluster allocation when the file is empty
2022-09-29 16:18:56 +02:00
Martin Gaňo
41742c2369
fatfs: enabled reading sector size and sectors count from boot sector in rawflash
2022-09-29 16:16:36 +02:00
Martin Vychodil
e82adaaaf7
Merge branch 'feature/add-test-coverage-with-review' into 'master'
...
fatfs: add test coverage and comments to the fatfsgen.py related code
Closes IDF-5864
See merge request espressif/esp-idf!19986
2022-09-29 19:17:17 +08:00
Martin Gaňo
f995584a6d
fatfs: unittest fatfs ignores leading spaces
2022-09-29 12:22:53 +02:00
Martin Gaňo
943f96422b
fatfs: add test coverage and comments to the fatfsgen.py related code
2022-09-27 12:14:32 +02:00
Martin Gaňo
2a0ea8703d
fatfsgen.py: enabled 512 sized sectors
2022-09-27 10:18:52 +02:00
Martin Gaňo
567f5f963c
fatfsgen.py: use lfn record when forbidden character detected in the file name
...
The file name is recorded as a LFN when it doesn't fit 8.3 pattern or if it contains characters prohibited in SFN
2022-09-21 15:22:51 +00:00
Martin Gaňo
b187fad076
fatfsgen.py: Increase number of files in directory
...
By starting the ID at the value 1, instead of ord('1') we increase the possible number of files by 49.
2022-09-21 13:30:05 +00:00
Martin Gaňo
53c2ea2d08
fatfsgen.py: enable multiple dots in the long file name
2022-09-16 13:50:12 +02:00
Martin Gaňo
26f7f105c3
fatfsparse.py: Fixed ignoring first file in directory
...
Closes IDF-5968
2022-09-15 19:38:39 +02:00
Martin Vychodil
1146b83bf1
Merge branch 'feature/detect-wl-automatically' into 'master'
...
fatfsparse.py: enable automatic WL detection
Closes IDF-5903
See merge request espressif/esp-idf!20076
2022-09-16 00:23:50 +08:00