Man, Jianting (Meco)
8b58577230
[ulog][rtc][time][bug] solve the interference when enable the ulog timestamp ( #5687 )
...
* [ulog] 解决ulog开启时间戳后与libc time以及rtc驱动相关函数干涉的问题
* ulog:当发生递归输出时,后续递归想要输出的内容可能会因为防范递归的判断而无法输出
因此修改输出规则,在发生递归时,采用简单的,无格式的方式直接输出。这样既保证不会发生递归输出,也可以保证递归输出的部分可以正常输出。
* [ulog] size_t->rt_size_t NULL->RT_NULL
2022-03-21 14:06:17 +08:00
Man, Jianting (Meco)
86a10716cd
优化ULOG_OUTPUT_FLOAT,避免使用内置libc的vsnprintf函数 ( #5632 )
2022-03-07 01:14:22 +08:00
WillianChan 陈威廉
4106c43753
[fix][components][utilities][var_export]replace the search algorithm and fix some problems ( #5611 )
...
* [fix][components][utilities]adjust the order of compiler macros
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
* [modify][components][utilities]This PR complies with RT-Thread code specification
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
* [fix][components][utilities][var_export]replace the search algorithm and fix some problems
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
* [modify][components][utilities][var_export]make the code more beautiful
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2022-02-23 23:55:27 +08:00
WillianChan 陈威廉
49ccbdb851
[fix][components][utilities]adjust the order of compiler macros ( #5593 )
...
* [fix][components][utilities]adjust the order of compiler macros
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
* [modify][components][utilities]This PR complies with RT-Thread code specification
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2022-02-14 14:03:34 +08:00
Man, Jianting (Meco)
d4b5555b7e
移除localtime_r多余的声明 ( #5590 )
2022-02-10 18:19:33 +08:00
guozhanxin
af702e048d
[ulog] Optimize code to improve readability.
2022-02-10 10:22:08 +08:00
guozhanxin
26c511475e
[ulog] Fixed the problem of abnormal log output at the INIT_BOARD_EXPORT level.
2022-02-10 10:22:08 +08:00
Meco Man
169fca84f7
[ymodem] silent warnings
2022-01-18 01:34:55 +08:00
liukangcc
3d2e23ec1c
[update] move dfs_posix.h to legacy/dfs/dfs_posix.h
2022-01-14 23:09:32 +08:00
Meco Man
f89a162ea3
[core] 使用rt_memcpy rt_memset代替memcpy memset
2022-01-09 00:23:18 +08:00
Meco Man
5187d75af5
[armclang] 使用__clang__代替__CLANG_ARM
2021-12-29 14:15:38 -05:00
Meco Man
ed09f38012
[libc] remove RT_USING_LIBC
2021-12-30 01:27:25 +08:00
Bernard Xiong
36d5154256
Merge pull request #5320 from mysterywolf/pse-master
...
[POSIX] move PSE branch to master
2021-12-05 13:16:39 +08:00
armink
4399aed641
fix build error.
2021-12-03 13:34:03 +08:00
armink
d8d15017bc
[ulog] Add ulog backend filter.
2021-12-03 12:04:20 +08:00
Meco Man
04d3d13081
替换宏定义
2021-11-30 10:39:40 -05:00
Meco Man
7c789d4b11
revise some RT_USING_POSIX to RT_USING_POSIX_DEVIO
2021-11-24 09:47:55 -05:00
rtthread-bot
a702763dbc
Merge remote-tracking branch 'rtt_gitee/gitee_master'
2021-10-15 08:20:37 +00:00
guo
39197b438d
Merge pull request #4885 from willianchanlovegithub/WillianChan
...
[add][components][utilities]Add the Var Export component
2021-10-11 11:02:14 +08:00
Bernard Xiong
e0c7371b02
Merge pull request #5114 from armink/fix_ulog
...
[utilities][ulog] Increase the usec check time.
2021-10-11 01:53:21 +08:00
armink
1f5a4ffe02
[utilities][ulog] Increase the usec check time.
2021-10-09 16:55:46 +08:00
shishirong
797c80a7cb
fix ulog compile error.
2021-10-08 10:03:01 +08:00
Meco Man
c360688714
使用poll.h代替dfs_poll.h
2021-09-11 11:56:54 -04:00
BernardXiong
51e0559631
[utest] fix libc issue
2021-09-11 18:34:13 +08:00
shishirong
ab86b7490d
fix Macro definition syntax error in ulog.c
2021-09-09 17:02:21 +08:00
WillianChan
e53ae3ddfa
[modify][components][utilities]check if the ve_exporter_num is out of bounds.
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2021-09-02 20:03:22 +08:00
WillianChan
4b2913a898
[modify][components][utilities]add qemu-a9 section information for var export and fix some problems.
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2021-09-02 18:06:38 +08:00
WillianChan
a3ef89071b
[modify][components][utilities]modify error code
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2021-08-31 17:32:34 +08:00
WillianChan
5a020de4e8
[modify][components][utilities]Modify the gcc section definition of a Var Export component
2021-08-31 17:23:48 +08:00
WillianChan
9f543f7065
[add][components][utilities]Add the Var Export component
...
Signed-off-by: WillianChan <willianchan_lovelife@foxmail.com>
2021-08-31 17:23:48 +08:00
Bernard Xiong
bd44c1e590
Merge pull request #4970 from cndabai/master
...
Remove C Style Command Shell
2021-08-25 19:03:52 +08:00
guozhanxin
9e558ab130
【utest】fix TC_FAIL_LIST_MARK_FAILED 下标计算错误的问题
2021-08-24 17:06:51 +08:00
马志远
221da7f464
Remove C Style Command Shell
2021-08-23 17:30:05 +08:00
guozhanxin
38f5fec63e
[utest] 完善代码,添加对tc_num的判断
2021-08-19 11:21:31 +08:00
梁林
a6bf03a0c8
多个ulog后端时不支持support_color后端的log指针偏移错误,导致保存到文件的日志出现乱码。
2021-08-19 09:13:16 +08:00
guozhanxin
4af99b0dca
[add] utest add fail_list.
2021-08-18 09:39:21 +08:00
Sherman
491524cb96
[components]rt-link v0.2.0 新特性:
...
1. service 通道增加【连接状态】属性
2. service 通道增加发送消息质量配置,ACK、CRC 可配置开关;
3. 发送接口支持阻塞、非阻塞两种发送方式;
4. 已对接到 device 框架,支持 rt_device 接口操作
5. 已对接到 DFS 框架,支持 POSIX 接口操作
6. 移除 hw_port 目录,改为软件包方式添加 hw_port
7. 修复已知 BUG
2021-08-12 18:10:49 +08:00
Bernard Xiong
0dc972bee6
Merge pull request #4707 from armink/fix_ulog
...
[ulog] Add output locker enabled API
2021-05-21 15:02:22 +08:00
Bernard Xiong
5fb709d72f
Merge pull request #4706 from mysterywolf/ymodem
...
[ymodem] 修改YMODEM_USING_FILE_TRANSFER功能的开启条件
2021-05-21 15:01:53 +08:00
armink
e0b9987508
[ulog] Add output locker enabled API
...
Signed-off-by: armink <armink.ztl@gmail.com>
2021-05-19 18:17:37 +08:00
Meco Man
4aaf52ae9e
[ymodem] 修改YMODEM_USING_FILE_TRANSFER功能的开启条件
...
目前开启的逻辑存在问题,ymodem的文件传输功能开启的前提是得有完整的文件系统,
但是目前,这个开启逻辑错了。
用户选择YMODEM_USING_FILE_TRANSFER功能后select DFS没有任何意义,因为除了需要依赖DFS之外还要依赖其他的例如FATFS,需要和SDIO适配等等等
正确的做法应该是用户配置好完整的文件系统后,ymodem文件传输才能有机会开启,
因此是depends on DFS 而非select DFS
更改之后,只要用户开启了文件系统,在选定YMODEM时,会自动开启文件传输功能,这也是用户希望看到的,直接一键搞定,不需要再多点一步
2021-05-19 12:59:33 +08:00
Sherman
21f9e56253
[add] add new component: rt-link
2021-05-15 16:52:49 +08:00
Bernard Xiong
e3c19a8463
Merge pull request #4601 from armink/fix_ulog
...
[ulog] Fix thread info show when kernel not startup.
2021-04-22 13:44:40 +08:00
Bernard Xiong
3fa35a398b
Update ulog.c
...
Use `rt_thread_self()` to determine whether the scheduler is started or not.
2021-04-19 06:50:58 +08:00
armink
2ea39b4f05
[ulog] Using gettimeofday for timestamp get.
2021-04-15 14:15:39 +08:00
armink
3ae6ca1fb0
[ulog] Fix thread info show when kernel not startup.
2021-04-15 14:10:27 +08:00
Meco Man
a6ac475df3
[ymodem] Check the file path's legitimacy of 'sy' command
2021-04-14 01:34:28 +08:00
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