Kconfig.projbuild 1.1 KB

123456789101112131415161718192021222324252627282930
  1. menu "Http_File_Serving Example menu"
  2. config EXAMPLE_MOUNT_SD_CARD
  3. bool "Mount the SD card to the filesystem"
  4. default n
  5. help
  6. If this config item is set, the file you upload to server can be chosen to save in the SDcard.
  7. config EXAMPLE_FORMAT_IF_MOUNT_SDCARD_FAILED
  8. bool "The card will be formatted if mount has failed."
  9. default n
  10. depends on EXAMPLE_MOUNT_SD_CARD
  11. help
  12. If this config item is set, the card will be formatted if mount has failed.
  13. config EXAMPLE_USE_SDMMC_HOST
  14. bool "Use SDMMC host"
  15. default y
  16. depends on EXAMPLE_MOUNT_SD_CARD && IDF_TARGET_ESP32
  17. help
  18. If this config item is set, SDMMC is used to mount the SDcard.
  19. Otherwise, will use SPI host to access and mount the SDcard.
  20. config EXAMPLE_HTTPD_CONN_CLOSE_HEADER
  21. bool "Send connection close header from request handlers"
  22. default y
  23. help
  24. If this config item is set, Connection: close header will be set in handlers.
  25. This closes HTTP connection and frees the server socket instantly.
  26. endmenu