This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 54d73e466 TESTING_NAND_SIM: Add depends on
54d73e466 is described below

commit 54d73e46663bc8e5862d7747cde5238bc5bbb839
Author: zhangshoukui <[email protected]>
AuthorDate: Wed Dec 25 17:06:08 2024 +0800

    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 <[email protected]>
---
 testing/nand_sim/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testing/nand_sim/Kconfig b/testing/nand_sim/Kconfig
index a32f4d6dc..ccf2c657b 100644
--- a/testing/nand_sim/Kconfig
+++ b/testing/nand_sim/Kconfig
@@ -5,6 +5,7 @@
 
 config TESTING_NAND_SIM
        boolean "NAND Flash Simulator"
+       depends on MTD_NAND_RAM
        default n
        ---help---
                Enable the NAND Flash Simulator device.

Reply via email to