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
  • my bad, I thought CONFIG_POWEROFF is user configurable but it does not look like it is not directly user configurable.

    Can you attach your project so that I can try to fix the error for you and save some time in trying to understand your setup?

  • Hi

    I am able to figure out where the issue is,

    I try to build from the first commit 

    Those commits are working fine and in one of the commit we added hci_ipc.conf file to the child_image , After that  cmake error is coming only in my PC

    CONFIG_BT_MAX_CONN=4
    CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT=2
    
    CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
    CONFIG_BT_BUF_ACL_RX_SIZE=251
    CONFIG_BT_BUF_ACL_TX_SIZE=251
    
    CONFIG_BT_EXT_ADV=y
    CONFIG_BT_EXT_ADV_MAX_ADV_SET=2
    
    CONFIG_BT_CTLR_SDC_TX_PACKET_COUNT=21

    Can you check this file and find a solution for it?

    Thank you

Reply Children
No Data
Related