Kconfig.projbuild 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. menu "Example Configuration"
  2. config EXAMPLE_MDNS_HOST_NAME
  3. string "mDNS Host Name"
  4. default "esp-home"
  5. help
  6. Specify the domain name used in the mDNS service.
  7. Note that webpage also take it as a part of URL where it will send GET/POST requests to.
  8. choice EXAMPLE_WEB_DEPLOY_MODE
  9. prompt "Website deploy mode"
  10. default EXAMPLE_WEB_DEPLOY_SEMIHOST
  11. help
  12. Select website deploy mode.
  13. You can deploy website to host, and ESP32 will retrieve them in a semihost way (JTAG is needed).
  14. You can deploy website to SD card or SPI flash, and ESP32 will retrieve them via SDIO/SPI interface.
  15. Detailed operation steps are listed in the example README file.
  16. config EXAMPLE_WEB_DEPLOY_SEMIHOST
  17. bool "Deploy website to host (JTAG is needed)"
  18. help
  19. Deploy website to host.
  20. It is recommended to choose this mode during developing.
  21. config EXAMPLE_WEB_DEPLOY_SD
  22. depends on IDF_TARGET_ESP32
  23. bool "Deploy website to SD card"
  24. help
  25. Deploy website to SD card.
  26. Choose this production mode if the size of website is too large (bigger than 2MB).
  27. config EXAMPLE_WEB_DEPLOY_SF
  28. bool "Deploy website to SPI Nor Flash"
  29. help
  30. Deploy website to SPI Nor Flash.
  31. Choose this production mode if the size of website is small (less than 2MB).
  32. endchoice
  33. if EXAMPLE_WEB_DEPLOY_SEMIHOST
  34. config EXAMPLE_HOST_PATH_TO_MOUNT
  35. string "Host path to mount (e.g. absolute path to web dist directory)"
  36. default "PATH-TO-WEB-DIST_DIR"
  37. help
  38. When using semihost in ESP32, you should specify the host path which will be mounted to VFS.
  39. Note that only absolute path is acceptable.
  40. endif
  41. config EXAMPLE_WEB_MOUNT_POINT
  42. string "Website mount point in VFS"
  43. default "/www"
  44. help
  45. Specify the mount point in VFS.
  46. endmenu