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) 1. 在可配置宏`RT_USING_CPU_USAGE_TRACER`增加两个参数 ctx_last_time ctx_count 2. 在cmd中增加日志打印 3. 打印常量字符串的rt_kprintf 改为rt_kputs ####...
### RT-Thread Version 5.2.1 ### Hardware Type/Architectures at32 ### Develop Toolchain Other ### Describe the bug 1.at32驱动里选择DMA方式 2.串口驱动选serial v2 3.finsh启动后,优先级更低的线程无法被调度 4.目前初步分析原因,finsh调用read系统调用获取串口数据,read是非阻塞的,导致问题发生。 5.现在read调用后,如果无数据,则增加rt_thread_mdelay(1). ### Other additional context _No response_
## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) 添加 `rt_object_for_each_safe` 函数,以简化和统一 cmd.c 以及其他位置中出现的 `list_find*` 相关的逻辑函数, 同时也便于应用层在需要对对象遍历处理时使用。 与 `rt_object_for_each` 的差异是,实现逻辑与 `list_find*` 一致,回调调用的位置不锁调度器。 #### 你的解决方案是什么 (what is your solution)...
## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) 添加EK-RA4E2开发板的支持,目前使用的是FSP6.0版本 存在的问题: 寄出功能调通。目前只调通一路usart,板卡3个led,其他spi/iic/i3c未完成移植。 #### 你的解决方案是什么 (what is your solution) 后续迭代更新 #### 请提供验证的bsp和config (provide the config and bsp) - BSP:...
这个 issue 作为 #10513 的 child issue,主要用于收集和单元测试有关的问题以及 issue。 - `examples/utest/README.md` 需要改进,譬如该文件中 “/” 和 ”\" 混用。 - 文档描述问题: utest 测试框架依赖 ulog 日志模块进行日志输出? 我这里在 qemu-virt64-riscv 上做实验,发现 ulog(`RT_USING_ULOG`)并没有开启,也可以工作啊? - 测试用例命名,参考 中针对 “测试用例命名要求”,但目测目前代码中的不符合,貌似不少前面多一个 "testcases.",...
- Fix the issue where the list_thread function cannot be found when MSH_USING_BUILT_IN_COMMANDS is not enabled ## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) - 将 cmd.c...
## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) - FINSH_SEM 可能需要在其他地方被寻找,进而进行控制或删除.例如qboot中重新接管了控制台的操作 - 由于finsh 信号量是无法被外面调用,所以将finsh 信号量的名称进行宏定义,方便寻找 #### 你的解决方案是什么 (what is your solution) #### 请提供验证的bsp和config (provide the config and...
这个 issue 用于 draft & summary 一些我看到的和 doxygen 有关的问题。本 issue 是 #9824 的 child issue。 - 上面列的这些函数感觉应该放到 bsp 部分去。 - rt_interrupt_enter - rt_interrupt_leave - rt_interrupt_get_nest - 【已解决】group 名字统一改小写 #10432 &...
### RT-Thread Version master ### Hardware Type/Architectures all ### Develop Toolchain IAR ### Describe the bug **Describe the bug** In rt_smem_free() (file: src/mem.c), the following assertion is used: `RT_ASSERT(MEM_POOL(&small_mem->heap_ptr[mem->next]) ==...
## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) 1. 原先的命令`scons --target=eclipse`不大满足通用需求 - 例如: 文件夹目录结构如下,两个工程共用一个rtt源码目录情况,且还有UserSrc目录 ``` ├─rt-thread │ ├─rtt_project1 │ ├─rtt_project2 │ ├─UserSrc ``` - 这个pr进行了增强,通过rtconfig.py传入PROJECT_SOURCE_FOLDERS 进行链接 ```python...