Kconfig 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. # Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. # All rights reserved.
  3. #
  4. # This software is supplied "AS IS" without any warranties.
  5. # RDA assumes no responsibility or liability for the use of the software,
  6. # conveys no license or title under any patent, copyright, or mask work
  7. # right to the product. RDA reserves the right to make changes in the
  8. # software without notification. RDA also make no representation or
  9. # warranty that such application will be suitable for the specified use
  10. # without further testing or modification.
  11. menu "net"
  12. config NET_LWIP_DEBUG
  13. bool "enable lwip debug"
  14. default y
  15. help
  16. when enabled, LWIP_DEBUG will be defined to 1.
  17. config NET_TCPIP_SUPPORT
  18. bool "tcpip enabled"
  19. default y
  20. help
  21. When enabled, CONFIG_NET_TCPIP_SUPPORT will be defined
  22. config NET_LOG_BUF_COUNT
  23. int "Log buffer count"
  24. default 2
  25. config NET_LOG_BUF_SIZE
  26. int "Log buffer size"
  27. default 8192
  28. config NET_LWIP_IPV4_ON
  29. bool "Ipv4 enabled"
  30. default y
  31. help
  32. When enabled, CONFIG_NET_LWIP_IPV4_ON will be defined
  33. config NET_LWIP_IPV6_ON
  34. bool "Ipv6 enabled"
  35. default y
  36. help
  37. When enabled, CONFIG_NET_LWIP_IPV6_ON will be defined
  38. config NET_LWIP_RFACK_ON
  39. bool "rfack enabled"
  40. default n
  41. help
  42. When enabled, CONFIG_NET_LWIP_RFACK_ON will be defined
  43. config NET_LWIP_TCP_ON
  44. bool "TCP enabled"
  45. default y
  46. help
  47. When enabled, CONFIG_NET_LWIP_TCP_ON will be defined
  48. config LWIP_TCP_SACK_SUPPORT
  49. bool "lwip_sack enabled"
  50. default y if SOC_8850
  51. default y if SOC_8910
  52. default n
  53. help
  54. When enabled, CONFIG_LWIP_TCP_SACK_SUPPORT will be defined
  55. config NET_LWIP_PPP_ON
  56. bool "ppp enabled"
  57. default y if SOC_8811
  58. default y
  59. help
  60. When enabled, CONFIG_NET_LWIP_PPP_ON will be defined
  61. config NET_TRACE_IP_PACKET
  62. bool "trace IP packet identify"
  63. default y if SOC_8910
  64. default y if SOC_8850
  65. default n
  66. help
  67. When enabled, identify of IP packet will be show in trace.
  68. It is just for debug, and usually not needed in produciton.
  69. config NET_LWM2M_SUPPORT
  70. bool "NET_LWM2M_SUPPORT enabled"
  71. default y
  72. help
  73. When enabled, NET_LWM2M_SUPPORT will be defined
  74. config NET_PAHO_MQTT_SUPPORT
  75. bool "NET_PAHO_MQTT_SUPPORT enabled"
  76. default n
  77. depends on NET_LWIP_TCP_ON
  78. help
  79. When enabled, NET_PAHO_MQTT_SUPPORT will be defined
  80. config NET_ALI_SDK_SUPPORT
  81. default y if SOC_8910
  82. bool "NET_ALI_SDK_SUPPORT enabled"
  83. default n
  84. help
  85. When enabled, NET_ALI_SDK_SUPPORT will be defined
  86. config NET_ALI_SDK_DYNAMIC_LOAD
  87. bool "NET_ALI_SDK_DYNAMIC_LOAD enabled"
  88. default n
  89. help
  90. When enabled, NET_ALI_SDK_DYNAMIC_LOAD will be defined
  91. config NET_CIS_SDK_SUPPORT
  92. bool "NET_CIS_SDK_SUPPORT enabled"
  93. default n
  94. help
  95. When enabled, NET_CIS_SDK_SUPPORT will be defined
  96. config NET_LIBCOAP_SUPPORT
  97. bool "NET_LIBCOAP_SUPPORT enabled"
  98. default n
  99. help
  100. When enabled, NET_LIBCOAP_SUPPORT will be defined
  101. config NET_NAT_SUPPORT
  102. bool "NET_NAT_SUPPORT enabled"
  103. default y if SOC_8910
  104. default y if SOC_8850
  105. default n
  106. help
  107. When enabled, NET_NAT_SUPPORT will be defined
  108. config MBEDTLS_LIB_SUPPORT
  109. bool "MBEDTLS_LIB_SUPPORT enabled"
  110. default y
  111. help
  112. When enabled, MBEDTLS_LIB_SUPPORT will be defined
  113. config MBEDTLS_TCPIP_SUPPORT
  114. bool "MBEDTLS_TCPIP_SUPPORT enabled"
  115. depends on MBEDTLS_SSL_TLS
  116. default y if SOC_8910
  117. default y if SOC_8850
  118. default n
  119. depends on NET_LWIP_TCP_ON
  120. help
  121. When enabled, MBEDTLS_TCPIP_SUPPORT will be defined
  122. config NET_USSL_SUPPORT
  123. bool "NET_USSL_SUPPORT enabled"
  124. default n if SOC_8910
  125. default n
  126. depends on NET_LWIP_TCP_ON
  127. help
  128. When enabled, NET_USSL_SUPPORT will be defined
  129. config NET_SELF_REGISTE_SUPPORT
  130. bool "NET_SELF_REGISTE_SUPPORT enabled"
  131. default y if SOC_8910 || SOC_8850
  132. default n
  133. depends on NET_LWIP_TCP_ON
  134. help
  135. When enabled, NET_SELF_REGISTE_SUPPORT will be defined
  136. config TINYDTLS_LIB_SUPPORT
  137. bool "TINYDTLS_LIB_SUPPORT enabled"
  138. default n
  139. help
  140. When enabled, TINYDTLS_LIB_SUPPORT will be defined
  141. config MBEDTLS_USE_CE_CRYPTO
  142. bool "MBEDTLS_USE_CE_CRYPTO enabled"
  143. depends on MBEDTLS_LIB_SUPPORT
  144. default n if SOC_8811
  145. default n
  146. help
  147. When enabled, MBEDTLS_USE_CE_CRYPTO will be defined
  148. config NET_NBSELFREG_HTTP_SUPPORT
  149. bool "NET_NBSELFREG_HTTP_SUPPORT enabled"
  150. default n
  151. help
  152. When enabled, NET_SELFREG_COAP_SUPPORT will be defined
  153. config NET_SELFREG_COAP_SUPPORT
  154. bool "NET_SELFREG_COAP_SUPPORT enabled"
  155. default y if SOC_8811
  156. default n
  157. help
  158. When enabled, NET_SELFREG_COAP_SUPPORT will be defined
  159. config NBSELFREG_CUS_SUPPORT
  160. bool "NBSELFREG_CUS_SUPPORT enabled"
  161. default y if AT_CUS_SUPPORT
  162. default n
  163. help
  164. When enabled, NBSELFREG_CUS_SUPPORT will be defined
  165. config NET_CTWING_SELFREG_SUPPORT
  166. bool "NET_CTWING_SELFREG_SUPPORT enabled"
  167. default n
  168. help
  169. When enabled, NET_CTWING_SELFREG_SUPPORT will be defined
  170. choice
  171. prompt "select dm module"
  172. default NET_DM_CUS_SUPPORT if AT_CUS_SUPPORT
  173. default NET_DM_LWM2M_SUPPORT if SOC_8811 || SOC_8850
  174. default NET_DM_CISSDK_SUPPORT
  175. config NET_DM_CISSDK_SUPPORT
  176. bool "DM Module based on cissdk"
  177. select NET_CIS_SDK_SUPPORT
  178. config NET_DM_LWM2M_SUPPORT
  179. bool "DM Module based on liblwm2m"
  180. select NET_LWM2M_SUPPORT
  181. select LWM2M_ONENET_SUPPORT
  182. select LWM2M_ONENET_DM_SUPPORT
  183. config NET_DM_CUS_SUPPORT
  184. bool "DM Customized Module based on liblwm2m"
  185. select NET_LWM2M_SUPPORT
  186. select LWM2M_ONENET_SUPPORT
  187. select LWM2M_ONENET_DM_SUPPORT
  188. config NET_DM_NO_SUPPORT
  189. bool "DM Module not support"
  190. endchoice
  191. config NET_IDS_SUPPORT
  192. bool "IDS support"
  193. default y if SOC_8910
  194. default n
  195. help
  196. when enabled, IDS feature is supported
  197. config NET_DNS_SERVER_SUPPORT
  198. bool "NET_DNS_SERVER_SUPPORT enabled"
  199. default y if SOC_8910
  200. default n
  201. help
  202. When enabled, NET_DNS_SERVER_SUPPORT will be defined
  203. config NET_CTIOTSM_SUPPORT
  204. bool "NET_CTIOTSM_SUPPORT enabled"
  205. default n
  206. help
  207. When enabled, NET_CTIOTSM_SUPPORT will be defined
  208. config NET_LIBDMP_SDK_SUPPORT
  209. bool "NET_LIBDMP_SDK_SUPPORT enabled"
  210. #default y if SOC_8910 || SOC_8850 === adjusted by kevin.wang: default not enable self register
  211. default n
  212. help
  213. When enabled, NET_LIBDMP_SDK_SUPPORT will be defined
  214. config NET_CTIOT_AEP_SUPPORT
  215. bool "NET_CTIOT_AEP_SUPPORT enabled"
  216. default n
  217. help
  218. When enabled, NET_CTIOT_AEP_SUPPORT will be defined
  219. orsource "mupnp/Kconfig"
  220. orsource "http/Kconfig"
  221. orsource "mbedtls/Kconfig"
  222. orsource "liblwm2m/Kconfig"
  223. orsource "ftp/Kconfig"
  224. endmenu