move serial_helper to tkc

This commit is contained in:
lixianjing 2023-09-23 10:21:36 +08:00
parent f72e8c799f
commit 4997cac418
13 changed files with 12 additions and 12 deletions

View File

@ -1,5 +1,8 @@
# 最新动态
2023/09/23
* 将serial_helper.c/.h移动到tkc目录。
2023/09/21
* 修改scroll\_view在children\_layout中设置ym垂直间距时底部没有间距的bug并在demouiold添加演示(感谢颖健提供补丁)
* 完善serial\_open的注释(感谢俊杰提供补丁)

View File

@ -26,7 +26,7 @@
#include "base/main_loop.h"
#include "serial_widget.h"
#include "streams/serial/serial_helper.h"
#include "tkc/serial_helper.h"
#include "streams/serial/iostream_serial.h"
static ret_t serial_widget_apply_props(widget_t* widget);

View File

@ -24,7 +24,7 @@
#include "tkc/fs.h"
#include "tkc/iostream.h"
#include "streams/serial/serial_helper.h"
#include "tkc/serial_helper.h"
BEGIN_C_DECLS

View File

@ -20,7 +20,6 @@
*/
#include "tkc/mem.h"
#include "streams/serial/serial_helper.h"
#include "streams/serial/istream_serial.h"
static int32_t tk_istream_serial_read(tk_istream_t* stream, uint8_t* buff, uint32_t max_size) {

View File

@ -24,7 +24,7 @@
#include "tkc/fs.h"
#include "tkc/istream.h"
#include "streams/serial/serial_helper.h"
#include "tkc/serial_helper.h"
BEGIN_C_DECLS

View File

@ -20,7 +20,6 @@
*/
#include "tkc/mem.h"
#include "streams/serial/serial_helper.h"
#include "streams/serial/ostream_serial.h"
static int32_t tk_ostream_serial_write(tk_ostream_t* stream, const uint8_t* buff,

View File

@ -24,7 +24,7 @@
#include "tkc/fs.h"
#include "tkc/ostream.h"
#include "streams/serial/serial_helper.h"
#include "tkc/serial_helper.h"
BEGIN_C_DECLS

View File

@ -1,8 +1,8 @@
#include "tkc/utils.h"
#include "tkc/platform.h"
#include "tkc/socket_helper.h"
#include "tkc/serial_helper.h"
#include "streams/serial/iostream_serial.h"
#include "streams/serial/serial_helper.h"
#define TEST_READ_LEN 1

View File

@ -6,7 +6,7 @@
#include "tkc/platform.h"
#include "streams/serial/iostream_serial.h"
#include "tkc/socket_helper.h"
#include "streams/serial/serial_helper.h"
#include "tkc/serial_helper.h"
void do_echo(tk_iostream_t* iostream) {
int32_t ret = 0;

View File

@ -5,9 +5,8 @@
#include "tkc/fs.h"
#include "tkc/mem.h"
#include "tkc/platform.h"
#include "streams/serial/iostream_serial.h"
#include "tkc/socket_helper.h"
#include "streams/serial/serial_helper.h"
#include "streams/serial/iostream_serial.h"
void do_send(tk_iostream_t* iostream, const char* filename) {
int32_t ret = 0;

View File

@ -37,7 +37,7 @@
#include "tkc/time_now.h"
#include "tkc/socket_pair.h"
#include "tkc/socket_helper.h"
#include "streams/serial/serial_helper.h"
#include "tkc/serial_helper.h"
#ifdef WIN32
#define prefix L"\\\\.\\"

View File

@ -1,4 +1,4 @@
#include "streams/serial/serial_helper.h"
#include "tkc/serial_helper.h"
#include "gtest/gtest.h"
TEST(SerialHelper, stopbits) {