summaryrefslogtreecommitdiff
path: root/components
AgeCommit message (Collapse)Author
2024-05-10remove intr disablezhao maosheng
2024-05-10add percpu interrupt infozhao maosheng
2024-05-10[smart] fixup arm64 aspace switch (#8925)Shell
* [smart] fixup arm64 aspace switch Signed-off-by: Shell <[email protected]> * fixup: arm add arch_kernel_mmu_table_get --------- Signed-off-by: Shell <[email protected]>
2024-05-09fix_serial_baudrate_setgeniusgogo
2024-05-08[ipc] support of lockless rt_completion (#8887)Shell
* [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 <[email protected]> * fixup: error * remove useless changes --------- Signed-off-by: Shell <[email protected]>
2024-05-08[libcpu/arm64] dealing with mem region out of kernel space (#8847)Shell
* [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 <[email protected]> * fixup: restrict vstart for using of RT_NULL --------- Signed-off-by: Shell <[email protected]>
2024-05-07fix_serial_baudrate_setgeniusgogo
Signed-off-by: geniusgogo <[email protected]>
2024-05-01[kernel] add rt_thread_close()Shell
* [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 <[email protected]>
2024-04-30Add comments for all functions in components/libc/posix/ipc/mqueue.cTroy
2024-04-29[i2c] adjust the timing for I2C initializationLZerro
2024-04-29[components][drivers] added sensor device lookup functionyiyi
2024-04-29fix baudrate error (#8873)xiao-mang
* 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-28fix file mmap (#8865)xiao-mang
2024-04-27[drivers][ofw] Fixed fdt_scan_memory() memory adjustment bug (#8853)liYangYang
* Fixed fdt memory adjustment bug * Modify the memory adjustment logic
2024-04-26Add comments for all functions in components/libc/posix/io/termios/termios.cTroy
2024-04-25fix sys_getcwd (#8852)xiao-mang
2024-04-25[components][dfs]remove duplicate lseek in devfs (#8859)zms123456
remove duplicate lseek in devfs
2024-04-25[smart] fix tty serial ioctl (#8861)Shell
Using param callback to reduce unnecessary call. Signed-off-by: Shell <[email protected]>
2024-04-24Add some comments in components/libc/posix/ipc/semaphore.c (#8848)Troy
2024-04-22[ipc] [dataqueue] 修复队列 pop 挂起的线程 push ↵sp-cai
无法恢复运行的错误 (#8839) 队列在 push 后查找挂起列表时使用了错误的挂起列表。
2024-04-22[components][drivers]improve ktimer sleep (#8838)zms123456
improve ktimer sleep
2024-04-21[clang-format] ↵latercomer
增加clang-format格式化配置,通过ide或者手动运行tools/run-clang-format.py进行代码自动格式化
2024-04-20[smart] fixup rt_hw_serial_unregister_tty of serial ttyShell
Mutex lock should be taken before release the TTY device. Signed-off-by: Shell <[email protected]>
2024-04-19解决LOG_RAW异步输出多条文本的时候会被截断,原因是rt_vsn ↵latercomer
printf会在字符串最后添加\0,ulog.c中的do_output()将\0也压入到ulog.async_rb,当LOG_RAW没有及时输出,那么rb中的字符串被\0截断了,导致没法正确输出LOG_RAW信息
2024-04-19fix for art-pi smartxiao-mang
2024-04-19fix for art-pi smartxiao-mang
2024-04-19fix chdir for ash's cd (#8824)xiao-mang
2024-04-18Increased the limit on the number of messageszmq
2024-04-16[components][drivers]delete nonexist include filezms123456
2024-04-16[components][drivers]fix some uninitialize err (#8806)zms123456
fix some uninitialize err
2024-04-15[component][driver][serial/tty]using serial name to name ttyzms123456
当使用新device model时,serial的名字由系统分配,id也由系统分配,此时应根据系统分配的serial id来作为serial-tty的id
2024-04-15[components][drivers]close can irq before release fifozms123456
原来的CAN close中先释放fifo后关闭CAN中断,可能导致释放fifo后且关闭CAN中断前来CAN中断,此时rt_hw_can_isr可能在RT_ASSERT(tx/rx_fifo != RT_NULL)断言失败
2024-04-15[components][drivers]fix workqueue bugzms123456
fix workqueue bug
2024-04-15修复POSIX线程本地存储寻找posix线程句柄时的逻辑错误 (#8790)atwww
* Add GCC generalized atomic operation function * 修复POSIX线程本地存储寻找posix线程句柄时的逻辑错误
2024-04-15[smart] fixup devfs porting layer of terminal (#8797)Shell
Signed-off-by: Shell <[email protected]>
2024-04-13[ymodem] fix the cmd "sy" without close fileEric LGF
2024-04-13[bsp][renesas] Add HMI rw007 initialization configuration by defaultYuqiang Wang
2024-04-12[fal]修正类型不匹配chinky
2024-04-12[components][drivers][can]fix can warning in 64bit cpu (#8772)zms123456
fix can warning
2024-04-10fix symlink (#8755)geniusgogo
Signed-off-by: geniusgogo <[email protected]>
2024-04-09[dfsv2] add dfs pwrite preadgeniusgogo
2024-04-09[driver][soft-spi] spi device driver framework adds pin init function functionYuqiang Wang
为什么提交这份PR (why to submit this PR) ps:在设备初始化阶段不应该存在对硬件的操作 你的解决方案是什么 (what is your solution) ps:添加一个pin_init函数,在spi设备使用时调用该函数来完成硬件引脚的状态初始化,而不是在设备初始化阶段对硬件进行操作,已经在瑞萨HMI上通过验证
2024-04-09[libc] add some posix function commentsTroy
2024-04-09[components][drivers]fix compile warning in 64 bits arch cpu (#8739)zms123456
fix compile warning in 64 bits arch
2024-04-09[drivers/serial] Introduce hooker for TTY (#8733)Shell
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 <[email protected]>
2024-04-07[components][drivers]add ofw support i2czms123456
2024-04-06[iar] fix legacy macros will be added if cannot get the IAR versionMeco Man
2024-04-02fix: code format of serial.c and compile error in aarch64 context_gcczhao maosheng
2024-04-01[libc][posix/io] add commentsTroy
2024-04-01[components][drivers] fix posix tty, and add more baudrate (#8683)zms123456
* serial-tty fix * v2