xiao-mang
c359e93a9c
fix file mmap ( #8865 )
2024-04-28 15:21:02 +08:00
liYangYang
d30c8b340e
[drivers][ofw] Fixed fdt_scan_memory() memory adjustment bug ( #8853 )
...
* Fixed fdt memory adjustment bug
* Modify the memory adjustment logic
2024-04-27 18:25:42 +08:00
Troy
946dd264ed
Add comments for all functions in components/libc/posix/io/termios/termios.c
2024-04-26 23:13:27 -04:00
xiao-mang
75f41723cb
fix sys_getcwd ( #8852 )
2024-04-25 18:28:53 +08:00
zms123456
be97a8ef25
[components][dfs]remove duplicate lseek in devfs ( #8859 )
...
remove duplicate lseek in devfs
2024-04-25 18:28:43 +08:00
Shell
9e1a816f06
[smart] fix tty serial ioctl ( #8861 )
...
Using param callback to reduce unnecessary call.
Signed-off-by: Shell <smokewood@qq.com>
2024-04-25 18:21:32 +08:00
Troy
98a234d430
Add some comments in components/libc/posix/ipc/semaphore.c ( #8848 )
2024-04-24 05:46:43 +08:00
sp-cai
554632f1ee
[ipc] [dataqueue] 修复队列 pop 挂起的线程 push 无法恢复运行的错误 ( #8839 )
...
队列在 push 后查找挂起列表时使用了错误的挂起列表。
2024-04-22 20:20:35 +08:00
zms123456
5ca1e45020
[components][drivers]improve ktimer sleep ( #8838 )
...
improve ktimer sleep
2024-04-22 11:55:20 +08:00
latercomer
3ff2b08d82
[clang-format] 增加clang-format格式化配置,通过ide或者手动运行tools/run-clang-format.py进行代码自动格式化
2024-04-21 01:18:37 -04:00
Shell
732d32be09
[smart] fixup rt_hw_serial_unregister_tty of serial tty
...
Mutex lock should be taken before release the TTY device.
Signed-off-by: Shell <smokewood@qq.com>
2024-04-20 11:35:45 -04:00
latercomer
6bfe740f27
解决LOG_RAW异步输出多条文本的时候会被截断,原因是rt_vsnprintf会在字符串最后添加\0,ulog.c中的do_output()将\0也压入到ulog.async_rb,当LOG_RAW没有及时输出,那么rb中的字符串被\0截断了,导致没法正确输出LOG_RAW信息
2024-04-19 22:27:33 -04:00
xiao-mang
98204c249b
fix for art-pi smart
2024-04-19 18:17:20 +08:00
xiao-mang
4de96450be
fix for art-pi smart
2024-04-19 18:17:20 +08:00
xiao-mang
b50a53129f
fix chdir for ash's cd ( #8824 )
2024-04-19 17:58:04 +08:00
zmq
bbdfad93eb
Increased the limit on the number of messages
2024-04-18 21:51:42 -04:00
zms123456
0bcf5968c2
[components][drivers]delete nonexist include file
2024-04-16 22:15:51 -04:00
zms123456
96eabab698
[components][drivers]fix some uninitialize err ( #8806 )
...
fix some uninitialize err
2024-04-16 21:58:13 +08:00
zms123456
a68b4df4d8
[component][driver][serial/tty]using serial name to name tty
...
当使用新device model时,serial的名字由系统分配,id也由系统分配,此时应根据系统分配的serial id来作为serial-tty的id
2024-04-15 23:20:30 -04:00
zms123456
be699795f8
[components][drivers]close can irq before release fifo
...
原来的CAN close中先释放fifo后关闭CAN中断,可能导致释放fifo后且关闭CAN中断前来CAN中断,此时rt_hw_can_isr可能在RT_ASSERT(tx/rx_fifo != RT_NULL)断言失败
2024-04-15 23:17:06 -04:00
zms123456
6ad0b2bd09
[components][drivers]fix workqueue bug
...
fix workqueue bug
2024-04-15 23:15:37 -04:00
atwww
2cc88b6cf5
修复POSIX线程本地存储寻找posix线程句柄时的逻辑错误 ( #8790 )
...
* Add GCC generalized atomic operation function
* 修复POSIX线程本地存储寻找posix线程句柄时的逻辑错误
2024-04-15 23:13:24 +08:00
Shell
5730097296
[smart] fixup devfs porting layer of terminal ( #8797 )
...
Signed-off-by: Shell <smokewood@qq.com>
2024-04-15 18:24:19 +08:00
Eric LGF
58ecde786f
[ymodem] fix the cmd "sy" without close file
2024-04-13 08:11:31 -04:00
Yuqiang Wang
c6d20e47ac
[bsp][renesas] Add HMI rw007 initialization configuration by default
2024-04-13 13:32:30 +08:00
chinky
a2ab247d8f
[fal]修正类型不匹配
2024-04-12 19:00:41 -04:00
zms123456
d5e74be81d
[components][drivers][can]fix can warning in 64bit cpu ( #8772 )
...
fix can warning
2024-04-12 16:00:49 +08:00
geniusgogo
bdfa1ea20a
fix symlink ( #8755 )
...
Signed-off-by: geniusgogo <xpxyr@sina.com>
2024-04-10 23:55:29 +08:00
geniusgogo
651f23a604
[dfsv2] add dfs pwrite pread
2024-04-09 22:26:58 -04:00
Yuqiang Wang
d08ae0bfd1
[driver][soft-spi] spi device driver framework adds pin init function function
...
为什么提交这份PR (why to submit this PR)
ps:在设备初始化阶段不应该存在对硬件的操作
你的解决方案是什么 (what is your solution)
ps:添加一个pin_init函数,在spi设备使用时调用该函数来完成硬件引脚的状态初始化,而不是在设备初始化阶段对硬件进行操作,已经在瑞萨HMI上通过验证
2024-04-09 18:33:29 -04:00
Troy
5bb902895c
[libc] add some posix function comments
2024-04-09 18:11:34 -04:00
zms123456
cbf316a5f7
[components][drivers]fix compile warning in 64 bits arch cpu ( #8739 )
...
fix compile warning in 64 bits arch
2024-04-09 21:38:10 +08:00
Shell
4b0f42c24a
[drivers/serial] Introduce hooker for TTY ( #8733 )
...
In this patch, a hook list has been introduced to address the concerns
regarding coupling issues arising from modifications to the serial code
for integrating TTY logic.
Signed-off-by: Shell <smokewood@qq.com>
2024-04-09 21:36:16 +08:00
zms123456
4ffcbfef2a
[components][drivers]add ofw support i2c
2024-04-07 09:57:38 -04:00
Meco Man
545155616d
[iar] fix legacy macros will be added if cannot get the IAR version
2024-04-06 23:37:32 -04:00
zhao maosheng
687eb87a2b
fix: code format of serial.c and compile error in aarch64 context_gcc
2024-04-02 08:07:21 -04:00
Troy
3a4db99104
[libc][posix/io] add comments
2024-04-01 23:18:15 -04:00
zms123456
d856f77a55
[components][drivers] fix posix tty, and add more baudrate ( #8683 )
...
* serial-tty fix
* v2
2024-04-01 21:23:04 +08:00
Meco Man
1bf8a460e7
[finsh] remove finsh_syscall_lookup() function declaration
2024-03-31 20:31:35 -04:00
Meco Man
a4204c61bd
[devcie][pwm] fix warnings
2024-03-31 07:38:00 +08:00
Shell
864055bf18
[fixup] aarch64 UMP compiler error ( #8677 )
...
Signed-off-by: Shell <smokewood@qq.com>
2024-03-30 17:58:38 +08:00
Meco Man
6d1bc9b2f8
[msh] add comment for secondary-commands
...
新增加的二级命令使用方式没有清晰的描述
- 功能实现PR:https://github.com/RT-Thread/rt-thread/pull/8086
- 补充优化PR:https://github.com/RT-Thread/rt-thread/pull/8251
- 使用二级命令的例子:https://github.com/RT-Thread/rt-thread/pull/8398
- 相关issue:https://github.com/RT-Thread/rt-thread/issues/8691
2024-03-30 02:48:54 -04:00
geniusgogo
99245a1a8f
fix pin ofw variable init.
2024-03-29 21:48:31 +08:00
Troy
7e492fc37c
Add comments for all functions in components/libc/posix/io/eventfd/eventfd.c
2024-03-28 21:28:46 -04:00
Shell
83e95bdff4
sync smart & dfs ( #8672 )
...
Signed-off-by: xqyjlj <xqyjlj@126.com>
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-03-28 23:42:56 +08:00
Troy
56fd6984ac
Fix the issue of incorrect return of invalid parameters in aio_write
2024-03-27 22:58:54 -04:00
Meco Man
e0f2313c53
[msh] solve data access bugs and fix shell.c strcat()
...
When using musl libc's strcat, strcat itself will cause system crash.
2024-03-27 18:40:56 -04:00
Troy
51d4a9c804
Fix epoll.c file format error
2024-03-26 17:42:01 -04:00
Troy
9fc7c7569b
Fix incorrect naming of triggered
2024-03-26 17:42:01 -04:00
Troy
46d6036c28
modified: components/libc/posix/io/aio/aio.c Added some function comments
...
modified: components/libc/posix/io/aio/aio.h Align comments within the aiocb structure
modified: components/libc/posix/io/epoll/epoll.c Add comments for all functions and members within structure members
2024-03-26 17:42:01 -04:00