summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-12-28[clock_time] Fix rt_timespec_to_tick availability for POSIX semaphorescopilot/refactor-hwtimer-ktime-cputimecopilot-swe-agent[bot]
- Moved rt_timespec_to_tick outside of RT_USING_CLOCK_TIME guard - Function now available with just RT_USING_POSIX_CLOCK defined - Fixes undefined reference error when building with POSIX semaphores - Maintains backward compatibility with configurations that don't use clock_time yet Co-authored-by: BernardXiong <[email protected]>
2025-12-05[clock_time] Fix all remaining ktime references in codebasecopilot-swe-agent[bot]
- Updated dev_soft_rtc.c: RT_USING_KTIME → RT_USING_CLOCK_TIME - Updated vdso_data.c (risc-v): rt_ktime_boottime_get_ns → rt_clock_time_boottime_ns - Updated vdso_data.c (aarch64): rt_ktime_boottime_get_ns → rt_clock_time_boottime_ns - Updated pic.c: rt_ktime_boottime_get_ns → rt_clock_time_boottime_ns - Updated hwtimer-rockchip_timer.c: All rt_ktime_* → rt_clock_* APIs - Renamed base_ktime_ts to base_clocktime_ts in soft_rtc - All ktime API references replaced with clock_time equivalents Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Remove compatibility layers and refactor to direct implementationcopilot-swe-agent[bot]
- Removed cputime_compat.c and ktime_compat.c - Created clock_time_cputime.c for CPU time APIs (clock_cpu_*, rt_cputime_*) - Created clock_time_boottime.c for boottime APIs (rt_boottime_*) - Created stub cputime.h header for BSP compatibility - Removed all compatibility type definitions from clock_time.h - Removed compatibility Kconfig options - Updated SConscript to build new files - Replaced all rt_ktime_hrtimer_* calls with rt_clock_hrtimer_* in ctime.c - Replaced all rt_ktime_* functions with rt_clock_* equivalents - Simplified nanosleep() to use rt_clock_ndelay() directly Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Remove old subsystems and update to use only clock_timecopilot-swe-agent[bot]
- Deleted ktime, cputime, and hwtimer directories completely - Removed old header files (ktime.h, cputime.h, cputimer.h, hwtimer.h) - Updated ctime.c to only use RT_USING_CLOCK_TIME (removed RT_USING_KTIME conditionals) - Updated main drivers Kconfig to remove old subsystem entries - Added all legacy API declarations to clock_time.h when compatibility is enabled - Added legacy type definitions (rt_clock_cputime_ops, rt_cputimer) to clock_time.h - Removed ktime.h include from ktime_compat.c (types now in clock_time.h) - All POSIX time APIs (clock_gettime, clock_settime, timer_create, etc.) continue to work Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Add implementation summary and finalize refactoringcopilot-swe-agent[bot]
- Created comprehensive implementation summary document - Documented design decisions, architecture, and migration strategy - Listed all files created and modified - Included testing status and future enhancements - Ready for review and CI testing Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Add comprehensive examples and test codecopilot-swe-agent[bot]
- Created clock_time_example.c with 7 different usage examples - Added examples for info display, boottime, conversion, delays, timers - Included performance benchmark example - Added comprehensive examples README with troubleshooting guide Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Add README and example adapterscopilot-swe-agent[bot]
- Added comprehensive README for clock_time subsystem - Created ARM Generic Timer adapter example - Created SysTick/DWT adapter example for Cortex-M - Added adapter development guide with best practices Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Fix data type compatibility and add libc integrationcopilot-swe-agent[bot]
- Changed hrtimer cnt types from rt_uint64_t to unsigned long for ktime compatibility - Added RT_USING_CLOCK_TIME support to libc/ctime.c - Added proper type definitions for ktime compatibility layer - Fixed all type casts and function signatures Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Add unified clock_time subsystem with documentationcopilot-swe-agent[bot]
- Created new clock_time subsystem consolidating hwtimer/ktime/cputime - Implemented clock_time device abstraction with ops structure - Added high-resolution timer (hrtimer) implementation - Created compatibility layers for legacy APIs - Added comprehensive English and Chinese documentation - Updated Kconfig to mark old subsystems as deprecated Co-authored-by: BernardXiong <[email protected]>
2025-12-04Initial plancopilot-swe-agent[bot]
2025-12-04[PHY/OFW] Fixup the phy link up waiting foreverGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[PHY/OFW] Change the log levelGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[DM/PHY] Make Kconfig import for DMGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[Drivers/phy] Fixup header include for v2GuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[DM/I2C] Update I2C for DMGuEe-GUI
1. Add get id match data API. 2. Set I2C device name default before adding to bus. 3. Add Kconfig import for DM. Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[DM/MISC] Update MISC APIGuEe-GUI
1. Fixup RT_DIV_ROUND_DOWN_ULL and RT_DIV_ROUND_UP_ULL, rt_do_div. 2. Support RT_DIV_ROUND_CLOSEST_ULL. 3. Make new DIV API. Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[DM/CAN] Update CAN for DMGuEe-GUI
1. Kconfig import wtih DM 2. Add DM API for Drivers Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[DM/PCI] Fixup the C99, 6.8.1 Labeled statements p4GuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[action]Add automatic testing for SMP.Rbb666
2025-12-04[DFS] Support 9PFSGuEe-GUI
What is 9PFS (https://en.wikipedia.org/wiki/9P_(protocol)): 9P (or the Plan 9 Filesystem Protocol or Styx) is a network protocol developed for the Plan 9 from Bell Labs distributed operating system as the means of connecting the components of a Plan 9 system. Files are key objects in Plan 9. They represent windows, network connections, processes, and almost anything else available in the operating system. rt-thread could share filesystem in VM mode with 9pfs such as QEMU... Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[libcpu-riscv]: [surpport SMP]: Add SMP support for qemu-virt64-riscvTm-C-mT
1.Add the necessary function declarations for SMP enablement and implement the corresponding functionalities, including rt_hw_secondary_cpu_up, secondary_cpu_entry, rt_hw_local_irq_disable, rt_hw_local_irq_enable, rt_hw_secondary_cpu_idle_exec, rt_hw_spin_lock_init, rt_hw_spin_lock, rt_hw_spin_unlock, rt_hw_ipi_send, rt_hw_interrupt_set_priority, rt_hw_interrupt_get_priority, rt_hw_ipi_init, rt_hw_ipi_handler_install, and rt_hw_ipi_handler. 2.In the two functions (rt_hw_context_switch_to and rt_hw_context_switch) in context_gcc.S, add a call to rt_cpus_lock_status_restore to update the scheduler information. 3.If the MMU is enabled, use the .percpu section and record different hartids by configuring special page tables; if the MMU is not enabled, record them directly in the satp register. Additionally, add dynamic startup based on core configuration.The .percpu section is only used when both ARCH_MM_MMU and RT_USING_SMP are enabled. However, there is a certain amount of space waste since no macro guard is added for it in the link script currently. 4.The physical memory of QEMU started in CI is 128MB, so RT_HW_PAGE_END is modified from the original +256MB to +128MB. Modify the SConscript file under the common64 directory to include common/atomic_riscv.c in the compilation process. Signed-off-by: Mengchen Teng <[email protected]>
2025-12-04[utest]: Solve the address misalignment issue of atomic operationsTm-C-mT
In smp_assigned_idle_cores_tc, the finish_flag involves atomic operations and thus requires address alignment. Signed-off-by: Mengchen Teng <[email protected]>
2025-12-03[MM] Update MM System (#10989)GUI
* [MM] Fixup MM 1. Fixup some LOG_D args. 2. Stop installing page when `rt_aspace_map_phy` fail. * [MM] Support page MPR dynamic size For RISC-V or dynamic address space arch in the future. Signed-off-by: GuEe-GUI <[email protected]>
2025-12-03[DM/DMA] Update DMA #10987GUI
* Append WT attribute. * Change the API with pool size only. * Add address mask for DMA * Change DMA lock to mutex * Add pause callback for DMA engine driver * Add DMA Engine test * Add ARM PL330 DMA Engine driver
2025-12-03[bsp][renesas] Add ra8p1-titan-board BSP.yans
2025-12-03[bsp/renesas][drivers] Added adaptation for ra8p1.yans
2025-12-02[DM][SPI] Support SFUD for DMGuEe-GUI
DM need > c99 Signed-off-by: GuEe-GUI <[email protected]>
2025-12-02[Driver][SPI] Add 'W25Q128JWPIM' for SFUDGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-02[DM][REGULATOR] Support operator delayGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-02[DM][REGULATOR] Fixup regulator find errorGuEe-GUI
Just not regulator really, user can work ok, so remove the error no. Signed-off-by: GuEe-GUI <[email protected]>
2025-12-02[LIBC/AIO] Set the AIO work stack size default.GuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-01[bsp][stm32]:remove duplicated header includes for drv_stdio.hCYFS
2025-12-01[bsp][spi flash]: 优化GD32F470 SPI Flash初始化和UART0配置 (#10983)godmial
* feat(gd32): 优化GD32F470 SPI Flash初始化和UART0配置 主要修改: 1. SPI Flash初始化优化 - 添加可配置的SPI Flash自动初始化选项(BSP_USING_SPI_FLASH) - 支持按SPI总线独立配置Flash初始化(BSP_USING_SPIx_FLASH) - 避免SPI Flash初始化与其他SPI设备(如OLED、WIFI)冲突 - 添加SPI5 Flash支持 - 修改drv_spi_flash.c,仅在明确配置的SPI总线上初始化Flash 2. UART0配置修复 - 将UART0的AFIO默认值从AF1改为AF7 - 修复串口无响应问题 这些修改使得用户可以更灵活地配置SPI Flash初始化,避免自动初始化导致的设备冲突问题。 * feat(gd32): 解耦SPI Flash与SFUD的依赖关系
2025-11-30fix(finsh): Fix crash in 'tail' command with insufficient '-n' argumentswdfk-prog
2025-11-30[bsp][hpm]:fix scons --distCYFS
2025-11-26docs(utest):Add standardized documentation for IPC Completion TestChuan
Signed-off-by: ChuanN-sudo <[email protected]>
2025-11-26docs(utest):Add standardized documentation for IPC Workqueue TestChuan
Signed-off-by: ChuanN-sudo <[email protected]>
2025-11-26[utest][serial bypass]:Add standardized documentation for Serial Bypass TestChuan
2025-11-26[docs][utest]:Add comments for smp_bind_affinityTm-C-mT
Add comments for smp_bind_affinity, And fixed some comment issues in smp_affinity_pri2_tc. Signed-off-by: Mengchen Teng <[email protected]>
2025-11-26[docs][utest]:Add comments for smp_affinity_pri2Tm-C-mT
Add comments for smp_affinity_pri2 Signed-off-by: Mengchen Teng <[email protected]>
2025-11-26[docs][utest]:Add comments for smp_affinity_pri1Tm-C-mT
Add comments for smp_affinity_pri1 Signed-off-by: Mengchen Teng <[email protected]>
2025-11-26[gd32/arm][bsp]: synchronous kconfig updatekurisaw
2025-11-26[gd32/arm][drivers]: general GD serial driver adapterkurisaw
2025-11-26[gd32/arm][drivers]: add support for the H7 series and optimize the GPIO driverkurisaw
2025-11-26[utest][audio]:Add standardized documentation for Audio TestChuan
2025-11-25bsp: k230: add dma support to the i2c driverZe-Hou
1. add dma support to the I2C driver to improve efficiency. Signed-off-by: Ze-Hou <[email protected]>
2025-11-25[soft_rtc]修正GET_TIMESPEC/GET_TIMEVAL 获取 ns/us 的错误; ↵dongly
优化soft_rtc实现
2025-11-23[tool] fixed scons --target=xmakeguozhanxin
2025-11-23docs(utest):Add standardized documentation for Mailbox TestChuan
Signed-off-by: ChuanN-sudo <[email protected]>
2025-11-22docs:[STM32][drv_gpio] Add detailed Doxygen comments for GET_PIN macrowdfk-prog