feat support webserver function include net_4g/net_lora for xishutong-arm32, compile OK

This commit is contained in:
Liu_Weichao
2023-12-22 15:14:20 +08:00
parent e7047a752d
commit e292ce2fc8
93 changed files with 24135 additions and 142 deletions

View File

@@ -1,8 +1,16 @@
config ADAPTER_EC200T
bool "Using 4G adapter device EC200T"
default y
default n
if ADAPTER_EC200T
source "$APP_DIR/Framework/connection/4g/ec200t/Kconfig"
endif
config ADAPTER_EC200A
bool "Using 4G adapter device EC200A"
default n
if ADAPTER_EC200A
source "$APP_DIR/Framework/connection/4g/ec200a/Kconfig"
endif

View File

@@ -0,0 +1,10 @@
config ADAPTER_4G_EC200A
string "EC200A adapter name"
default "ec200a"
if ADD_XIZI_FEATURES
config ADAPTER_EC200A_DRIVER
string "EC200A device uart driver path"
default "/dev/usart6_dev6"
endif

View File

@@ -0,0 +1,3 @@
SRC_FILES := ec200a.c
include $(KERNEL_ROOT)/compiler.mk

View File

@@ -0,0 +1,24 @@
/*
* Copyright (c) 2020 AIIT XUOS Lab
* XiUOS is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
* http://license.coscl.org.cn/MulanPSL2
* 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 v2 for more details.
*/
/**
* @file ec200a.c
* @brief Implement the connection 4G adapter function, using EC200A device
* @version 3.0
* @author AIIT XUOS Lab
* @date 2023.12.22
*/
#include <adapter.h>
#include <at_agent.h>