Hi, I downloaded a project from Git. I tried to open in SES using nRF Connect SDK. During the initial Cmake, the error occurs as shown in attached image.


Hi, I downloaded a project from Git. I tried to open in SES using nRF Connect SDK. During the initial Cmake, the error occurs as shown in attached image.


Hi,
Could you give me a link to the project you downloaded? There seems to be some issues in the Kconfig files.
The link is :github.com/.../asset-tracker-cloud-firmware-azure
Ah, I see. Looks like that project may be using the main branch of the SDK, not v1.9.1.
That specific error is due to a missing name on line 7 in nrf/subsys/net/lib/nrf_cloud/Kconfig.nrf_cloud_client_id.
Try adding "NRF_CLOUD_CLIENT_ID_SRC" after "choice" like this:
menu "Client ID (nRF Cloud Device ID)" choice NRF_CLOUD_CLIENT_ID_SRC prompt "Client ID Source" default NRF_CLOUD_CLIENT_ID_SRC_IMEI
If you run into bigger issues with that project, try using the main branch of the SDK instead: https://github.com/nrfconnect/sdk-nrf
Ah, I see. Looks like that project may be using the main branch of the SDK, not v1.9.1.
That specific error is due to a missing name on line 7 in nrf/subsys/net/lib/nrf_cloud/Kconfig.nrf_cloud_client_id.
Try adding "NRF_CLOUD_CLIENT_ID_SRC" after "choice" like this:
menu "Client ID (nRF Cloud Device ID)" choice NRF_CLOUD_CLIENT_ID_SRC prompt "Client ID Source" default NRF_CLOUD_CLIENT_ID_SRC_IMEI
If you run into bigger issues with that project, try using the main branch of the SDK instead: https://github.com/nrfconnect/sdk-nrf
Hi, NRF_CLOUD_CLIENT_ID_SRC is for NRF CLOUD. But, I need to implement Azure-IOT ... Pls, suggest accordingly ..
When you open your project in SES, on the screen where you choose the project and board, click "Extended Settings" and add this in "Extra CMake Build Options":
-DOVERLAY_CONFIG=overlay-azure.conf;overlay-debug.conf;asset-tracker-cloud-firmware-azure.conf;firmware.conf
If you get an error, try this instead:
-DOVERLAY_CONFIG=overlay-azure.conf;overlay-debug.conf;asset-tracker-cloud-firmware-azure.conf