rt-thread icon indicating copy to clipboard operation
rt-thread copied to clipboard

RT-Thread is an open source IoT real-time operating system (RTOS).

Results 626 rt-thread issues
Sort by recently updated
recently updated
newest added

### RT-Thread Version master ### Hardware Type/Architectures STM32H750 ### Develop Toolchain MDK Keil ### Describe the bug 1. 使用配置如下 ```c /* DFS: device virtual file system */ #define RT_USING_DFS #define...

component: dfsv2

### RT-Thread Version master ### Hardware Type/Architectures bsp/cvitek/cv18xx_risc-v/ ### Develop Toolchain GCC ### Describe the bug `bsp/cvitek/cv18xx_risc-v/SConstruct` 中以下赋值操作看上去是没有用的,反而容易引起混淆 ```python rtconfig.CPU='virt64' rtconfig.ARCH='risc-v' ``` `bsp/cvitek/cv18xx_risc-v/rtconfig.py` 中已经设置了 ARCH 和 CPU 如下: ```python ARCH...

BSP: Cvitek
Arch: RISC-V

### Describe problem solved by the proposed feature ## 需求 * [ ] thread stack 支持架构定义阈值,避免中断上下文直接导致栈溢出. * [ ] thread stack 动态分配方式支持配置。可以(在 smart 上)通过 page 管理器(或其他专用池?)分配。因为 memheap 使用一段时间后产生碎片化,可能分配不出 KB 级别数据....

good first issue
RT-Smart

### Describe problem solved by the proposed feature 命令行用户往往需要设置RTT_EXEC_PATH这个环境变量,对于多人协作项目来说不能在代码里把他改成固定值,调用脚本设置需要每次进终端输入一串字符这太麻烦了,给短短人生增加了上亿次额外输入不太划算,所以我想把需要配置的环境变量保存起来,下次只需要执行scons就可以了。 ### Describe your preferred solution 下面是我写好的代码autoenvsave.py ``` import os import configparser def getenv(name, defualt=''): value = '' conf = configparser.ConfigParser() conf.read('env.ini')...

### Describe problem solved by the proposed feature 目前 bsp/cvitek 的 riscv 部分的大小核的构建完全遵循了两套机制。小核 c906_little 用的是 `CPU ='rv64'`, 大核 cv18xx_riscv 用的是 `CPU ='c906'`。可是据我了解 cv18xx 芯片上的 riscv 大小核本质上没有什么大的区别,除了中断号配置有些不同外。下面是我和 Sophgo 的开发人员就大小核的区别的讨论记录,供参考: ![image](https://github.com/user-attachments/assets/25933a7e-17a1-4196-bb20-db238cde6353) 所以我建议是否可以考虑优化一下代码,将两个...

BSP: Cvitek
Arch: RISC-V

After first called from uart open, the dw8250_uart_configure API cannot be called again. Otherwise, this will mess up the device, and uart will not act properly to interrupt again. Analysis:...

BSP: Cvitek

## 拉取/合并请求描述:(PR description) 1.解决![issue](https://github.com/RT-Thread/rt-thread/issues/9155)中提到的问题,对dfs_file中分别添加打开计数(所有fdtable中指向该dfs_file的个数),以及引用计数(对文件读写等操作增加引用计数),仅当引用计数降至0才释放dfs_file 2.规范原子变量引用计数使用,原先解引用会先将引用计数减1,然后才load引用计数判断是否为0,但这两个原子操作加起来并非原子,可能在中间打断,使用rt_atomic_dec_and_test来执行该操作 3.传入参数为空指针直接触发ASSERT,因为这种情况显然是调用者出错,这样使错误可以更及时发现 4.删除aspace中的引用计数,因为aspace一定是关联到一个vnode上的,当vnode释放时也应当同时释放aspace [ #### 为什么提交这份PR (why to submit this PR) #### 你的解决方案是什么 (what is your solution) #### 请提供验证的bsp和config (provide the config and bsp) - BSP:...

component: dfsv2

### Describe problem solved by the proposed feature 当前 `rt-thread/libcpu/Kconfig` 文件内容较混乱。每个架构单独的配置完全可以拆解到独立的目录下维护。 ### Describe your preferred solution _No response_ ### Describe possible alternatives _No response_

good first issue
RT-Smart

### RT-Thread Version V4.02 ### Hardware Type/Architectures STM32F103 ### Develop Toolchain RT-Thread Studio ### Describe the bug [Bug] rt_thread_mdelay 不是延时的ms,是systick的时钟周期的和rt_thread_delay函数没区别 ### Other additional context /** * This function will let...

## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) https://github.com/RT-Thread/rt-thread/pull/8221/ 去掉了非设备树初始化CPU的方法,设备树初始化CPU的框架下由mpdir_table来存放cpu信息,所以非设备树版gicv3需要使用该变量,同时arm64芯片cpu初始化均应使用设备树(调用rt_hw_common_setup) #### 你的解决方案是什么 (what is your solution) #### 请提供验证的bsp和config (provide the config and bsp) - BSP: - .config:...

bug
BSP
Arch: ARM/AArch64
libcpu
BSP: Phytium