rt-thread
rt-thread copied to clipboard
RT-Thread is an open source IoT real-time operating system (RTOS).
## 拉取/合并请求描述:(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 STM32F407VGT6 ### Develop Toolchain RT-Thread Studio ### Describe the bug - https://club.rt-thread.org/ask/question/083e070c010373b6.html - 跟此链接描述一致; - 配置如下 ```c #define BSP_USING_UART3 #define BSP_UART3_RX_USING_DMA #define BSP_UART3_TX_USING_DMA...
## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) old phy bus is too simple add phy_bus is not adapt rt_bus framework,so writer a stronger phy bus framework....
Signed-off-by: flyingcys ## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) 修复 cvitek drv_eth 编译错误 #### 你的解决方案是什么 (what is your solution) 1. 默认开启eth功能 2. 添加ci #### 请提供验证的bsp和config (provide...
## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) This patch addresses a use-after-free (UAF) vulnerability in the sys_mount. The issue occurred due to improper handling of memory...
### Describe problem solved by the proposed feature 关联 https://github.com/RT-Thread/rt-thread/pull/9511#discussion_r1796327187 https://github.com/RT-Thread/rt-thread/blob/906d1caea6f82dcb45dc1925842e89b76c01bbfd/libcpu/risc-v/common64/asid.c#L30-L51 这里的 `write_csr(satp, satp_reg); ` 重置 satp 怪怪的。因为正常是两个启动阶段,做两次 satp 设置。第一次是初始映射,使用大粒度 pte,为了给初始化过程配置最基础的虚存属性(比如 cache 属性),并进入线性地址空间。第二次是按照虚存配置的映射(可能从静态/动态配置中读取运行时虚存布局),按照应用、驱动的需求配置内核地址空间。 这里在中间又重置了一次 satp,并不是特别必要。或许是可以把 ASID 初始化操作合并到 `rt_hw_mem_setup_early` (第一次的初始映射)中。
## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) when we write net drivers,we need get mac address from dtb.so need add som api to get mac address...
lwp的某些资源回收放到了后台,其中会引起线程挂起,而idle不应该被挂起 ## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) 用户态程序退出后在idle中回收资源会触发assert(mutex->owner == current-thread) #### 你的解决方案是什么 (what is your solution) 单核smart模式也启用回收线程 #### 请提供验证的bsp和config (provide the config and bsp) #9181...
## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) 使串口驱动(serial_v2)支持半双工通信。 对比用软件包的形式实现半双工通信(i.e. rt-thread-rs485),在 serial 中支持半双工通信的优势是可以更方便地在半双工口(比如rs485)上适配 console 和 ymodem 等组件。 #### 你的解决方案是什么 (what is your solution) #### 请提供验证的bsp和config (provide the...
### Describe problem solved by the proposed feature Please try and come up with a more efficient way to fetch the resource_id and manage it ### Describe your preferred solution...