Kconfig.projbuild 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. menu "Network Manager Configuration"
  2. menu "WiFi Options"
  3. config WIFI_MANAGER_TASK_PRIORITY
  4. int "RTOS Task Priority for the wifi_manager"
  5. default 1
  6. help
  7. Tasks spawn by the manager will have a priority of WIFI_MANAGER_TASK_PRIORITY-1. For this particular reason, minimum recommended task priority is 2.
  8. config WIFI_MANAGER_MAX_RETRY
  9. int "Max Retry on failed connection"
  10. default 2
  11. help
  12. Defines when a connection is lost/attempt to connect is made, how many retries should be made before giving up.
  13. config DEFAULT_AP_SSID
  14. string "Access Point SSID"
  15. default "esp32"
  16. help
  17. SSID (network name) the the esp32 will broadcast.
  18. config DEFAULT_AP_PASSWORD
  19. string "Access Point Password"
  20. default "esp32pwd"
  21. help
  22. Password used for the Access Point. Leave empty and set AUTH MODE to WIFI_AUTH_OPEN for no password.
  23. config DEFAULT_AP_CHANNEL
  24. int "Access Point WiFi Channel"
  25. default 1
  26. help
  27. Be careful you might not see the access point if you use a channel not allowed in your country.
  28. config DEFAULT_AP_IP
  29. string "Access Point IP Address"
  30. default "10.10.0.1"
  31. help
  32. This is used for the redirection to the captive portal. It is recommended to leave unchanged.
  33. config DEFAULT_AP_GATEWAY
  34. string "Access Point IP Gateway"
  35. default "10.10.0.1"
  36. help
  37. This is used for the redirection to the captive portal. It is recommended to leave unchanged.
  38. config DEFAULT_AP_NETMASK
  39. string "Access Point Netmask"
  40. default "255.255.255.0"
  41. help
  42. This is used for the redirection to the captive portal. It is recommended to leave unchanged.
  43. config DEFAULT_AP_MAX_CONNECTIONS
  44. int "Access Point Max Connections"
  45. default 4
  46. help
  47. Max is 4.
  48. config DEFAULT_AP_BEACON_INTERVAL
  49. int "Access Point Beacon Interval (ms)"
  50. default 100
  51. help
  52. 100ms is the recommended default.
  53. endmenu
  54. menu "Ethernet Options"
  55. visible if BASIC_I2C_BT && (ETH_USE_ESP32_EMAC || ETH_USE_SPI_ETHERNET)
  56. choice
  57. prompt "Ethernet Chipset"
  58. default ETH_NODRIVER
  59. config ETH_NODRIVER
  60. bool "Defined in NVS"
  61. config ETH_LAN8720
  62. bool "Microchip LAN8720 (RMII)"
  63. config ETH_DM9051
  64. bool "Davicom 9051 (SPI)"
  65. config ETH_W5500
  66. bool "WIZnet 5500 (SPI)"
  67. endchoice
  68. comment "LAN8720 is an RMII interface and most of the required GPIOs aren't user selectable. They are defined as follow tx_en=21, tx0=19, tx1=22, rx0=25, rx1=26, crs_dv=27"
  69. depends on ETH_LAN8720
  70. config ETH_PHY_RST_IO
  71. int "PHY Reset GPIO number" if !ETH_NODRIVER
  72. default -1
  73. help
  74. Set the GPIO number used to reset PHY chip.
  75. Set to -1 to disable PHY chip hardware reset.
  76. config ETH_MDC_IO
  77. int "SMI MDC GPIO number" if ETH_LAN8720
  78. default -1
  79. help
  80. Set the GPIO number used by SMI MDC.
  81. config ETH_MDIO_IO
  82. int "SMI MDIO GPIO number" if ETH_LAN8720
  83. default -1
  84. help
  85. Set the GPIO number used by SMI MDIO.
  86. config ETH_SPI_HOST
  87. int "SPI host number (-1,1 or 2)" if ETH_DM9051 || ETH_W5500
  88. default -1
  89. help
  90. Set to -1 to use system's SPI config (see Various I/O)
  91. Set to 2 or 3 to use a dedicated bus
  92. config ETH_SPI_INTR_IO
  93. int "interrupt" if ETH_DM9051 || ETH_W5500
  94. default -1
  95. config ETH_SPI_CS_IO
  96. int "Chip Select" if ETH_DM9051 || ETH_W5500
  97. default -1
  98. config ETH_SPI_CLK_IO
  99. int "SPI clock" if ETH_SPI_HOST != -1 && (ETH_DM9051 || ETH_W5500)
  100. default -1
  101. config ETH_SPI_MOSI_IO
  102. int "Data Out" if ETH_SPI_HOST != -1 && (ETH_DM9051 || ETH_W5500)
  103. default -1
  104. config ETH_SPI_MISO_IO
  105. int "Data In" if ETH_SPI_HOST != -1 && (ETH_DM9051 || ETH_W5500)
  106. default -1
  107. config ETH_SPI_SPEED
  108. int "SPI speed (Hz)" if ETH_SPI_HOST != -1 && (ETH_DM9051 || ETH_W5500)
  109. default 20000000
  110. endmenu
  111. endmenu