remove the uart_rx_lock in AT framework,update tos version to 2.2.1

This commit is contained in:
mculover666
2021-04-13 20:50:48 +08:00
parent 8bc0b76112
commit 3fc92b3c91
7 changed files with 63 additions and 19 deletions

View File

@@ -9,6 +9,7 @@
//#define USE_EC200S
//#define USE_AIR724
//#define USE_L610
//#define USE_EC600S
#ifdef USE_ESP8266
#include "esp8266.h"
@@ -38,6 +39,10 @@
#include "l610.h"
#endif
#ifdef USE_EC600S
#include "ec600s.h"
#endif
#define TCP_TEST_TASK0_STK_SIZE 4096
void tcp_test0(void);
osThreadDef(tcp_test0, osPriorityNormal, 1, TCP_TEST_TASK0_STK_SIZE);
@@ -114,6 +119,8 @@ void application_entry(void *arg)
air724_sal_init(HAL_UART_PORT_0);
#elif defined(USE_L610)
l610_sal_init(HAL_UART_PORT_0);
#elif defined(USE_EC600S)
ec600s_sal_init(HAL_UART_PORT_0);
#endif
socket_id_0 = tos_sal_module_connect("117.50.111.72", "8080", TOS_SAL_PROTO_TCP);