Kconfig.projbuild 648 B

123456789101112131415161718192021222324
  1. menu "Example Configuration"
  2. config EXAMPLE_HOST_NAME
  3. string "Host Name"
  4. default "baidu.com"
  5. help
  6. host name
  7. config EXAMPLE_HOST_PORT
  8. int "Host Port"
  9. default 80
  10. range 0 65535
  11. help
  12. host port
  13. config EXAMPLE_BIND_SOCKET_TO_NETIF_NAME
  14. bool "Bind to interface by its name"
  15. default y
  16. help
  17. By default example uses setsockopt() to bind the tcp-client's socket
  18. to specific interface. Setting this option to true demonstrates binding
  19. the socket to the local ip address of the network interface.
  20. endmenu