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 5.10 ### Hardware Type/Architectures GD32F470ZG ### Develop Toolchain GCC ### Describe the bug 1.文件路径名称大小拷贝是根据ymodem协议数据包大小进行拷贝,但是保存文件名称buffer大小是根据dfs中文件路径名称长度的宏定义,如果文件路径名称的宏定义大小小于ymodem协议数据包大小就会导致内存泄露。 2.将函数中rt_strncpy(ret+1,(const char*)buf, len-1)修改为rt_strncpy(ret+1,(const char*)buf, sizeof(cctx->fpath)-1)就不会存在问题 ### Other additional context _No response_

### RT-Thread Version newest ### Hardware Type/Architectures frdm-mcxa153 ### Develop Toolchain Other ### Describe the bug 1.进入mcxa153 bsp目录,打开ConEmu工具; 2.执行scons命令; 3.执行pkg --update更新软件包; 4.再次编译scons,还是提示`Dependency packages missing`; ![Image](https://github.com/user-attachments/assets/438f550c-fc51-45b3-b29f-b0335243ef91) ### Other additional context _No...

## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) #### 你的解决方案是什么 (what is your solution) #### 请提供验证的bsp和config (provide the config and bsp) - BSP: - .config: - action:...

BSP
action
BSP: new bsp board
Arch: RISC-V

error: unknown type name 'clock_t' https://club.rt-thread.org/ask/question/981978b1d833e9cf.html ## 拉取/合并请求描述:(PR description) [ 本实验基于 stm32cubeMX生成的 RT-thread-nano 工程实践, 并且使用 MDK工程和GCC工程(makeflie)兼容调用的方式进行调试验证; 结果为:能很好解决问题并不存在干涉现象. #### 为什么提交这份PR (why to submit this PR) 完善rt-thread 更好在gcc里面使用 #### 你的解决方案是什么 (what is...

Component

添加以下功能 (需要kconfig使能FINSH_USING_WORD_OPERATION) 1 ctrl+back 按单词删除 2 ctrl+左右箭头 按单词切换光标 ## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) #### 你的解决方案是什么 (what is your solution) #### 请提供验证的bsp和config (provide the config...

component: finsh
Component

When using char rt_hw_console_getchar(void), some compilers may default to returning 255 instead of the expected -1, causing the condition if(ch < 0) at F: shell.c L:519 to fail and enter...

component: finsh
Component

### Describe problem solved by the proposed feature 目前有clang-format,也有as.sh,需要确认下两者风格是否一致?如不一致,需要进行调整,确保一致: https://github.com/RT-Thread/rt-thread/blob/master/.clang-format https://github.com/RT-Thread/rt-thread/blob/master/tools/as.sh ### Describe your preferred solution _No response_ ### Describe possible alternatives _No response_

修复CAN总线在出错时没能处理的问题 ## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) 尝试解决CAN总线出现波动的情况下,can发送阻塞的问题。 #### 你的解决方案是什么 (what is your solution) 在CAN错误中断发生BITPAD错误时,和ACK错误一样,检测发送完成状态。 #### 请提供验证的bsp和config (provide the config and bsp) - BSP: 基于STM32F407VET6的自定义板子...

BSP: STM32
BSP

## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) 线程在主动挂起自己的时候,只是把自己加到suspend list,而没有发起调度,这就导致当前线程还会继续执行,直到tick或者其他线程发起调度 #### 你的解决方案是什么 (what is your solution) 在rt_thread_suspend_to_list函数中判断是否属于主动挂起自己,在这种情况下主动发起调度 #### 请提供验证的bsp和config (provide the config and bsp) 在rk3588板子上验证成功 ] ###...

Kernel

### RT-Thread Version 5.2.0 posix ### Hardware Type/Architectures qemu-arm ### Develop Toolchain Other ### Describe the bug 问题回溯德莫 ```c int test_dfs() { FILE *fp = fopen("/test1.txt", "wb+"); FILE *fp1 =...