summaryrefslogtreecommitdiff
path: root/components/drivers/cputime/SConscript
diff options
context:
space:
mode:
authorzhkag <[email protected]>2023-02-15 20:46:22 +0800
committerGitHub <[email protected]>2023-02-15 20:46:22 +0800
commit0f85648cfbe5aa0c0158620917a98845811fefc3 (patch)
tree3ff4413c01a1fff2ae8269368753214f5d57fb8f /components/drivers/cputime/SConscript
parentad79e294742e2486e42c44e11619ef3b756dabf4 (diff)
Improve timer accuracy and realize (#6926)
* add cputimer frame * add cputime sleep * ctime use cputime * Processing cputime has no timeout function * Migration cputime Code * formatting file * 整理代码 * add document copyright information * 改 cputime_timer 为 cputimer * 简化 _cputimer_list 初始化 * rt_cputimer_create -> rt_cputimer_init * Remove RT_USING_CPUTIME and code cleanup. * Remove RT_USING_CPUTIME in cputimer.c * Set set_next_timeout as static function. --------- Co-authored-by: Bernard Xiong <[email protected]>
Diffstat (limited to 'components/drivers/cputime/SConscript')
-rw-r--r--components/drivers/cputime/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/drivers/cputime/SConscript b/components/drivers/cputime/SConscript
index e1b447e16b..9fec4641e5 100644
--- a/components/drivers/cputime/SConscript
+++ b/components/drivers/cputime/SConscript
@@ -4,6 +4,7 @@ cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']
src = Split('''
cputime.c
+cputimer.c
''')
if GetDepend('RT_USING_CPUTIME_CORTEXM'):