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
Martin Gaňo
30dd0fbf30
fatfsparse.py: enable automatic WL detection
2022-09-15 10:51:48 +00:00
Martin Gaňo
131b28314e
fatfsgen.py: fixed missing NULL terminator
2022-09-14 16:55:13 +02:00
Martin Gaňo
37178dfa74
fatfsparse.py: limit the file content size to correct number
2022-09-12 14:13:03 +00:00
Martin Gaňo
72acbeb921
fatfsparse.py: enable automatic detection of lfn
2022-09-08 10:53:04 +02:00
Ivan Grokhotkov
401c10ecfb
build system: re-add -Wno-format as private flag for some components
2022-08-03 16:42:47 +04:00
Martin Gaňo
2d173c0777
fatfsgen.py: enabled extension of the FAT table
...
Closes IDF-5688
2022-08-01 20:29:02 +02:00
Martin Gaňo
d56e692f2f
fatfsgen.py: Speedup FAT cluster allocation in fatfsgen.py
...
Closes IDF-5243
2022-07-28 01:37:39 +02:00
Martin Gaňo
2ddcda29b3
fatfsparse.py: Add support for WL
2022-07-26 14:50:07 +02:00
Martin Vychodil
8def7b3e55
Merge branch 'contrib/github_pr_9361' into 'master'
...
Change placeholder in ESP_LOGD conditionally depending on FF_FS_EXFAT (GitHub PR)
Closes IDFGH-7832 and IDFGH-7735
See merge request espressif/esp-idf!19111
2022-07-24 16:49:22 +08:00
John
aaf35889b6
Change placeholder in ESP_LOGD conditionally depending on FF_FS_EXFAT
...
In case of using EXFAT by setting in ffconf.h:
the type FSIZE_t is changing from 4 to 8 bytes.
As a result, ESP_LOGD() in vfs_fat_lseek() does not compile:
error: format '%d' expects argument of type 'int', but argument 8 has type 'FSIZE_t' {aka 'long long unsigned int'} [-Werror=format=]
ESP_LOGD(TAG, "%s: offset=%ld, filesize:=%d", __func__, new_pos, f_size(file));
To solve the problem we need to change %d with %lld conditionally, depending on FF_FS_EXFAT.
Closes https://github.com/espressif/esp-idf/pull/9361
2022-07-22 16:52:14 +01:00
Darian Leung
781d06af73
esp_hw_support: Remove compare_set.h API
...
This function removes the following legacy atomic CAS functions:
From compare_set.h (file removed):
- compare_and_set_native()
- compare_and_set_extram()
From portmacro.h
- uxPortCompareSet()
- uxPortCompareSetExtram()
Users should call esp_cpu_compare_and_set() instead as this function hides the details
of atomic CAS on internal and external RAM addresses.
Due to the removal of compare_set.h, some missing header includes are also fixed in this commit.
2022-07-22 00:06:06 +08:00
David Cermak
5c383d7b73
esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
...
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
Jakob Hasse
daacc19149
Merge branch 'bugfix/fatfs_spiffs_vfs_dep' into 'master'
...
fatfs, spiffs: add missing dependency on vfs
See merge request espressif/esp-idf!18613
2022-07-01 18:13:51 +08:00
Cao Sen Miao
a690a87829
spi_flash: Remove legacy spi_flash drivers
2022-07-01 11:01:34 +08:00
Adam Múdry
0fac7d1c02
fatfs: Fix undefined ssize member of FATFS struct
2022-06-27 08:57:58 +00:00