OVMS3-idf/examples/protocols/http_server/restful_server/main/Kconfig.projbuild

51 lines
2 KiB
Text
Raw Normal View History

2019-05-10 05:21:14 +00:00
menu "Example Configuration"
2019-05-09 14:43:06 +00:00
config EXAMPLE_MDNS_HOST_NAME
2019-05-10 05:21:14 +00:00
string "mDNS Host Name"
default "esp-home"
help
Specify the domain name used in the mDNS service.
Note that webpage also take it as a part of URL where it will send GET/POST requests to.
2019-05-09 14:43:06 +00:00
choice EXAMPLE_WEB_DEPLOY_MODE
2019-05-10 05:21:14 +00:00
prompt "Website deploy mode"
2019-05-09 14:43:06 +00:00
default EXAMPLE_WEB_DEPLOY_SEMIHOST
2019-05-10 05:21:14 +00:00
help
Select website deploy mode.
You can deploy website to host, and ESP32 will retrieve them in a semihost way (JTAG is needed).
You can deploy website to SD card or SPI flash, and ESP32 will retrieve them via SDIO/SPI interface.
Detailed operation steps are listed in the example README file.
2019-05-09 14:43:06 +00:00
config EXAMPLE_WEB_DEPLOY_SEMIHOST
2019-05-10 05:21:14 +00:00
bool "Deploy website to host (JTAG is needed)"
help
Deploy website to host.
It is recommended to choose this mode during developing.
2019-05-09 14:43:06 +00:00
config EXAMPLE_WEB_DEPLOY_SD
2019-05-10 05:21:14 +00:00
bool "Deploy website to SD card"
help
Deploy website to SD card.
Choose this production mode if the size of website is too large (bigger than 2MB).
2019-05-09 14:43:06 +00:00
config EXAMPLE_WEB_DEPLOY_SF
2019-05-10 05:21:14 +00:00
bool "Deploy website to SPI Nor Flash"
help
Deploy website to SPI Nor Flash.
Choose this production mode if the size of website is small (less than 2MB).
endchoice
2019-05-09 14:43:06 +00:00
if EXAMPLE_WEB_DEPLOY_SEMIHOST
config EXAMPLE_HOST_PATH_TO_MOUNT
2019-05-10 05:21:14 +00:00
string "Host path to mount (e.g. absolute path to web dist directory)"
default "PATH-TO-WEB-DIST_DIR"
help
When using semihost in ESP32, you should specify the host path which will be mounted to VFS.
Note that only absolute path is acceptable.
endif
2019-05-09 14:43:06 +00:00
config EXAMPLE_WEB_MOUNT_POINT
2019-05-10 05:21:14 +00:00
string "Website mount point in VFS"
default "/www"
help
Specify the mount point in VFS.
endmenu