Kconfig.projbuild 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. menu "Example Configuration"
  2. config EXAMPLE_WIFI_SSID
  3. string "WiFi SSID"
  4. default "myssid"
  5. help
  6. SSID (network name) for the example to connect to.
  7. config EXAMPLE_WIFI_PASSWORD
  8. string "WiFi Password"
  9. default "mypassword"
  10. help
  11. WiFi password (WPA or WPA2) for the example to use.
  12. config EXAMPLE_MAXIMUM_RETRY
  13. int "Maximum retry"
  14. default 5
  15. help
  16. Set the Maximum retry to avoid station reconnecting to the AP unlimited when the AP is really inexistent.
  17. config EXAMPLE_STATIC_IP_ADDR
  18. string "Static IP address"
  19. default "192.168.4.2"
  20. help
  21. Set static IP address.
  22. config EXAMPLE_STATIC_NETMASK_ADDR
  23. string "Static netmask address"
  24. default "255.255.255.0"
  25. help
  26. Set static netmask address.
  27. config EXAMPLE_STATIC_GW_ADDR
  28. string "Static gateway address"
  29. default "192.168.4.1"
  30. help
  31. Set static gateway address.
  32. choice EXAMPLE_STATIC_DNS_SERVER
  33. prompt "Choose DNS server"
  34. default EXAMPLE_STATIC_DNS_AUTO
  35. help
  36. Select auto to make gateway address as DNS server or manual to input your DNS server
  37. config EXAMPLE_STATIC_DNS_AUTO
  38. bool "Use gateway address as DNS server"
  39. help
  40. Set DNS server the same as gateway address
  41. config EXAMPLE_STATIC_DNS_MANUAL
  42. bool "Set manual value as DNS server"
  43. help
  44. Set DNS server with you want
  45. endchoice
  46. config EXAMPLE_STATIC_DNS_SERVER_MAIN
  47. string "Main DNS server address"
  48. default "192.168.4.1"
  49. depends on EXAMPLE_STATIC_DNS_MANUAL
  50. help
  51. Set main DNS server address.
  52. config EXAMPLE_STATIC_DNS_SERVER_BACKUP
  53. string "Backup DNS server address"
  54. default "192.168.4.1"
  55. depends on EXAMPLE_STATIC_DNS_MANUAL
  56. help
  57. Set backup DNS server address. It can be same with the main DNS server address or leave empty.
  58. config EXAMPLE_STATIC_DNS_RESOLVE_TEST
  59. bool "Enable DNS resolve test"
  60. default n
  61. help
  62. Enable it and configure EXAMPLE_STATIC_RESOLVE_DOMAIN to resolve DNS domain name
  63. config EXAMPLE_STATIC_RESOLVE_DOMAIN
  64. string "Domain name to resolve"
  65. default "www.espressif.com"
  66. depends on EXAMPLE_STATIC_DNS_RESOLVE_TEST
  67. help
  68. Set domain name for DNS test
  69. endmenu