Good morning,
I am using a ESP32S3 chip located in a ESP32-S3-WROOM1 module => Including a 8Mo SPI FLASH.
I would like to use FileSystem tools in order to Open/Read/Write files that could be located :
1) On the internal 8Mo SPI FLASH.
2) On an external Micro SD SPI FLASH.
I have seen the "Virtual FileSystem Component".
Using this component, do you think I can :
1) Register a FS Driver that can deal with files located on the internal 8Mo SPI FLASH.
2) Register a FS Driver that can deal with files located on the external Micro SD SPI Flash.
??
Do you think that I can use the two memories at the same time and read/write files that can be located on the two memories ?
thank you for your answer,
Best regards,
Thomas TRUILHE
ESP32S3 : Virtual FileSystem Component
-
- Posts: 1710
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: ESP32S3 : Virtual FileSystem Component
That should totally be possible.
For flash, you could use SPIFFS (see https://docs.espressif.com/projects/esp ... ffs_conf_t), and for an SD card you'd use e.g. esp_vfs_fat_sdspi_mount(...), see https://github.com/espressif/esp-idf/bl ... ple_main.c
Multiple VFSs can be "mounted" at the same time, each accessible via its own path prefix ("mount point") which you define, like "/flash" or "/sdcard".
For flash, you could use SPIFFS (see https://docs.espressif.com/projects/esp ... ffs_conf_t), and for an SD card you'd use e.g. esp_vfs_fat_sdspi_mount(...), see https://github.com/espressif/esp-idf/bl ... ple_main.c
Multiple VFSs can be "mounted" at the same time, each accessible via its own path prefix ("mount point") which you define, like "/flash" or "/sdcard".
Who is online
Users browsing this forum: No registered users and 64 guests