e55f28594c
The calibration test can take a long time on platforms with less processing power. Allow the default value to be changed with kconfig.
32 lines
878 B
Plaintext
32 lines
878 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see misc/tools/kconfig-language.txt.
|
|
#
|
|
|
|
config EXAMPLES_CALIB_UDELAY
|
|
tristate "Calibration tool for udelay"
|
|
default n
|
|
select LIBC_FLOATINGPOINT
|
|
---help---
|
|
Note that libm support is also required by this tool. You
|
|
may select CONFIG_LIBM to use the NuttX libm if you are not
|
|
using an external libm.
|
|
|
|
if EXAMPLES_CALIB_UDELAY
|
|
|
|
config EXAMPLES_CALIB_UDELAY_NUM_MEASUREMENTS
|
|
int "Number of measurements to take for each loop iteration count"
|
|
default 3
|
|
|
|
config EXAMPLES_CALIB_UDELAY_NUM_RESULTS
|
|
int "Number of results to generate for calibration slope"
|
|
default 20
|
|
|
|
config EXAMPLES_CALIB_UDELAY_DELAY_TEST_ITERATIONS
|
|
int "Delay loop interrations per test."
|
|
default 100000
|
|
---help---
|
|
Lower numbers decrease the time taken for the test to complete,
|
|
but may reduce the accuracy of the results.
|
|
endif
|