Error while compiling nrf vs code

Hi,

I am using nRF5340 DK and nRF SDK V.2.6.1 for my project

While compiling the custom project in nrf vs code , I am getting the following error;

Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'B:\Nordic\toolchains\cf2149caf2\opt\bin\cmake.EXE' -DWEST_PYTHON=B:/Nordic/toolchains/cf2149caf2/opt/bin/python.exe '-Bb:\Nordic\ridegrid-dev-ananth-prod_release01\build' -GNinja '-Sb:\Nordic\ridegrid-dev-ananth-prod_release01'

In problem side;

Unknown symbol CONFIG_BT_SCAN

Unknown symbol CONFIG_BT_SCAN_FILTER_ENABLE

Unknown symbol CONFIG_BT_SCAN_UUID_CNT

Unknown symbol CONFIG_BT_SCAN_NAME_CNT

Unknown symbol CONFIG_BT_GATT_DM

Unknown symbol CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU

Unknown symbol CONFIG_NRF53_UPGRADE_NETWORK_CORE

Unknown symbol CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU_SPEEDUP

I can compile the example codes 

There is showing error only  while compiling the custom project in vs code

Thanks 

Parents
  • There are clearly unresolved dependencies in the project and the log is giving those details of what dependencies are unsatisfied.

    You can either ignore the warnings if these settings are not something you explicitly set by adding this in prj.conf

    CONFIG_WARNINGS_AS_ERRORS=n

    You can give me your prj.conf so that I can try to see if the dependencies are satisfied there. also add some logs

    CONFIG_BT_CTLR=y                  
    CONFIG_BT_CTLR_DATA_LENGTH_MAX=251 
    CONFIG_BT_CTLR_PHY=y               
    CONFIG_BT_CTLR_PHY_2M_SUPPORT=y    
    CONFIG_BT_CTLR_ADV_EXT=n           
    CONFIG_BT_CTLR_SDC_TX_PACKET_COUNT=3 
    
    # Logging Configuration
    CONFIG_LOG=y                      
    CONFIG_LOG_DEFAULT_LEVEL=3         
    CONFIG_LOG_BACKEND_RTT=y           
    
    # Memory Configuration
    CONFIG_MAIN_STACK_SIZE=2048       
    CONFIG_HEAP_MEM_POOL_SIZE=10240    
    
    # Minimal C Library Configuration
    CONFIG_COMMON_LIBC_MALLOC=y        
    CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=102400 
    
    # Power Management
    CONFIG_HAS_POWEROFF=y             
    CONFIG_POWEROFF=y                  
    
    # Miscellaneous Configuration
    CONFIG_SPI_SLAVE=n                 

Reply Children
No Data
Related