2021-06-07 04:09:54 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig MATH_LIBTOMMATH
|
|
|
|
bool "LibTomMath MPI Math Library"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
LibTomMath, a free open source portable number theoretic
|
|
|
|
multiple-precision integer (MPI) library written entirely in C
|
|
|
|
|
|
|
|
if MATH_LIBTOMMATH
|
|
|
|
|
|
|
|
config LIBTOMMATH_VERSION
|
|
|
|
string "LibTomMath Version"
|
|
|
|
default "1.2.0"
|
|
|
|
|
|
|
|
menuconfig LIBTOMMATH_DEMOS
|
|
|
|
bool "LibTomMath MPI Math Library Demos"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
LibTomMath demo and test applications.
|
|
|
|
|
|
|
|
if LIBTOMMATH_DEMOS
|
|
|
|
|
|
|
|
config LIBTOMMATH_TEST
|
2023-02-09 15:24:20 +01:00
|
|
|
tristate "LibTomMath Test"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Demo test application for LibTomMath
|
2021-06-07 04:09:54 +02:00
|
|
|
|
|
|
|
if LIBTOMMATH_TEST
|
|
|
|
|
|
|
|
config LIBTOMMATH_TEST_PROGNAME
|
2023-02-09 15:24:20 +01:00
|
|
|
string "Test program name"
|
|
|
|
default "tommath_test"
|
|
|
|
---help---
|
|
|
|
LibTomMath test application name
|
2021-06-07 04:09:54 +02:00
|
|
|
|
|
|
|
config LIBTOMMATH_TEST_PRIORITY
|
2023-02-09 15:24:20 +01:00
|
|
|
int "Test application priority"
|
|
|
|
default 100
|
2021-06-07 04:09:54 +02:00
|
|
|
|
|
|
|
config LIBTOMMATH_TEST_STACKSIZE
|
2023-02-09 15:24:20 +01:00
|
|
|
int "Test application stack size"
|
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2021-06-07 04:09:54 +02:00
|
|
|
|
|
|
|
endif # LIBTOMMATH_TEST
|
|
|
|
|
2022-10-24 05:38:22 +02:00
|
|
|
config LIBTOMMATH_MTEST_OPPONENT
|
2023-02-09 15:24:20 +01:00
|
|
|
tristate "LibTomMath MTest opponent"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Demo mtest opponent application for LibTomMath
|
2021-06-07 04:09:54 +02:00
|
|
|
|
2022-10-24 05:38:22 +02:00
|
|
|
if LIBTOMMATH_MTEST_OPPONENT
|
2021-06-07 04:09:54 +02:00
|
|
|
|
|
|
|
config LIBTOMMATH_MTEST_OPPONENT_PROGNAME
|
2023-02-09 15:24:20 +01:00
|
|
|
string "MTest opponent program name"
|
|
|
|
default "tommath_mtest_opponent"
|
|
|
|
---help---
|
|
|
|
LibTomMath mtest opponent application name
|
2021-06-07 04:09:54 +02:00
|
|
|
|
|
|
|
config LIBTOMMATH_MTEST_OPPONENT_PRIORITY
|
2023-02-09 15:24:20 +01:00
|
|
|
int "MTest opponent application priority"
|
|
|
|
default 100
|
2021-06-07 04:09:54 +02:00
|
|
|
|
|
|
|
config LIBTOMMATH_MTEST_OPPONENT_STACKSIZE
|
2023-02-09 15:24:20 +01:00
|
|
|
int "MTest opponent application stack size"
|
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2021-06-07 04:09:54 +02:00
|
|
|
|
2022-10-24 05:38:22 +02:00
|
|
|
endif # LIBTOMMATH_MTEST_OPPONENT
|
2021-06-07 04:09:54 +02:00
|
|
|
|
|
|
|
config LIBTOMMATH_TIMING
|
2023-02-09 15:24:20 +01:00
|
|
|
tristate "LibTomMath Timing"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Demo timing test application for LibTomMath
|
2021-06-07 04:09:54 +02:00
|
|
|
|
|
|
|
if LIBTOMMATH_TIMING
|
|
|
|
|
|
|
|
config LIBTOMMATH_TIMING_PROGNAME
|
2023-02-09 15:24:20 +01:00
|
|
|
string "Timing program name"
|
|
|
|
default "tommath_timing"
|
|
|
|
---help---
|
|
|
|
LibTomMath test application name
|
2021-06-07 04:09:54 +02:00
|
|
|
|
|
|
|
config LIBTOMMATH_TIMING_PRIORITY
|
2023-02-09 15:24:20 +01:00
|
|
|
int "Timing application priority"
|
|
|
|
default 100
|
2021-06-07 04:09:54 +02:00
|
|
|
|
|
|
|
config LIBTOMMATH_TIMING_STACKSIZE
|
2023-02-09 15:24:20 +01:00
|
|
|
int "Timing application stack size"
|
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2021-06-07 04:09:54 +02:00
|
|
|
|
|
|
|
endif # LIBTOMMATH_TIMING
|
|
|
|
|
|
|
|
endif # LIBTOMMATH_DEMOS
|
|
|
|
|
2022-10-24 05:38:22 +02:00
|
|
|
config LIBTOMMATH_MTEST
|
2023-02-09 15:24:20 +01:00
|
|
|
tristate "LibTomMath MPI Math Library Mtest"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
LibTomMath mtest applications for LibTomMath
|
2022-10-24 05:38:22 +02:00
|
|
|
|
|
|
|
if LIBTOMMATH_MTEST
|
|
|
|
|
|
|
|
config LIBTOMMATH_MTEST_PROGNAME
|
2023-02-09 15:24:20 +01:00
|
|
|
string "Mtest program name"
|
|
|
|
default "tommath_mtest"
|
|
|
|
---help---
|
|
|
|
LibTomMath test application name
|
2022-10-24 05:38:22 +02:00
|
|
|
|
|
|
|
config LIBTOMMATH_MTEST_PRIORITY
|
2023-02-09 15:24:20 +01:00
|
|
|
int "Mtest application priority"
|
|
|
|
default 100
|
2022-10-24 05:38:22 +02:00
|
|
|
|
|
|
|
config LIBTOMMATH_MTEST_STACKSIZE
|
2023-02-09 15:24:20 +01:00
|
|
|
int "Mtest application stack size"
|
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2022-10-24 05:38:22 +02:00
|
|
|
|
|
|
|
endif # LIBTOMMATH_MTEST
|
|
|
|
|
2021-06-07 04:09:54 +02:00
|
|
|
endif # MATH_LIBTOMMATH
|