Hi @corso_shiba,
for pure LittleFS usage, please check https://github.com/espressif/esp-idf/tr ... e/littlefs (though I understand this is not exactly what you are looking for).
Generally, the best option for file-system choice would be probably FatFS.
Hope this helps.
Search found 20 matches
- Tue Jan 23, 2024 4:51 pm
- Forum: ESP-IDF
- Topic: vsCode IDFexstesion error compile littlefs exsample
- Replies: 2
- Views: 662
- Tue Jan 23, 2024 4:31 pm
- Forum: ESP-IDF
- Topic: Accessing NVS/FAT from task where stack is in external RAM
- Replies: 6
- Views: 1199
Re: Accessing NVS/FAT from task where stack is in external RAM
Hi @johboh,
that sounds weird - accessing file-systems should be independent on specific task. Could you share your code, please? The critical parts would be sufficient, if you cannot share whole application (or if it's too big). I'll take a look asap
Thank you for the report!
that sounds weird - accessing file-systems should be independent on specific task. Could you share your code, please? The critical parts would be sufficient, if you cannot share whole application (or if it's too big). I'll take a look asap
Thank you for the report!
- Wed Nov 22, 2023 2:19 pm
- Forum: ESP-IDF
- Topic: Esp32S3 : Virtual FileSystem Max FileName
- Replies: 5
- Views: 2984
Re: Esp32S3 : Virtual FileSystem Max FileName
Hi @ThomasESP32, IDF Virtual FileSystem (VFS) has no limit on filename length, only on the FS path prefix (the part which identifies specific file-system or device with FS-like interface, eg UART. The limit is hardcoded as 15 chars, see https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api...
- Wed Nov 22, 2023 1:46 pm
- Forum: General Discussion
- Topic: About spi_flash_emulation
- Replies: 1
- Views: 1085
Re: About spi_flash_emulation
Hi @nekomiya, there is no (actively used) SPI flash emulation in ESP IDF now, the only emulated component for storage needs is esp_partition (ie it compiles on Linux and emulates the SPI flash memory by mmaped file. For instance see https://github.com/espressif/esp-idf/tree/master/components/esp_par...
- Mon Nov 20, 2023 11:36 am
- Forum: General Discussion
- Topic: FatFS vs SPIFFS vs NVS
- Replies: 5
- Views: 2083
Re: FatFS vs SPIFFS vs NVS
Hi @Piramma,
please, use FatFS for storing large files. The theoretical file size maximum would be 4GB (see http://elm-chan.org/fsw/ff/doc/appnote.html, section Limits), ie you can use whole partition space for one file.
FatFS also works over encrypted partitions
please, use FatFS for storing large files. The theoretical file size maximum would be 4GB (see http://elm-chan.org/fsw/ff/doc/appnote.html, section Limits), ie you can use whole partition space for one file.
FatFS also works over encrypted partitions
- Thu Nov 16, 2023 6:34 am
- Forum: General Discussion
- Topic: ESP32: Slow OTA on encrypted flash
- Replies: 3
- Views: 1250
Re: ESP32: Slow OTA on encrypted flash
Hi @boborjan,
thank you for the report, your findings are correct. Our teams is already taking a look into it, you can watch the progress in your https://github.com/espressif/esp-idf/issues/12505 issue.
thank you for the report, your findings are correct. Our teams is already taking a look into it, you can watch the progress in your https://github.com/espressif/esp-idf/issues/12505 issue.
- Mon Oct 30, 2023 10:59 am
- Forum: ESP-IDF
- Topic: Recommended Filesystem Type?
- Replies: 5
- Views: 1346
Re: Recommended Filesystem Type?
Hi @dmglogowski, NVS is designed for storing configuration values in a form of key:value pairs, and it introduces extra overhead and limitations needed for internal handling of the data. It is not suitable as a common file-system - just to confirm your findings. Details available at https://docs.esp...
- Mon Oct 23, 2023 2:00 pm
- Forum: General Discussion
- Topic: Data storage
- Replies: 6
- Views: 2789
Re: Data storage
Ok. Please try the solution us suggested and let me know, if it doesn't work - I would try to find something more suitable. I don't expect troubles due SPI throughput, though, it's pretty fast compared to network operations
- Mon Oct 23, 2023 9:57 am
- Forum: General Discussion
- Topic: Data storage
- Replies: 6
- Views: 2789
Re: Data storage
NVS is sort of a file-system (key-value pairs) and is designed for keeping the system/application configuration values. It is not recommended for storing production data. Beside of that, NVS is runs over SPI Flash partition, alike the FatFS in the example provided. Still not sure what "very high" fr...
- Mon Oct 23, 2023 7:34 am
- Forum: ESP-IDF
- Topic: SPI transfer with reading data in ESP-IDF
- Replies: 1
- Views: 4210
Re: SPI transfer with reading data in ESP-IDF
Hi @hellish,
take a look into https://gitlab.espressif.cn:6688/espres ... type=heads - the example provides both sender and receiver code. Hope this helps
take a look into https://gitlab.espressif.cn:6688/espres ... type=heads - the example provides both sender and receiver code. Hope this helps