I have been having a problem where the httpd will not work after calling esp_vfs_fat_sdmmc_mount(). It seems the problem is fixed by running menuconfig and choosing the "lwip select only" option. Component config / LWIP /USE_ONLY_LWIP_SELECT [=y].
It seems the problem is that the select() call in the httpd returns data on the wrong file descriptor after esp_vfs_fat_sdmmc_mount() is called.
I assume this is a bug? If not then it should be documented that the USE_ONLY_LWIP_SELECT is required.
esp_vfs_fat_register and httpd not working together without USE_ONLY_LWIP_SELECT
-
- Posts: 125
- Joined: Fri May 24, 2019 2:02 am
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: esp_vfs_fat_register and httpd not working together without USE_ONLY_LWIP_SELECT
Hi felixcollins.
Thank you for reporting this issue. It is probably a bug based on your description. However, I cannot reproduce it. The result for select() is fine on my end after calling esp_vfs_fat_sdmmc_mount(). Would it be possible to give us a minimal (not)working example and report the issue at https://github.com/espressif/esp-idf/issues?
Thank you for reporting this issue. It is probably a bug based on your description. However, I cannot reproduce it. The result for select() is fine on my end after calling esp_vfs_fat_sdmmc_mount(). Would it be possible to give us a minimal (not)working example and report the issue at https://github.com/espressif/esp-idf/issues?
-
- Posts: 125
- Joined: Fri May 24, 2019 2:02 am
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot] and 175 guests