mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
add cmock_test for enet in order to test send and receive pkt Signed-off-by: zhangkai25 <zhangkai25@xiaomi.com>
32 lines
632 B
Text
32 lines
632 B
Text
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config ENET_TEST
|
|
tristate "cmocka enet test"
|
|
default n
|
|
depends on TESTING_CMOCKA
|
|
---help---
|
|
Enable the cmocka enet test
|
|
|
|
if ENET_TEST
|
|
config ENET_TEST_PROGNAME
|
|
string "Program name"
|
|
default "enet_test"
|
|
---help---
|
|
This is the name of the cmocka program that will be used as enet test.
|
|
|
|
config ENET_TEST_PRIORITY
|
|
int "Task priority"
|
|
default 100
|
|
|
|
config ENET_TEST_STACKSIZE
|
|
int "Stack size"
|
|
default DEFAULT_TASK_STACKSIZE
|
|
|
|
config ENET_TEST_DEV
|
|
string "Dev Node"
|
|
default "eth0"
|
|
|
|
endif
|