Meco Man
f58d3c5200
rt_device_write/read return data type as rt_ssize_t
...
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
Bernard Xiong
98e0c58527
Add ADT Kconfig and fix MMU kconfig issue in Cortex-A ( #6901 )
...
* Add ADT Kconfig and fix MMU kconfig issue in Cortex-A
* [BSP] enable ADT
2023-02-06 01:11:04 +08:00
wdfk-prog
da0c8a6d0a
[Ymodem]sy命令支持绝对路径传输
...
* 接收错误流程优化
2023-01-22 20:07:03 -05:00
Meco Man
9bc68d26a4
format Kconfig and sconscript
2023-01-08 22:52:13 -05:00
Shell
7450ef6c4d
[rt-smart] kernel virtual memory management layer ( #6809 )
...
synchronize virtual memory system works.
adding kernel virtual memory management layer for page-based MMU enabled architecture
porting libcpu MMU codes
porting lwp memory related codes
2023-01-08 21:08:55 -05:00
Meco Man
e97ba95f71
[libc][unistd.h] define F_OK
2023-01-02 15:01:20 -05:00
wdfk-prog
f4c08cfe36
修改printf格式“%-*.s”为“%-*.*s
2022-12-22 22:51:24 -05:00
Man, Jianting (Meco)
99bdf978d7
[rtdef] use lower-case to define attributes ( #6728 )
...
* [rtdef] rename RT_WEAK attribute as rt_weak
* [rtdef] rename RT_USED attribute as rt_used
* [rtdef] rename RT_SECTION attribute as rt_section
* [rtdef] rename ALIGN attribute as rt_align
* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-11 13:12:03 -05:00
wdfk-prog
f54f2c2c91
[ymodem]添加传输过程中的异常处理流程
2022-12-05 23:07:27 -05:00
guo
ecf2d82159
sync branch rt-smart. ( #6641 )
...
* Synchronize the code of the rt mart branch to the master branch.
* TTY device
* Add lwP code from rt-smart
* Add vnode in DFS, but DFS will be re-write for rt-smart
* There are three libcpu for rt-smart:
* arm/cortex-a, arm/aarch64
* riscv64
Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00
Maihuanyi
de1d6dbc0e
ymodem of send error ( #6535 )
...
* modified ymodem.c to solve ymodem send file error
* modified ry_sy.c to solve send file error of file data
* Update ry_sy.c
Co-authored-by: guo <guozhanxin@rt-thread.com>
2022-10-23 22:33:31 -04:00
朱天龙 (Armink)
35c7dd6aba
[ulog] fix HEX log size calculate error.
2022-10-10 08:47:41 -04:00
朱天龙 (Armink)
a48f446a0f
[components][utilities][ulog] Improve the HEX LOG by new formater. ( #6490 )
...
- 重构格式化器
- 重写 HEX 日志功能,与标准日志使用相同的格式化器。与标准日志在日志过滤功能和日志头显示功能上一致
2022-10-08 22:33:10 -04:00
Tangyuxin
ca30428cee
修复低概率终端无法输入问题 ( #6464 )
...
* [ulog] Fix the problem that the terminal cannot input
* [mem] Fix NULL pointer access
2022-09-27 11:11:29 +08:00
wdfk-prog
a4bd223e20
修改Ymodem组件中MSH的ry命令,已便于自定义保存路径 ( #6433 )
...
* 修改ry命令,已便于自定义保存路径
* modified: components/utilities/ymodem/ry_sy.c
2022-09-20 10:31:34 -04:00
Tangyuxin
a4829b1c00
[fix] Fix simulator compilation warnings ( #6438 )
...
* [fix] Fix simulator compilation warnings
* Update bsp/simulator/rtconfig_project.h
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-09-20 10:31:11 -04:00
Meco Man
c33289ace7
[ymodem] move error codes to rym_code to silence warnings
2022-08-04 01:50:04 -04:00
tyx
1579f0c02b
[components][var_export] 添加获取长度及二分查找功能
2022-08-01 23:11:13 -04:00
tyx
4f342456b3
[ulog] Optimize unnecessary refresh
2022-05-25 10:05:41 +08:00
thewon86
f5b0bfd3f4
uniform code writing-disable interrupt
2022-04-20 14:22:43 +08:00
tyx
556b14ed47
[components][ulog] Add file backend
2022-04-06 16:05:45 +08:00
tyx
b80f581562
[compilers] Fix c/c++ compilation warnings and errors
2022-04-06 10:27:38 +08:00
guozhanxin
61f1f698ec
Fixed the issue LOG_HEX no output at asyn mode.
2022-03-26 21:58:49 +08:00
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