Kconfig.projbuild 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. menu "Example Connection Configuration"
  2. choice EXAMPLE_CONNECT_INTERFACE
  3. prompt "Connect using"
  4. default EXAMPLE_CONNECT_WIFI
  5. help
  6. Protocol examples can use Wi-Fi or Ethernet to connect to the network.
  7. Choose which interface to use.
  8. config EXAMPLE_CONNECT_WIFI
  9. bool "Wi-Fi"
  10. config EXAMPLE_CONNECT_ETHERNET
  11. bool "Ethernet"
  12. endchoice
  13. config EXAMPLE_WIFI_SSID
  14. depends on EXAMPLE_CONNECT_WIFI
  15. string "WiFi SSID"
  16. default "myssid"
  17. help
  18. SSID (network name) for the example to connect to.
  19. config EXAMPLE_WIFI_PASSWORD
  20. depends on EXAMPLE_CONNECT_WIFI
  21. string "WiFi Password"
  22. default "mypassword"
  23. help
  24. WiFi password (WPA or WPA2) for the example to use.
  25. Can be left blank if the network has no security set.
  26. choice EXAMPLE_ETH_PHY_MODEL
  27. depends on EXAMPLE_CONNECT_ETHERNET
  28. prompt "Ethernet PHY Device"
  29. default EXAMPLE_ETH_PHY_IP101
  30. help
  31. Select the PHY driver to use for the example.
  32. config EXAMPLE_ETH_PHY_IP101
  33. bool "IP101"
  34. help
  35. IP101 is a single port 10/100 MII/RMII/TP/Fiber Fast Ethernet Transceiver.
  36. Goto http://www.icplus.com.tw/pp-IP101G.html for more information about it.
  37. config EXAMPLE_ETH_PHY_RTL8201
  38. bool "RTL8201/SR8201"
  39. help
  40. RTL8201F/SR8201F is a single port 10/100Mb Ethernet Transceiver with auto MDIX.
  41. Goto http://www.corechip-sz.com/productsview.asp?id=22 for more information about it.
  42. config EXAMPLE_ETH_PHY_LAN8720
  43. bool "LAN8720"
  44. help
  45. LAN8720A is a small footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX Support.
  46. Goto https://www.microchip.com/LAN8720A for more information about it.
  47. config EXAMPLE_ETH_PHY_DP83848
  48. bool "DP83848"
  49. help
  50. DP83848 is a single port 10/100Mb/s Ethernet Physical Layer Transceiver.
  51. Goto http://www.ti.com/product/DP83848J for more information about it.
  52. endchoice
  53. config EXAMPLE_CONNECT_IPV6
  54. bool "Obtain IPv6 link-local address"
  55. default y
  56. help
  57. By default, examples will wait until IPv4 and IPv6 addresses are obtained.
  58. Disable this option if the network does not support IPv6.
  59. endmenu