add more files

This commit is contained in:
wmano
2025-08-30 23:48:55 +08:00
parent e26e47548f
commit 050eb19fc8
33 changed files with 820 additions and 479 deletions
+9 -4
View File
@@ -2,13 +2,18 @@
#define __CHRG_SOUTH_H__
#include <rtthread.h>
#include "chrg_tty.h"
#define THRED_NAME_SOUTH "thr_sou"
#define THR_NAME_SOUTH "thr_sou"
struct chrg_south_t {
rt_thread_t tid;
const char *name;
const char *name;
struct rt_thread *tid;
struct rt_mutex lock;
struct chrg_tty_t *tty;
rt_uint16_t rx_len;
rt_uint8_t rx_buf[SIZE_BUF_UART];
};
extern struct chrg_south_t chrgsou;