Asset Tracker V2 , where does the overlay-aws.conf file go to include it for the build

Hi,

Question is in Yellow

I am configuring the asset tracker v2 :

URL: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/asset_tracker_v2/doc/asset_tracker_v2_description.html#atv2-application-configuration

And have set the parameters in the overlay-aws.conf file

Note: The cloud service selected AWS IoT

Note: The CONFIG_AWS_IOT_BROKER_HOST NAME = "a3803pm3fycy7p-ats.iot.us-west-1.amazonaws.com"

Note: The CONFIG_AWS_IOT_CLIENT_ID_STATIC = "pagps-dev-01",

Note: The CONFIG_MQTT_HELPER_SEC_TAG = 201

Where do I include the overlay-aws.conf to build the firmware ?

I believe I put it in the CMakeLists.txt file , but I am not sure how to do it 

Can you please let me know the exact text to put into the CMakeList.txt file ?

  • Hi,

    While it is possible to add it in CMakeList.txt, I recommend that you add it as a Kconfig fragment in your build configuration:

    After pressing the "Add fragment" button, you can select overlay-aws.conf from the dropdown menu.

    If you already have a build configuration, you can right-click it and select "Edit Build Configuration" if you don't want to add a new one.

    Best regards,

    Didrik

Related