What is the maximum number of open files that we can have at the same time with esp-idf, and what are the configurations to get to this value?
currently we can't open more than 5. Is there a way to increase this number?
Maximum number of open files
- gunar.kroeger
- Posts: 143
- Joined: Fri Jul 27, 2018 6:48 pm
Maximum number of open files
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."
- gunar.kroeger
- Posts: 143
- Joined: Fri Jul 27, 2018 6:48 pm
Re: Maximum number of open files
FATFS on sdcard through spi
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."
Re: Maximum number of open files
So,
You can mount FAT using other devices but you get the idea.
Make sure the rest of the mount_config structure suites your need.
EDIT: If you are using SD then you will need to use the MMC mount function instead, which ever function you use ATM.
Code: Select all
esp_vfs_fat_mount_config_t mount_config;
mount_config.max_files = (bigger number);
esp_err_t err = esp_vfs_fat_spiflash_mount(FATFS_BASE_PATH, "storage", &mount_config, &s_wl_handle);
Make sure the rest of the mount_config structure suites your need.
EDIT: If you are using SD then you will need to use the MMC mount function instead, which ever function you use ATM.
& I also believe that IDF CAN should be fixed.
Who is online
Users browsing this forum: Bing [Bot] and 107 guests