Shell
f2d6325b43
[smart] select console device dynamically ( #8949 )
...
* [smart] select console device dynamically
- Fixed compiler warning on terminal subsystem for
`components/lwp/terminal/terminal.h`
- Updated default console setup to dynamically select an appropriate tty
device based on the configured console device name.
Signed-off-by: Shell <smokewood@qq.com>
* fixup: remove useless codes
---------
Signed-off-by: Shell <smokewood@qq.com>
2024-05-17 13:19:00 +08:00
xiao-mang
e46333496f
fix specified network card not taking effect with msh's ping error ( #8937 )
...
* fix specified network card not taking effect with msh's ping error
* fix specified network card not taking effect with msh's ping error
2024-05-16 15:43:50 +08:00
zms123456
ed002bb84a
[drivers][serial]fix error in getting serial_tty settings ( #8953 )
...
fix error in getting serial_tty settings
2024-05-16 15:36:16 +08:00
liYangYang
78bdf67ab2
[drivers][ofw] fix ofw_alias_scan() bug ( #8908 )
...
* fix ofw_alias_scan() bug
* fix tag_len
2024-05-13 20:56:32 +08:00
atwww
b421b4e1f4
修复C++11 thread_local对象析构函数与实际内存释放动作顺序相反问题
2024-05-11 13:50:02 -04:00
zms123456
151a96cb88
[components][drivers]fix compiler error in serial dm ( #8927 )
...
fix compiler error in serial dm
2024-05-11 11:16:26 +08:00
Shell
989cc61f48
[hrtimer] fixup use-after-free ( #8928 )
...
Signed-off-by: Shell <smokewood@qq.com>
2024-05-11 08:53:42 +08:00
zhao maosheng
5dba9a4214
remove intr disable
2024-05-10 14:39:53 +08:00
zhao maosheng
e2214cc899
add percpu interrupt info
2024-05-10 14:39:53 +08:00
Shell
017b2a5a44
[smart] fixup arm64 aspace switch ( #8925 )
...
* [smart] fixup arm64 aspace switch
Signed-off-by: Shell <smokewood@qq.com>
* fixup: arm add arch_kernel_mmu_table_get
---------
Signed-off-by: Shell <smokewood@qq.com>
2024-05-10 09:17:19 +08:00
geniusgogo
79b3d5ec1e
fix_serial_baudrate_set
2024-05-09 00:35:46 -04:00
Shell
48bd0e49f2
[ipc] support of lockless rt_completion ( #8887 )
...
* [ipc] lockless rt_completion implementation
The new rt_completion implemented by lockless algorithm can improve timer resolution for up to ~12%, compare to sem IPC.
Signed-off-by: Shell <smokewood@qq.com>
* fixup: error
* remove useless changes
---------
Signed-off-by: Shell <smokewood@qq.com>
2024-05-08 09:25:57 +08:00
Shell
9ba6cec663
[libcpu/arm64] dealing with mem region out of kernel space ( #8847 )
...
* [ofw] dealing with mem region out of kernel space
- Fix parameter checking in _out_of_range() that NULL is excluded for
fixed mapping
- Split page install with a deferred stage to avoid mapping over
ARCH_EARLY_MAP_SIZE
Signed-off-by: Shell <smokewood@qq.com>
* fixup: restrict vstart for using of RT_NULL
---------
Signed-off-by: Shell <smokewood@qq.com>
2024-05-08 09:23:31 +08:00
geniusgogo
02e0334ac3
fix_serial_baudrate_set
...
Signed-off-by: geniusgogo <xpxyr@sina.com>
2024-05-07 19:03:14 -04:00
Shell
2c9b7c10b9
[kernel] add rt_thread_close()
...
* [thread] Add rt_thread_close()
This patch introduces a new function `rt_thread_close()` to enhances the
usability and maintainability by providing a dedicated mechanism for
closing threads.
- A new function `rt_thread_close()` is added to the API, providing a
standardized approach for closing threads.
- The `rt_thread_close()` function removes a thread from the thread
queue, updates its status to indicate closure, and performs the thread
timer detaching which is a embedded timer in thread object.
- Additionally, the `rt_thread_detach()` function is modified to utilize
`rt_thread_close()` internally, streamlining the thread detachment
process.
Signed-off-by: Shell <smokewood@qq.com>
2024-05-01 00:49:09 -04:00
Troy
1d2fde8d73
Add comments for all functions in components/libc/posix/ipc/mqueue.c
2024-04-30 01:08:36 -04:00
LZerro
f190cba0ab
[i2c] adjust the timing for I2C initialization
2024-04-29 20:46:12 -04:00
yiyi
4c9d3be98a
[components][drivers] added sensor device lookup function
2024-04-29 17:54:13 -04:00
xiao-mang
b586889216
fix baudrate error ( #8873 )
...
* fix baudrate error
* fix baudrate error
* fix baudrate error
* fix baudrate error
* fix baudrate error
* fix baudrate error
* fix baudrate error
* fix baudrate error
* fix baudrate error
2024-04-29 18:00:34 +08:00
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