mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
move serial_helper to tkc
This commit is contained in:
parent
f72e8c799f
commit
4997cac418
@ -1,5 +1,8 @@
|
||||
# 最新动态
|
||||
|
||||
2023/09/23
|
||||
* 将serial_helper.c/.h移动到tkc目录。
|
||||
|
||||
2023/09/21
|
||||
* 修改scroll\_view在children\_layout中设置ym垂直间距时,底部没有间距的bug,并在demouiold添加演示(感谢颖健提供补丁)
|
||||
* 完善serial\_open的注释(感谢俊杰提供补丁)
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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"\\\\.\\"
|
@ -1,4 +1,4 @@
|
||||
#include "streams/serial/serial_helper.h"
|
||||
#include "tkc/serial_helper.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
TEST(SerialHelper, stopbits) {
|
||||
|
Loading…
Reference in New Issue
Block a user