nuttx-apps/testing/nand_sim/Kconfig
zhangshoukui 54d73e4666 TESTING_NAND_SIM: Add depends on
apps/testing/nand_sim/nand_sim_main.c:172:(.text.nand_main+0x93): undefined reference to `nand_ram_initialize'
collect2: error: ld returned 1 exit status

Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2024-12-26 23:32:49 +08:00

35 lines
798 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config TESTING_NAND_SIM
boolean "NAND Flash Simulator"
depends on MTD_NAND_RAM
default n
---help---
Enable the NAND Flash Simulator device.
if TESTING_NAND_SIM
config TESTING_NAND_SIM_SIZE
int "Size of NAND Flash in MB"
default 2
---help---
Size of NAND Flash in Megabytes.
config TESTING_NAND_SIM_DEBUG
int "Debugging mode"
default 1
range 0 2
---help---
0 - Disable debugging mode
1 - Enable debugging mode to standard I/O
2 - Enable debugging mode to a special file
config TESTING_NAND_SIM_STACK
int "Builtin task stack size"
default DEFAULT_TASK_STACKSIZE
---help---
Size of the task to configure when started nand from NSH
endif