#
# Copyright (c) [2020] Huawei Technologies Co.,Ltd.All rights reserved.
#
# LiteOS NOVA is licensed under the Mulan PSL v1.
# You can use this software according to the terms and conditions of the Mulan PSL v1.
# You may obtain a copy of Mulan PSL v1 at:
#
#   http://license.coscl.org.cn/MulanPSL
#
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR
# FIT FOR A PARTICULAR PURPOSE.
# See the Mulan PSL v1 for more details.
#

menu "Tcpip configuration"

config TCIP_AL_ENABLE
    bool "Enable the tcpip abstract layer"
    default y

if TCIP_AL_ENABLE

choice 
    prompt "please select one tcpip implement; if you have your self, please select none"
    
    config LWIP_ENABLE
        bool "lwip is for the tcpip"
    
    config RTK8710_ENABLE
        bool "we use RTK8710, and will select the at components"
        select AT_ENABLE
            
    config ESP8266_ENABLE
        bool  "we use esp8266, and will select the at components"    
        select AT_ENABLE
          
    config MACOSSOCKET_ENABLE
        bool "we use the macos socket ,and select the macos"
        select MACOS_ENABLE
               
    config LINUXSOCKET_ENABLE
        bool "we use the linux socket ,and will select the linux"
        select LINUXOS_ENABLE
             
    config NEW_SOCKET
        bool "we will create a new tcpip ourself"    
           
    endchoice
    
    if ESP8266_ENABLE
       rsource "./esp8266_socket/kconfig_esp8266"        
    endif
           
endif   
    
endmenu