diff options
author | Ning Yang <yangn0@qq.com> | 2024-04-16 18:19:49 +0800 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2024-04-24 16:41:08 -0500 |
commit | d6afec1859b2a589da52a0d26111affa0b6a1662 (patch) | |
tree | 05aced5a1f09b2db35b4790a29cd2920ee11e36e /spec/build/bsps/aarch64/raspberrypi/optsystemtimer.yml | |
parent | validation: Fix typo (diff) | |
download | rtems-d6afec1859b2a589da52a0d26111affa0b6a1662.tar.bz2 |
The clock from the ARM timer is derived from the system clock. This clock can
change dynamically e.g. if the system goes into reduced power or in low power
mode. Thus the clock speed adapts to the overall system performance
capabilities. For accurate timing it is recommended to use the system timers.
if BSP_CLOCK_USE_SYSTEMTIMER = 1, use the System Timer, otherwise use the ARM
Timer.
Diffstat (limited to '')
-rw-r--r-- | spec/build/bsps/aarch64/raspberrypi/optsystemtimer.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/spec/build/bsps/aarch64/raspberrypi/optsystemtimer.yml b/spec/build/bsps/aarch64/raspberrypi/optsystemtimer.yml new file mode 100644 index 0000000000..c20371ab8b --- /dev/null +++ b/spec/build/bsps/aarch64/raspberrypi/optsystemtimer.yml @@ -0,0 +1,25 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: + - Copyright (C) 2024 Ning Yang + +type: build +build-type: option + +enabled-by: true +name: BSP_CLOCK_USE_SYSTEMTIMER +description: | + The clock from the ARM timer is derived from the system clock. This clock can + change dynamically e.g. if the system goes into reduced power or in low power + mode. Thus the clock speed adapts to the overall system performance + capabilities. For accurate timing it is recommended to use the system timers. + +actions: + - get-boolean: null + - define-condition: null + - env-enable: null +default: + - enabled-by: + - aarch64/raspberrypi4b + value: false + +links: []
\ No newline at end of file |