2018-08-14 14:45:16 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_CALIB_UDELAY
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "Calibration tool for udelay"
|
2018-08-14 14:45:16 +02:00
|
|
|
default n
|
|
|
|
select CLOCK_MONOTONIC
|
2018-08-15 14:06:40 +02:00
|
|
|
select LIBC_FLOATINGPOINT
|
2018-08-14 14:45:16 +02:00
|
|
|
---help---
|
2018-08-15 14:15:16 +02:00
|
|
|
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.
|
2018-08-14 14:45:16 +02:00
|
|
|
|
|
|
|
if EXAMPLES_CALIB_UDELAY
|
|
|
|
|
|
|
|
config EXAMPLES_CALIB_UDELAY_NUM_MEASUREMENTS
|
|
|
|
int "Number of measurements to take for each loop iteration count"
|
|
|
|
default 3
|
|
|
|
---help---
|
|
|
|
|
|
|
|
config EXAMPLES_CALIB_UDELAY_NUM_RESULTS
|
|
|
|
int "Number of results to generate for calibration slope"
|
|
|
|
default 20
|
|
|
|
---help---
|
|
|
|
|
|
|
|
endif
|