This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can't build nRF Connect asset tracker

Hi all

I have an identical problem to this: https://devzone.nordicsemi.com/f/nordic-q-a/51567/can-t-build-nrf-connect-project

All my setup is the same, and the problem is exactly the same.

I've run west update after switching to tag v1.0.0

I have a mbedtls director in my ncs folder

Kind regards

Grant

  • Hi Øyvind

    I don't think there were any errors with west update.

    Do you mean to run those git and west commands in /Nordic_sourcecode_root/ncs OR in /Nordic_sourcecode_root/ncs/nrf ?

    Just to be clear: when I switched to v1.0.0 that was in /Nordic_sourcecode_root/ncs/nrf, as instructed in the Getting Started Assistant.

    Kind regards

    Grant

  • Hi Grant, 

    GSinclair said:
    I don't think there were any errors with west update.

    You might be right, but we have to verify.

    GSinclair said:
    Do you mean to run those git and west commands in /Nordic_sourcecode_root/ncs OR in /Nordic_sourcecode_root/ncs/nrf ?

    Sorry for not specifying that. Please run the commands in /Nordic_sourcecode_root/ncs/nrf as instructed by Getting Started Assistant. 

    Thanks!

    Kind regards,
    Øyvind

  • Have you tried with same procedures given below? If not able to fix, please register a new ticket so that we can keep track of your issue. 

    Thank you!

    Kind regards,
    Øyvind

  • Hi Øyvind
    Thanks for the clarification. Below is the output from those commands.
    And if I now try to import the asset_tracker example, it fails in exactly the same way as before.
    Kind regards
    Grant
    c:\Mockingbird\johncrisford\Nordic_sourcecode_root\ncs\nrf>git checkout master
    Previous HEAD position was 1f3f87d manifest: Updated manifest to use v1.0.0 release tags
    Switched to branch 'master'
    Your branch is up to date with 'origin/master'.
    c:\Mockingbird\johncrisford\Nordic_sourcecode_root\ncs\nrf>git pull
    remote: Enumerating objects: 8, done.
    remote: Counting objects: 100% (8/8), done.
    remote: Total 11 (delta 8), reused 8 (delta 8), pack-reused 3
    Unpacking objects: 100% (11/11), done.
    From github.com/.../fw-nrfconnect-nrf
       5ac4434..5978e80  master     -> origin/master
    Updating 5ac4434..5978e80
    Fast-forward
     subsys/bluetooth/gatt_pool.c | 6 ++++++
     subsys/spm/Kconfig           | 4 ++++
     subsys/spm/spm.c             | 2 ++
     3 files changed, 12 insertions(+)
    c:\Mockingbird\johncrisford\Nordic_sourcecode_root\ncs\nrf>git checkout v1.0.0
    Note: switching to 'v1.0.0'.
    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by switching back to a branch.
    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -c with the switch command. Example:
      git switch -c <new-branch-name>
    Or undo this operation with:
      git switch -
    Turn off this advice by setting config variable advice.detachedHead to false
    HEAD is now at 1f3f87d manifest: Updated manifest to use v1.0.0 release tags
    c:\Mockingbird\johncrisford\Nordic_sourcecode_root\ncs\nrf>west update
    === updating fw-nrfconnect-zephyr (zephyr):
    --- fw-nrfconnect-zephyr: checked out bd8fd7f8982a2a2b03d65e415b8de17b94fa5a9a as detached HEAD
    === updating nffs (modules\fs\nffs):
    --- nffs: checked out bc62a2fa9d98ddb5d633c932ea199bc68e10f194 as detached HEAD
    === updating segger (modules\debug\segger):
    --- segger: checked out 6fcf61606d6012d2c44129edc033f59331e268bc as detached HEAD
    === updating fw-nrfconnect-mcuboot (mcuboot):
    --- fw-nrfconnect-mcuboot: checked out 424c716fb23234c3b0710d86dab6b2d5c64f8110 as detached HEAD
    === updating fw-nrfconnect-mcumgr (modules\lib\mcumgr):
    --- fw-nrfconnect-mcumgr: checked out f663988d35da559a37f263d369842dbce309d1fa as detached HEAD
    === updating fw-nrfconnect-tinycbor (modules\lib\tinycbor):
    --- fw-nrfconnect-tinycbor: checked out 543ecb7c8662580ef803d59ceda7bd3b8a84a11b as detached HEAD
    === updating nrfxlib (nrfxlib):
    --- nrfxlib: checked out 757708d44dfc118397c7586af45e5d1ebed08509 as detached HEAD
    === updating cmock (test\cmock):
    --- cmock: checked out c243b9a7a7b3c471023193992b46cf1bd1910450 as detached HEAD
    === updating unity (test\cmock\vendor\unity):
    --- unity: checked out 031f3bbe45f8adf504ca3d13e6f093869920b091 as detached HEAD
    === updating mbedtls (mbedtls):
    --- mbedtls: checked out 53546ea099f6f53d0be653a64accd250e170337f as detached HEAD
Related