summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-11-22fix:[STM32][drv_can] Suppress unused variable warning in send error pathwdfk-prog
2025-11-22[docs]:Add standardized function comment blocks for mutex_tc4444x
2025-11-22finsh: replace str/mem functions with rt-prefixed versionsliuyucai
Replace standard string and memory functions with RT-Thread's rt-prefixed equivalents where available: - strcpy -> rt_strcpy - strncpy -> rt_strncpy - strcmp -> rt_strcmp - strncmp -> rt_strncmp - strlen -> rt_strlen - strstr -> rt_strstr - memcpy -> rt_memcpy - memcmp -> rt_memcmp Functions like strcat, strchr remain unchanged as RT-Thread does not provide rt-prefixed versions.
2025-11-21🐞 fix(at_socket):修复socket 在开启server下的connect连接蒙蒙plus
修复accept在错误执行过程中返回无效socket问题
2025-11-21[utest]Refactor object_tc.c, add stress and error-path coverage (#10961)R b b666
2025-11-19[docs][utest]:Add explanatory comments for the utest of thread allocation ↵Tm-C-mT
for idle harts Add explanatory comments for the utest of smp_assigned_idle_cores. Signed-off-by: Mengchen Teng <[email protected]>
2025-11-19[utest]: Modify the utest logic for thread allocation of idle hartsTm-C-mT
Currently, this utest cannot determine whether threads are evenly distributed across idle harts by observing the result of list_thread(). This is because the presence of rt_thread_delay(5); causes all other threads to be in the suspended state when thread information is printed. For example, if RT_CPUS_NR=4, T0 executes list_thread() to print information, while T1~T3 are in hibernation and thus it is impossible to observe which hart they are running on. Solution:Here, the completion judgment condition has been modified. For example, when RT_CPUS_NR=4, only RT_CPUS_NR-1 threads will be created (i.e., T0 to T2), because running the utest occupies one hart. The execution is judged as completed when finish_flag=0x0007, and the thread running the utest will call list_thread() to print the information. Observe whether T0 to T2 are running on different harts simultaneously. Signed-off-by: Mengchen Teng <[email protected]>
2025-11-19[Kernel][Object] Remove object name assertions, use rt_strncpy for safe ↵Copilot
truncation #10943
2025-11-19feature: utest: add standardized utest documentation to messagequeue_tcZe-Hou
Signed-off-by: Ze-Hou <[email protected]>
2025-11-19feature: utest: add standardized utest documentation to timer_tcZe-Hou
Signed-off-by: Ze-Hou <[email protected]>
2025-11-18[utest]Fixed assertion failure in the smp_affinity_pri2_tc use case caused ↵R b b666
by improper priority configuration. (#10956)
2025-11-18[utest]Fixed assertion failure in the smp_affinity_pri1_tc use case caused ↵Rbb666
by improper priority configuration.
2025-11-18[docs]utest]:Add standardized utest documentation to atomic_tc and ↵David Frisbee
mtsafe_kprint_tc #10945
2025-11-18[utest]Fixed compilation warning issues in smp/smp_affinity_prix_tc.Rbb666
2025-11-18[copilot]:Improve the copilot guideCYFS
2025-11-18feat(ulog): Add a one-time warning when the log line buffer is insufficientwdfk-prog
2025-11-18feature: utest: add standardized utest documentation to event_tcZe-Hou
Signed-off-by: Ze-Hou <[email protected]>
2025-11-17[fix][utest] correct spelling of 'pref_test' to 'perf_test' (#10937)David Frisbee
* [fix][utest] correct spelling of ''pref_test' to 'perf_test'
2025-11-16Reorganize Group names in build system for clarity and IDE integration #10923Copilot
2025-11-16bsp: k230: add spi driverChuan
Requirement: The BSP for the k230 platform in the RT-Thread repository does not yet have an spi driver. Solution: Provide spi driver for the k230 platform in the RT-Thread repository. - Supports SPI0(OSPI) controller with 1/2/4/8 data lines. - Supports SPI1(QSPI0) and SPI2(QSPI1) controllers with 1/2/4 data lines. - Implements DMA-based transfers for OSPI, QSPI, and DSPI modes. - Falls back to standard IRQ-driven transfers for legacy SPI mode (single line). - Updates documentation in bsp/README.md Signed-off-by: ChuanN-sudo <[email protected]>
2025-11-16docs(utest):Add standardized documentation for Drivers Core TestChuan
Signed-off-by: ChuanN-sudo <[email protected]>
2025-11-15doxygen: add comments for lwp shared memory APIsibvqeibob
Add Doxygen-style comments for the lwp shared memory public APIs in components/lwp/lwp_shm.c and the related control structure. This change is documentation-only and does not modify any runtime behavior or logic. Signed-off-by: ibvqeibob <[email protected]>
2025-11-15[docs][utest]:Add standardized utest documentation block for serialv2_tcCYFS
2025-11-14[docs][utest]:Add standardized utest documentation block for slab_tcCYFS
2025-11-14[docs][utest]:Add standardized utest documentation block for object_tcCYFS
2025-11-14[docs][utest]:Add standardized utest documentation block for mem_tcCYFS
2025-11-14[docs][utest]:Add standardized utest documentation block for memheap_tcCYFS
2025-11-13[bsp/xuantie][fix] 修正Bsp Kconfig配置MuChenger
2025-11-13feature: utest: add standardized utest documentation to thread_tcZe-Hou
Signed-off-by: Ze-Hou <[email protected]>
2025-11-13feature: utest: add standardized utest documentation to hooklist_tcZe-Hou
Signed-off-by: Ze-Hou <[email protected]>
2025-11-13feat[spi]: enable interrupt-safe operations using spinlockswdfk-prog
2025-11-13feat:[stm32][can]: enhance control logic and refactor sendmsgwdfk-prog
2025-11-13fix[components]: 修复日志输出的gcc编译警告wdfk-prog
2025-11-13Fixed PWM assertion error caused by using DMrcitach
2025-11-13clang format ignore migrationwestcity-YOLO
2025-11-13[BSP][Documentation] Add comprehensive BSP driver support summary table (#10925)R b b666
* List of RT-Thread BSP Support Additions.
2025-11-12[components/ktime]: Remove unused rt_ktime_cputimer_getstepYonggang Luo
Can use rt_ktime_cputimer_getfrq() / RT_TICK_PER_SECOND instead.
2025-11-12[libcpu][cortex-a] Refactor FPU stack initialization for maintainability ↵Copilot
(#10919) * Initial plan * [libcpu][cortex-a] Improve FPU stack initialization implementation Co-authored-by: BernardXiong <[email protected]> * [libcpu][cortex-a] Replace FPU init loop with rt_memset Co-authored-by: BernardXiong <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: BernardXiong <[email protected]>
2025-11-11[utest]: [signal]: Add Standardized function comment blocks. (#10914)Teng mengchen
* [utest]: [signal]:Standardized function comment blocks have been added. Added comments to the utest for the signal module, including: test purpose, usage scenarios, dependency configurations, expected outcomes, and expected behaviors. Signed-off-by: Mengchen Teng <[email protected]> * [utest]: [signal]:Correct issues including grammatical errors, spelling mistakes, and ambiguities in function names. Fixed the issue of grammatical errors in words; changed the variable 'recive_sig' to 'receive_sig'. Originally, rt_signal_unmask_test was testing the masking function of rt_signal_mask, while rt_signal_mask_test was verifying whether signals could be sent correctly during unmasking——the function names were exactly opposite to their functions. Now the two function names have been swapped, and the corresponding comments have also been updated accordingly.After modification, it has been verified that the signal-related utests can be executed correctly. Signed-off-by: Mengchen Teng <[email protected]> --------- Signed-off-by: Mengchen Teng <[email protected]>
2025-11-11bsp: add stm32f407-micu supportDailingxiang1
Update bsp/stm32/stm32f407-micu/rtconfig.py Co-authored-by: Copilot <[email protected]> Update bsp/stm32/stm32f407-micu/rtconfig.h Co-authored-by: Copilot <[email protected]> Update bsp/stm32/stm32f407-micu/project.uvproj Co-authored-by: Copilot <[email protected]> Update bsp/stm32/stm32f407-micu/project.uvproj Co-authored-by: Copilot <[email protected]> Update bsp/stm32/stm32f407-micu/board/board.h Co-authored-by: Copilot <[email protected]> add ci Delete bsp/stm32/stm32f407-micu/project.uvgui.dlx modified: MAINTAINERS deleted: bsp/stm32/stm32f407-micu/figures/board.png.png deleted: bsp/stm32/stm32f407-micu/project.uvopt modified: bsp/stm32/stm32f407-micu/project.uvoptx modified: bsp/stm32/stm32f407-micu/project.uvprojx
2025-11-10docs(utest): Add standardized documentation for core.irq (irq_tc.c) (#10913)lhxj
* docs(utest): Add standardized documentation for core.irq (irq_tc.c) Most test cases in `src/utest` lack standardized functional documentation, as tracked in issue #10895. This leads to high maintenance costs, difficulty for new contributors, and inefficient code reviews. Solution: This patch adds the full, standardized documentation block to `src/utest/irq_tc.c`, following the approved template. The documentation details: - Test Objectives and tested APIs - Test Scenarios (for `irq_test` and `interrupt_test`) - Verification Metrics (the `uassert` criteria) - Dependencies (Kconfig options and hardware) - Test Execution command and Expected Results This makes the test case's purpose and behavior immediately clear to future maintainers and reviewers. Relates to #10895 Signed-off-by: lhxj <[email protected]> * Update src/utest/irq_tc.c Co-authored-by: Copilot <[email protected]> --------- Signed-off-by: lhxj <[email protected]> Co-authored-by: Copilot <[email protected]>
2025-11-10update:rtthread version number to v5.3.0rbb666
2025-11-10action:Fixed assertion failure when running utest/messagequeue_tc multiple ↵Rbb666
times.
2025-11-08fix(can): Resolve potential race condition in message transmissionwdfk-prog
Setting the send status flag `sndchange` after calling the can->ops->sendmsg function could lead to a race condition if a transmission timeout occurs, resulting in incorrect state handling. This patch moves the operation of setting the `sndchange` flag to before the call to can->ops->sendmsg. This ensures that the mailbox's status is correctly marked as "sending" before the hardware begins transmission, making the driver's state management more robust and reliable, especially in handling exceptions like timeouts. Additionally, new macros for CAN filter modes have been added in dev_can.h.
2025-11-08utest:Fix signal info node leak in signal_tc when running multiple times.Rbb666
2025-11-08[bsp][gd32] 串口 tx buf应该可以设置为0 (#10908)RyanCW
2025-11-08fix:stm32 can build error (#10909)CYFS
2025-11-07[libc][syscall] add detailed function comments for memory managementChengyangMa
2025-11-07[libc][syscalls] 新手PR任务_增加文件操作相关函数的文档注释Liu Changjie
2025-11-07[Components] Remove vbus component and realview-a8-vmm libcpu (#10863)Copilot
* Initial plan * Remove vbus component and related code Co-authored-by: BernardXiong <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: BernardXiong <[email protected]>