rt-thread
rt-thread copied to clipboard
RT-Thread is an open source IoT real-time operating system (RTOS).
### RT-Thread Version master ### Hardware Type/Architectures all ### Develop Toolchain Other ### Describe the bug 在启用RT_USING_DFS_V2情况下,假设设备uart0作为串口终端(shell console),正在调用[dfs_file_read()](https://github.com/RT-Thread/rt-thread/blob/b171877139c63db6346b00b33c09f5a5651dbd25/components/dfs/dfs_v2/src/dfs_file.c#L762)读取数据时候,或者在serial_fops_read()函数被rt_wqueue_wait挂起的时候。 如果此时调用sys_dup2(fd, 0)函数,将会关闭uart0并更新dfs_fdtable,**也就是说在dfs_file_read执行过程中file指针被修改了!!!** ``` fdt->fds[0] = fdt->fds[fd]; ``` 具体解释见下面的dfs_file_read()函数 ```c /* fpos lock...
## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) #### 你的解决方案是什么 (what is your solution) #### 请提供验证的bsp和config (provide the config and bsp) - BSP: - .config: - action:...
### RT-Thread Version master ### Hardware Type/Architectures ART-Pi Smart Board ### Develop Toolchain GCC ### Describe the bug Compile the following code snippet and run the program in userspace: ```c...
### Describe problem solved by the proposed feature 目前,RT-Thread 中的部分组件(如 lwp, dm) 缺少完整的 Doxygen 注释。这些注释对于开发者理解和使用这些组件非常重要。补充完整的 Doxygen 注释将有助于提升代码的可读性和可维护性,并且有助于新开发者快速上手。 需求: - [ ] 为 lwp 组件的所有公共接口、数据结构和函数补充详细的 Doxygen 注释。 - [ ] 为...
### RT-Thread Version 755cde372cb224bba0945e3834b4cda1ead18681 ### Hardware Type/Architectures cvitek ### Develop Toolchain GCC ### Describe the bug in file rt-thread/bsp/cvitek/drivers/drv_uart.c ```c static rt_err_t dw8250_uart_configure(struct rt_serial_device *serial, struct serial_configure *cfg) { rt_base_t...
## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) 1. 减少不必要的代码  3. 修改注释至合理位置 #### 你的解决方案是什么 (what is your solution) #### 请提供验证的bsp和config (provide the config and bsp) -...
## 拉取/合并请求描述:(PR description) 抽象非基于硬盘的文件系统(如tmpfs,devtmpfs等)的文件组织,独立成API使用 [ #### 为什么提交这份PR (why to submit this PR) #### 你的解决方案是什么 (what is your solution) #### 请提供验证的bsp和config (provide the config and bsp) - BSP: - .config: -...
## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) 适应smart的运行要求 #### 你的解决方案是什么 (what is your solution) #### 请提供验证的bsp和config (provide the config and bsp) ] ### 当前拉取/合并请求的状态 Intent for...
### Describe problem solved by the proposed feature 存在未消解的 Change Request。需要给出合理拒绝理由,或进行正确修改。 https://github.com/RT-Thread/rt-thread/pull/9194 另外,强烈质疑维护者不解决问题的作风。我是不是可以认为主线上 PR 的 review 过程本质是可有可无的。 同理可得,以后我们提交 PR 也不需要关心 Review 。毕竟合并就是这样随心所欲的行为。 ### Describe your preferred solution _No response_ ###...
Hello, I've tried to build bsp of stm32f429-st-disco and got the below error message: ` stm32f429-st-disco % scons scons: Reading SConscript files ... TypeError: can only concatenate deque (not "list")...