Meco Man
3c05a4e719
[compoenets] auto & manual formatted
2021-03-08 18:19:04 +08:00
iysheng
0b2212f773
[components][ulog] Add support with timestamp print in function ulog_hexdump
2021-03-02 12:11:19 +08:00
liruncong
0208fc5546
[components]SECTION=>RT_SECTION(与catch2中SECTION冲突)
2021-02-09 23:25:46 +08:00
chenyong
cddf947863
[utilities][ulog] Add LOG_RAW ringbuffer to fix printing line limit issue
...
Signed-off-by: chenyong <chenyong@rt-thread.com>
2021-02-01 11:22:05 +08:00
chenyong
43b1daf325
[utilities][ulog] fix ulog backend color log length calculation error
...
Signed-off-by: chenyong <chenyong@rt-thread.com>
2021-01-21 18:58:57 +08:00
chenyong
87b5f3f51e
[components][utilities][ulog] Add backend filtering interface, add async log output control interface, ulog mutex change to semaphore
...
Signed-off-by: chenyong <chenyong@rt-thread.com>
2021-01-20 11:20:30 +08:00
yangjie
ef62febf1f
[SConscript]update group name
2020-12-19 16:49:11 +08:00
yangjie11
91261e25b9
[SConscript]rename group name
2020-11-20 13:38:11 +08:00
michael
3f3ff458ed
ulog:fixed compile err
...
syslog.c:154:34: error: unknown type name 'uint8_t'
2020-09-04 11:15:02 +08:00
michael
4bf1535c42
utest:fixed compile err
2020-08-29 22:45:22 +08:00
teh-c
d5e03ad5d1
rt_snprintf多了个参数。
2020-07-03 17:10:43 +08:00
Chinese66
2822ec377d
Update ry_sy.c
...
修改了读取不到文件大小,导致的文件传输的问题,问题说明在
https://www.rt-thread.org/qa/forum.php?mod=viewthread&tid=423781
2020-03-11 11:56:35 +08:00
a1012112796
73cae9564b
[ULOG] fix raw size bug for backend which don't suport color
2020-01-07 11:22:26 +08:00
任光伟
9893f64610
ulogbuffer增加1,为\0预留空间
...
Signed-off-by: RGW <rgw5267@gmail.com>
2019-12-23 10:49:01 +08:00
Bernard Xiong
457759ded7
[Util] fix the dependence of file feature in ymodem
2019-12-17 13:38:49 +08:00
Steven Liu
3c5f46468c
[components]: utilities: ymodem: Add ry_sy function.
...
Use "ry" to receive files and use "sy file_path" to
send files. Default console uart and you can choose
any other uart if you want.
Signed-off-by: Steven Liu <steven.liu@rock-chips.com>
2019-12-13 11:49:53 +08:00
armink
e59339e4b8
[components] remove libc dependency in ulog and RTC driver.
2019-11-14 18:09:55 +08:00
chenyong
2b50d3d32c
[components][finsh] Decouple RT_USING_DEVICE dependency for msh feature
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-25 20:14:39 +08:00
liruncong
7953cdfae3
[components/utilities/utest]修正无测试用例时,执行utest_run时跑飞问题. utest_init增加__CLANG_ARM编译开关判断
2019-09-14 22:44:44 +08:00
armink
8feb6af992
[component/ulog] Fix ulog hexdump show issue.
2019-08-03 16:52:37 +08:00
tyustli
a559179e6f
fix cpp thread class error
2019-06-24 15:59:26 +08:00
armink
11b0c65921
[components][ulog] Make the asynchronous log output more timely.
2019-05-16 09:55:35 +08:00
armink
415d12220b
[components][ulog] Fix the log length error when using multiple non-color backends.
2019-05-15 08:57:45 +08:00
yangjie
36c78e5480
[components/utilities]delete log_trace,remove log_trace menu from Kconfig
2019-04-23 14:00:18 +08:00
armink
fa4d4ab7cf
Update all of debug log definition to DBG_TAG and DBG_LVL.
2019-04-12 10:18:57 +08:00
MurphyZhao
e5c5215917
[components/utilities/utest] 增加测试运行测试打印
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-03-19 14:27:39 +08:00
armink
584593071e
[component][ulog] Fixed the thread name output.
2019-03-09 15:49:32 +08:00
armink
0d7ba79219
Remove the DBG_COLOR and DBG_ENABLE definition.
2019-03-06 17:54:30 +08:00
zylx
e2c0749d04
[components][ymodem]ymodem 握手阶段增加延时,防止数据接收不全
2019-02-21 11:09:41 +08:00
MurphyZhao
e3546a5043
[components][utest] 增加 utest_help,用于输出帮助信息
...
[components][utest] 对于不支持的测试用例,增加输出日志
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-02-15 12:04:36 +08:00
MurphyZhao
a305c6cca9
[components][utest] utest_run 增加 loop 功能,方便持续运行单一一个测试用例;
...
[components][utest] utest_run 指定测试用例名字的时候,增加通配符 `*` 的支持,及支持仅指定测试用例名字的前部分字节来运行测试用例。该功能会执行匹配成功的所有测试用例。
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-02-14 15:28:56 +08:00
MurphyZhao
0dc7b9a5a2
[components][utest] utest 延时启动
...
在使用 utest 的线程模式的时候,utest_run 命令执行完成后,finsh 会输出 `msh >`,干扰了 utest 内部的日志结构,因此默认在 utest 启动前增加延时。
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-02-14 12:03:29 +08:00
MurphyZhao
82f022f6f0
[components][utest] 增加 utest 线程模式
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-02-13 14:37:08 +08:00
Bernard Xiong
14fd4e34a9
Merge pull request #2249 from PiscesLyn/patch-2
...
ymodem support multiple files transmission
2019-01-30 09:12:40 +08:00
MurphyZhao
655c4ad36b
[component][utest] 增加 utest 日志输出级别配置,提供 ASSERT 和 ALL 两个级别,便于测试用例控制 log 输出
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-25 17:25:29 +08:00
MurphyZhao
f9e5d87c98
[components][utest] 将 utest_assert.h 加入 utest.h,以后测试用例仅需要包含 utest.h
...
[components][utest] 增加 buf 类型的字节比较 assert 宏
[components][utest] 修复错误日志打印的输出类型为 ERR 级别
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-22 15:46:12 +08:00
Lyn
626d0e9e06
ymodem support multiple files transmission
2019-01-22 13:58:59 +08:00
MurphyZhao
5ea985d0fb
[components][utilities/ulog] 修改 ulog_console_backend_init 从 `INIT_COMPONENT_EXPORT` 修改为 `INIT_PREV_EXPORT` 级别的自动初始化,与 ulog_init 同级
...
目的是为了组件初始化中的其他模块可以使用 ulog 输出日志。
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-04 18:59:51 +08:00
朱天龙 (Armink)
c7daacc96f
[component][ulog] Fix the ulog_strcpy function.
2019-01-03 15:31:04 +08:00
Bernard Xiong
dcf7bce2cc
Merge pull request #2041 from zhaojuntao/utest-dev
...
[components][utilities] 增加 utest(单元测试框架)
2018-12-12 12:55:36 +08:00
MurphyZhao
bce7f85907
[components/utilities/utest] 移除不那么必要的日志接口 redefine
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-08 15:01:08 +08:00
MurphyZhao
98b10877e7
[components/utilities/utest] 修复 gcc 编译警告
...
[components/utilities/utest] 移除组件的版本号
[components/utilities/utest] 优化 basename 函数的处理
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-08 14:48:54 +08:00
MurphyZhao
51b17a15e4
[components/utilities/utest] 完善代码,增加注释
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-06 18:59:13 +08:00
MurphyZhao
8824b2ca77
[components/utilities] [Kconfig] 增加 kconfig RT_USING_UTEST 配置
...
[components/utilities] [utest] 增加 testcase 运行超时时间参数
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-06 17:13:14 +08:00
MurphyZhao
0759b66eb9
【更新】components/utilities/utest 增加 SConscript depend
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-05 18:07:03 +08:00
MurphyZhao
1ecf6cbc7c
【更新】utest gcc 链接符
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-05 14:53:37 +08:00
HubretXie
81cd4d4f4b
Update ulog.h
...
增加LOG_HEX
2018-12-04 09:10:52 +08:00
HubretXie
fa06299637
Update ulog_def.h
...
增加log_hex
2018-12-04 09:09:58 +08:00
MurphyZhao
85d275b399
[components/utilities][add] 增加测试框架 utest 代码
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-30 16:13:17 +08:00
Dahua1992
0df270bfc5
add #include <sys/time.h>
...
原因tm = gmtime_r(&now, &tm_tmp);报错
2018-11-13 10:55:05 +08:00