Martin Vychodil
590ebd3a79
Merge branch 'fix/diskio_format_error_codes_as_hex' into 'master'
...
fix: diskio format all error message codes to hex
Closes IDFGH-11071
See merge request espressif/esp-idf!28773
2024-02-06 20:23:42 +08:00
Adam Múdry
085cdaa5f7
fix: diskio format all error message codes to hex
2024-01-29 10:32:31 +01:00
Adam Múdry
376ea7e4ed
feat(fatfs): VFS FATFS add format functions with config argument
2024-01-29 15:09:50 +08:00
Adam Múdry
8e50d63fea
feat(fatfs): Add an option to use 2 FATs (file allocation tables) in FATFS volumes
...
Should help with redundancy and data corruption when enabled but uses more space.
2024-01-18 14:03:28 +01:00
Roland Dobai
d4d3e83d3c
fix(fatfsgen): Fix incompatibility with the latest version of construct
2024-01-16 18:54:15 +08:00
Fu Hanxi
c1301c6145
build: bypass build issues
2024-01-10 15:34:50 +01:00
Fu Hanxi
6f6092ed8d
ci(sdio): migrate from .gitlab/ci/rules.yml to .build-test-rules.yml
2024-01-10 15:30:52 +01:00
Tomáš Rohlínek
1297a0628a
fix(storage/fatfs): check whether sdcard supports triming
...
Closes https://github.com/espressif/esp-idf/issues/12912
2024-01-05 10:31:56 +01:00
Armando
3c5a4f9e8a
ci(p4): added todo jira for disabled tests on p4
2024-01-04 09:36:38 +08:00
Armando
907b876354
ci(p4): temporarily disable failed ci tests on p4
2024-01-04 09:36:06 +08:00
Tomáš Rohlínek
092f5aff29
feat(storage): Update build test rules for storage related components
2024-01-02 13:10:59 +01:00
Radek Tandler
12011d2057
Merge branch 'bugfix/fatfs_fatfsparse_relaxed' into 'master'
...
bugfix(fatfs): Fixed fatfsparse.py parses FAT boot sector too strictly
See merge request espressif/esp-idf!26888
2023-12-08 23:48:25 +08:00
radek.tandler
a640626b76
fix(fatfs): Fixed fatfsparse.py parsing of FAT boot sector
...
The fatfsparse.py script was too strict in parsing the FAT boot sector, causing it to fail in
certain cases. This commit fixes the issue by making the parsing less strict and allowing for more
flexibility in the boot sector format.
This change improves the reliability and compatibility of the fatfsparse.py script, ensuring that it
can correctly parse a wider range of FAT boot sectors.
Docs updated
2023-12-06 08:31:50 +01:00
Martin Vychodil
b61ea3ba97
Merge branch 'fix/fatfsgen_construct' into 'master'
...
fix(tools): Fix fatfsgen construct dependency
Closes IDFCI-1891
See merge request espressif/esp-idf!27626
2023-12-05 07:33:47 +08:00
Roland Dobai
035e59bfd8
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-04 16:38:46 +01:00
Frantisek Hrbata
41afb506d7
fix(storage/fatfs): add Organization prefix to originator
...
MR espressif/esp-idf!27436 added sbom manifest file for fatfs,
but the originator is missing a prefix required by SPDX specification.
This results in malformed SPDX sbom files.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-04 08:16:48 +01:00
Ivan Grokhotkov
81385b3476
Merge branch 'feature/update_catch2' into 'master'
...
ci: upgrade host tests to use espressif/catch2 component, add missing build rules
Closes IDF-8775
See merge request espressif/esp-idf!27455
2023-12-01 21:25:25 +08:00
Adam Múdry
29c30b961d
fix: esp_vfs_fat_sdcard_format workbuf memory leak
2023-11-29 12:39:15 +01:00
Ivan Grokhotkov
047e50615e
ci(fatfs): upgrade to Catch2 as a component, enable CI build
2023-11-29 12:38:46 +01:00
Tomáš Rohlínek
526ce4f5cc
feat(storage/fatfs): add sbom file for FatFs
2023-11-28 09:36:40 +01:00
Tomáš Rohlínek
91e158aa0c
fix(storage/fatfs): add missing locks in fatfs wrapper for vfs
2023-11-27 07:47:28 +01:00
Martin Vychodil
aee0ed7c07
Merge branch 'fix/fatfs_formatting_wrong_volume' into 'master'
...
Fix: FATFS formatting wrong partition
Closes IDFGH-11404
See merge request espressif/esp-idf!27011
2023-11-24 05:22:57 +08:00
Adam Múdry
25714837cf
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 13:54:00 +01:00
Martin Vychodil
bd91c7b510
Merge branch 'contrib/github_pr_12567' into 'master'
...
Add option to configure FATFS_USE_LABEL boolean (GitHub PR)
Closes IDFGH-11429
See merge request espressif/esp-idf!27100
2023-11-22 17:57:23 +08:00
Armando
c50e364a97
refactor(sdspi): place sdspi driver into a new component
2023-11-20 12:30:03 +08:00
Armando
5b8d904a9b
refactor(sdmmc): dependency inversion to sdmmc component
2023-11-16 15:37:32 +08:00
Steven Burnett
0a79d13a2d
Add option to configure FATFS_USE_LABEL in menuconfig
2023-11-11 23:00:08 +00:00
Song Ruo Jing
9461993ec5
refactor(gpio): make gpio driver as component, and fix astyle
2023-11-03 15:42:23 +08:00
Tomáš Rohlínek
3f4698ac47
fix(storage/fatfs): add missing lock release introduced by IMMEDIATE_FSYNC
2023-10-30 10:22:08 +01:00
sonika.rathi
91eada4acc
fix(fatfs): free allocated memory for base path before unmounting the card
2023-10-25 09:33:42 +02:00
Adam Múdry
0024867c3b
Merge branch 'feature/add_optional_immediate_fsync' into 'master'
...
fatfs: add optional immediate fsync
See merge request espressif/esp-idf!26097
2023-10-16 17:37:22 +08:00
Adam Múdry
ab1eb37fe8
feat(partition_table): Add read-only partition flag and functionality
2023-10-11 00:01:05 +02:00
Tomáš Rohlínek
525776f748
feat(vfs/fatfs): Add option for automatic immediate fsync
2023-10-02 07:06:05 +02:00
Chen Yudong
2e11919f70
fix(ci): change build-test-rules files folder
2023-09-20 19:17:06 +08:00
Adam Múdry
f75bc09cee
Merge branch 'fix/fatfs_ff_volumes_warning' into 'master'
...
fix(fatfs): Fix a warning when FF_VOLUMES is set to 1
Closes IDFGH-10887
See merge request espressif/esp-idf!25422
2023-08-28 18:20:38 +08:00
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
Adam Múdry
466ed3565d
fix(fatfs): Fix a warning when FF_VOLUMES is set to 1
...
Closes https://github.com/espressif/esp-idf/issues/12089
2023-08-17 21:24:32 +02:00
Michal Jenikovsky
bcda40fcf2
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-08-11 12:37:33 +02:00
Adam Múdry
ebde53bbb9
docs(fatfs): Move mentioned APIs to a separate API reference section
2023-08-04 23:47:44 +00:00
KonstantinKondrashov
e72061695e
all: Removes unnecessary newline character in logs
...
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Adam Múdry
976644acf6
CI: fix sdcard fatfs test_apps format timeout
2023-05-25 08:52:59 +00:00
Martin Vychodil
61e694d2f3
Merge branch 'fix/cd_input_sd_mode_fails' into 'master'
...
CI: sdcard tests fail fix
Closes IDFCI-1700
See merge request espressif/esp-idf!23505
2023-05-15 17:37:29 +08:00
Adam Múdry
fa16ed3898
CI: sdcard tests fail fix
2023-05-10 16:48:03 +02:00
Marius Vikhammer
d17248ecdf
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-08 15:51:48 +08:00
Radek Tandler
d8f2c0e715
Merge branch 'feature/storage_host_test_ffs' into 'master'
...
fatfs: host test migrated to CMake and esp_partition emulation for linux
See merge request espressif/esp-idf!23265
2023-04-25 15:30:09 +08:00
radek.tandler
13a305656d
host_test: cleanup of make based obsolete code in wl, fatfs and spi_flash
2023-04-21 10:45:17 +02:00
radek.tandler
0078025d7b
fatfs: host test migrated to CMake and esp_partition emulation for linux
2023-04-21 10:45:07 +02:00
Sonika Rathi
b31b68fc68
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-04-18 09:57:44 +05:30
Sonika Rathi
248dadc8c8
Merge branch 'docs/descrive-approach-fatfstools' into 'master'
...
docs: Describe the approach of fatfsgen.py and fatfsparse.py
Closes IDF-4755
See merge request espressif/esp-idf!19978
2023-04-13 18:48:51 +08:00
Adam Múdry
381d0fe032
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-11 11:06:56 +00:00