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.
Hi, after making changes in Extra Settings, as suggested by you, the project got created. When, Build is RUN, the following error occurs

Ok, I've talked to the developer of the application and I'd like to take a step back and figure some things out.
Downloading that github repo is not how we recommend users access the asset_tracker project. Instead we recommend following the steps in the documentation: https://nordicsemiconductor.github.io/asset-tracker-cloud-docs/v1.8.x/docs/firmware/azure/Index.html
There is a version of the asset tracker at nrf/applications/asset_tracker_v2 which works out of the box with v1.9.1. You can add the Extra CMake Build Options when opening that project to build it for azure. Is that what you are looking for?
Is there is a specific feature in the updated repo that you need, which you can not find in the v1.9.1 version?
Thanks for your reply. I tried open deafut Asset_tracker_v2 provided by Nordic, by adding both of suggested overlay configurations thorugh Extra Settings one by one, but project does not got created and the error appears as shown in images:


Earlier you were using v1.9.1, but in this image you seem to be using v1.7.1.
Do you get errors in v1.9.1 also?
Earlier you were using v1.9.1, but in this image you seem to be using v1.7.1.
Do you get errors in v1.9.1 also?
Yes, I tested in 1.9.1 also. Error appears, but the line number changes.
In 1.7.1 the error is .... /cmake/Kconfig.cmake: 209
in 1.9.1 /cmake/Kconfig.cmake: 213
in both case project is not created and opened.
Then, I copied azure-tracker-cloud-firmware-azure.conf file from the Git Asset_tracker and pasted in deafult asste_tracker_v2 folder. The project is created and opened but now Build error asking DPS_ID scope.
what changes should I make in azure_iot_hub_dps.c file so that azure cloud coonectivity is achieved ?
Do not add the conf file from another project.
You should go through the Getting Started section of the documentation that I linked, there you will set up Azure and get the value to should set CONFIG_AZURE_IOT_HUB_DPS_ID_SCOPE to.
Do not add the conf file from another project.
Where is the azure-tracker-cloud-firmware-azure.conf file in asset_tracker_v2 ..?
There are multiple versions of the application, and the version in 1.9.1 does not have that config file. So you can remove that file from the CMake Build Options when you are building the version found in 1.9.1.
Be sure to set the mandatory configs in overlay-azure.conf, as described in the sample's documentation: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/applications/asset_tracker_v2/doc/cloud_module.html#mandatory-configurations
1. How to remove/ exclude the commands issued using Extra Settings while opening/ creating a project ?
2. In which file are the external settings saved after creation/ opening of project ?
3. Is it possible to manually edit the settings in file which were provided by extra settings option ?