| Age | Commit message (Collapse) | Author |
|
- 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]>
|
|
- 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]>
|
|
- 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]>
|
|
- 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]>
|
|
- 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]>
|
|
- 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]>
|
|
- 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]>
|
|
- 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]>
|
|
Signed-off-by: GuEe-GUI <[email protected]>
|
|
Signed-off-by: GuEe-GUI <[email protected]>
|
|
Signed-off-by: GuEe-GUI <[email protected]>
|
|
Signed-off-by: GuEe-GUI <[email protected]>
|
|
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]>
|
|
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]>
|
|
1. Kconfig import wtih DM
2. Add DM API for Drivers
Signed-off-by: GuEe-GUI <[email protected]>
|
|
Signed-off-by: GuEe-GUI <[email protected]>
|
|
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]>
|
|
* [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]>
|
|
* 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
|
|
DM need > c99
Signed-off-by: GuEe-GUI <[email protected]>
|
|
Signed-off-by: GuEe-GUI <[email protected]>
|
|
Signed-off-by: GuEe-GUI <[email protected]>
|
|
Just not regulator really, user can work ok, so remove the error no.
Signed-off-by: GuEe-GUI <[email protected]>
|
|
Signed-off-by: GuEe-GUI <[email protected]>
|
|
|
|
Signed-off-by: ChuanN-sudo <[email protected]>
|
|
Signed-off-by: ChuanN-sudo <[email protected]>
|
|
|
|
|
|
优化soft_rtc实现
|
|
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.
|
|
修复accept在错误执行过程中返回无效socket问题
|
|
|
|
|
|
Signed-off-by: ChuanN-sudo <[email protected]>
|
|
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]>
|
|
|
|
|
|
|
|
|
|
Can use rt_ktime_cputimer_getfrq() / RT_TICK_PER_SECOND instead.
|
|
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.
|
|
|
|
|
|
* 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]>
|
|
�起,无法区分
|
|
|
|
enable stream mode
|
|
|
|
|