Kconfig 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. menu "mDNS"
  2. config MDNS_MAX_SERVICES
  3. int "Max number of services"
  4. range 1 64
  5. default 10
  6. help
  7. Services take up a certain amount of memory, and allowing fewer
  8. services to be open at the same time conserves memory. Specify
  9. the maximum amount of services here. The valid value is from 1
  10. to 64.
  11. config MDNS_TASK_PRIORITY
  12. int "mDNS task priority"
  13. range 1 255
  14. default 1
  15. help
  16. Allows setting mDNS task priority. Please do not set the task priority
  17. higher than priorities of system tasks. Compile time warning/error
  18. would be emitted if the chosen task priority were too high.
  19. config MDNS_TASK_STACK_SIZE
  20. int "mDNS task stack size"
  21. default 4096
  22. help
  23. Allows setting mDNS task stacksize.
  24. choice MDNS_TASK_AFFINITY
  25. prompt "mDNS task affinity"
  26. default MDNS_TASK_AFFINITY_CPU0
  27. help
  28. Allows setting mDNS tasks affinity, i.e. whether the task is pinned to
  29. CPU0, pinned to CPU1, or allowed to run on any CPU.
  30. config MDNS_TASK_AFFINITY_NO_AFFINITY
  31. bool "No affinity"
  32. config MDNS_TASK_AFFINITY_CPU0
  33. bool "CPU0"
  34. config MDNS_TASK_AFFINITY_CPU1
  35. bool "CPU1"
  36. depends on !FREERTOS_UNICORE
  37. endchoice
  38. config MDNS_TASK_AFFINITY
  39. hex
  40. default FREERTOS_NO_AFFINITY if MDNS_TASK_AFFINITY_NO_AFFINITY
  41. default 0x0 if MDNS_TASK_AFFINITY_CPU0
  42. default 0x1 if MDNS_TASK_AFFINITY_CPU1
  43. config MDNS_SERVICE_ADD_TIMEOUT_MS
  44. int "mDNS adding service timeout (ms)"
  45. range 10 30000
  46. default 2000
  47. help
  48. Configures timeout for adding a new mDNS service. Adding a service
  49. fails if could not be completed within this time.
  50. config MDNS_TIMER_PERIOD_MS
  51. int "mDNS timer period (ms)"
  52. range 10 10000
  53. default 100
  54. help
  55. Configures period of mDNS timer, which periodically transmits packets
  56. and schedules mDNS searches.
  57. endmenu