You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by li...@apache.org on 2026/01/08 14:47:25 UTC

(nuttx) 02/02: [EXPERIMENTAL] sched/hrtimer: add SYSTEM_TIME64 dependency

This is an automated email from the ASF dual-hosted git repository.

ligd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 96e8fce4dedf0ea8bc2272eb28a15f7ce889be58
Author: wangchengdong <wa...@lixiang.com>
AuthorDate: Wed Jan 7 11:21:31 2026 +0800

    [EXPERIMENTAL] sched/hrtimer: add SYSTEM_TIME64 dependency
    
      The hrtimer infrastructure only works with 64-bit system timers.
      Add a dependency on SYSTEM_TIME64 in the hrtimer Kconfig.
    
    Signed-off-by: Chengdong Wang <wa...@lixiang.com>
---
 sched/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sched/Kconfig b/sched/Kconfig
index d1a1e07c3fb..5339e2b7507 100644
--- a/sched/Kconfig
+++ b/sched/Kconfig
@@ -2006,6 +2006,7 @@ config CUSTOM_SEMAPHORE_MAXVALUE
 
 config HRTIMER
 	bool "High resolution timer support"
+	depends on SYSTEM_TIME64
 	default n
 	depends on SYSTEM_TIME64
 	---help---