mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
http_server: fix sdmmc related build error for esp32s2beta
ESP32S2 does not have sdmmc, disable SD host for esp32s2
This commit is contained in:
parent
785cc69959
commit
bf1977e48e
@ -21,6 +21,7 @@ menu "Example Configuration"
|
||||
Deploy website to host.
|
||||
It is recommended to choose this mode during developing.
|
||||
config EXAMPLE_WEB_DEPLOY_SD
|
||||
depends on IDF_TARGET_ESP32
|
||||
bool "Deploy website to SD card"
|
||||
help
|
||||
Deploy website to SD card.
|
||||
|
@ -7,7 +7,6 @@
|
||||
CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
#include "sdkconfig.h"
|
||||
#include "driver/sdmmc_host.h"
|
||||
#include "driver/gpio.h"
|
||||
#include "esp_vfs_semihost.h"
|
||||
#include "esp_vfs_fat.h"
|
||||
@ -20,6 +19,9 @@
|
||||
#include "mdns.h"
|
||||
#include "lwip/apps/netbiosns.h"
|
||||
#include "protocol_examples_common.h"
|
||||
#if CONFIG_EXAMPLE_WEB_DEPLOY_SD
|
||||
#include "driver/sdmmc_host.h"
|
||||
#endif
|
||||
|
||||
#define MDNS_INSTANCE "esp home web server"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user