wanlei
ca4153de52
fix(sdspi): temp skip run high falure job on esp32
2024-03-15 16:15:55 +08:00
Adam Múdry
40de3816ec
fix(fatfs): Fix leak of malloced FIL struct
...
In esp_vfs_fat_create_contiguous_file and esp_vfs_fat_test_contiguous_file functions
2024-03-12 13:25:09 +01:00
Adam Múdry
b76123af06
Merge branch 'feature/fatfs_expand_files_api' into 'master'
...
feat(fatfs): Allow expanding files with seeking and truncating functions
Closes IDFGH-12035
See merge request espressif/esp-idf!28945
2024-03-04 20:56:44 +08:00
Adam Múdry
35e312c48e
feat(fatfs): Allow expanding files with seeking and truncating functions
...
Closes https://github.com/espressif/esp-idf/issues/13100
2024-02-29 01:01:32 +01:00
Adam Múdry
8d3e79971e
feat(fatfs): Add f_expand function as esp_vfs_fat_create_contiguous_file
...
Add esp_vfs_fat_test_contiguous_file to test it
2024-02-22 16:05:28 +01:00
Marius Vikhammer
af6657b43b
fix(fatfs): temp remove deprecated attribute from esp_vfs_fat_register
...
Causes build-errors internally in CI, should deprecate after external
components have been upgraded
2024-02-22 17:48:32 +08:00
Adam Múdry
b13f414be7
Merge branch 'feature/vfs_fat_config_register' into 'master'
...
feat(storage/fatfs): Switch to a config struct for VFS FAT registration
Closes IDF-9174
See merge request espressif/esp-idf!28977
2024-02-21 23:39:56 +08:00
Sudeep Mohanty
9605f9be3f
Merge branch 'contrib/github_pr_12800' into 'master'
...
feat(freertos): Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
Closes IDFGH-11693 and IDF-8785
See merge request espressif/esp-idf!28505
2024-02-20 15:21:47 +08:00
Adam Múdry
5f961537cc
feat(storage/fatfs): Switch to a config struct for VFS FAT registration
2024-02-19 14:05:50 +01:00
sonika.rathi
f7e4b9a132
fix(storage): cleanup storage examples/test_apps sdkconfigs
2024-02-12 10:57:46 +01:00
fl0wl0w
90d1dcfd76
feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
...
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.
[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2024-02-09 09:11:28 +01:00
Adam Múdry
88e4fd9ac1
fix(vfs): Add missing lock release in vfs_fat_truncate
2024-02-08 14:16:19 +01:00
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