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

## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) #8143 #### 你的解决方案是什么 (what is your solution) 完善rt_hw_serial_isr的事件分支 #### 在什么测试环境下测试通过 (what is the test environment) lpc4088 iar8_40 个人项目中测试通过 ]...

类似这种的 ![image](https://github.com/RT-Thread/rt-thread/assets/25633294/8154012c-84be-4851-901d-c79cbe7c2021)

https://github.com/RT-Thread/rt-thread/blob/ecd29fda6005ef19c625f194f9311259ba907a78/components/drivers/include/drivers/serial.h#L67C1-L67C1 或者有什么规划,说一下 后续完善下

芯片:STM32F407ZGT6 工具链:arm-none-eabi-gcc RT-Thread版本:RT-Thread v5.0.1 如题,基本条件和官方例程中一致,W25Q128被切分成了几个区,我目标是将filesystem区挂载为文件为文件系统根目录,挂载成功后能创建删除文件夹,但是无法进行mkfs操作和读写文件操作。 目前可以确认flash无硬件问题,我已测试从flash中读写数据和擦除flash操作。 ### 控制台记录如下: ![image](https://github.com/RT-Thread/rt-thread/assets/24820157/2516b9d7-83da-4886-a78b-c564abdde060) ### config如下: ![image](https://github.com/RT-Thread/rt-thread/assets/24820157/8d056013-6295-490c-a938-1bb5710b50eb) ![image](https://github.com/RT-Thread/rt-thread/assets/24820157/a4858b3d-02fb-4dde-8d10-c6578bfe5e29) ### Coder如下: ``` #include #include #include #include #if DFS_FILESYSTEMS_MAX < 4 #error "Please define DFS_FILESYSTEMS_MAX more than...

5.0.2 Release版本。当工具链为MDK-AC5时显示缺少”stdatomic.h“,当编译器为AC6时rtatomic.h文件中rt_atomic_fetch_add_unless与rt_atomic_add_unless函数报错,报错情况如下图 ![image](https://github.com/RT-Thread/rt-thread/assets/50290239/4ee6fff2-88cf-4eff-87b8-ccdd9af14a88) ![image](https://github.com/RT-Thread/rt-thread/assets/50290239/0f15c435-0f1f-46dc-b5fa-9256901a4f88)

工具链:stm32 + armcc rt-thread版本:5.0.1 问题:创建3个相同优先级的线程,第1个线程永远无法得到调度,如下图代码: ``` #include #define THREAD_STACK_SIZE 1024 #define THREAD_PRIORITY 20 #define THREAD_TIMESLICE 10 static void thread_entry(void* parameter) { rt_uint32_t value; rt_uint32_t count = 0; value = (rt_uint32_t)parameter;...

🎯 Focus

because there is a bug(multithreading) and its function is duplicated with ktime/hrtimer ## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) 删除cputime,因为其与ktime/hrtimer功能重复,且存在多线程下的bug #### 你的解决方案是什么 (what is your solution)...

discussion

计划在v5.1.0中对设备驱动部分做一个全新的调整,主要包括到几个方面: * 全新的设备驱动模型,设备是可以看得到、可操作的对象(例如可以使用list device可以看到,或者/dev下存在的设备对象(文件));驱动是针对系列设备的驱动程序,更多突出的是程序的概念。同时也包括,数个设备可能使用同一份驱动; * rt_device相关代码都从内核中分离,对应的头文件,源文件都从内核中剥离; * 针对A核平台,全面启用设备树,并推进IP化的驱动方式,基础类型包括: * pinctl - GPIO及管脚复用; * clk - 时钟树框架

v5.1.0

下面两个是 rtthread 中的定义 ![image](https://github.com/RT-Thread/rt-thread/assets/62738223/46903f90-e918-4b32-a64c-ccdddc2bf40e) ![image](https://github.com/RT-Thread/rt-thread/assets/62738223/4daba096-7c51-4d1e-b89d-93f16e6b4d73) 这个是 gcc-arm-none-eabi 中的定义 ![image](https://github.com/RT-Thread/rt-thread/assets/62738223/eaf56a96-3994-4139-a8c5-885053364aa5) 这是 lwp 中的定义 ![image](https://github.com/RT-Thread/rt-thread/assets/62738223/e02751c4-d01b-4de0-b19d-eddf2ef3590c) 总结一下 musl 和 lwp 中的定义一致 和 gcc-arm-none-eabi 以及 rtthread 的定义有区别 这个是在测试使用 musl 测试 qemu a9 rt-thread 的...

discussion

在V5.0.0中,当不使用`RT_USING_LIBC`时,编译内核文件如`clock.c`时,出现错误: ``` include\rtthread.h(643): error: #20: identifier "va_list" is undefined ``` 1. 检查报错位置代码如下: ```c int rt_vsprintf(char *dest, const char *format, **va_list** arg_ptr); ``` 2. va_list是在中定义的,根据rtdef.h的内容,可知RTTHREAD内核设计只有在使用RT_USING_LIBC时,才允许使用va_list。如下: ```c #ifdef RT_USING_LIBC #include #include #include...

v5.1.0