Kconfig.projbuild 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. menu "Example Configuration"
  2. choice EXAMPLE_IP_MODE
  3. prompt "IP Version"
  4. depends on EXAMPLE_SOCKET_IP_INPUT_STRING
  5. help
  6. Example can use either IPV4 or IPV6.
  7. config EXAMPLE_IPV4
  8. bool "IPV4"
  9. config EXAMPLE_IPV6
  10. bool "IPV6"
  11. select EXAMPLE_CONNECT_IPV6
  12. endchoice
  13. config EXAMPLE_IPV4_ADDR
  14. string "IPV4 Address"
  15. default "192.168.0.165"
  16. depends on EXAMPLE_IPV4
  17. help
  18. IPV4 address to which the client example will send data.
  19. config EXAMPLE_IPV6_ADDR
  20. string "IPV6 Address"
  21. default "FE80::30AD:E57B:C212:68AD"
  22. depends on EXAMPLE_IPV6
  23. help
  24. IPV6 address to which the client example will send data.
  25. config EXAMPLE_PORT
  26. int "Port"
  27. range 0 65535
  28. default 3333
  29. help
  30. The remote port to which the client example will send data.
  31. choice EXAMPLE_SOCKET_IP_INPUT
  32. prompt "Socket example source"
  33. default EXAMPLE_SOCKET_IP_INPUT_STRING
  34. help
  35. Selects the input source of the IP used in the example.
  36. config EXAMPLE_SOCKET_IP_INPUT_STRING
  37. bool "From string"
  38. config EXAMPLE_SOCKET_IP_INPUT_STDIN
  39. bool "From stdin"
  40. endchoice
  41. endmenu