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

project fails to load after I used git to update nrf9160 SDK from 1.0.0 to 1.1.0

I am using windows 10 and have been able to work with the FOTA sample for the nrf9160 for several months.

I needed to update the SDK from 1.0.0 to 1.1.0. I followed the instructions in the nrfConnect tool including

updating to the latest version of the compiler. 

I get the following in the output window in SES. I get a similar error when I try to load in the ble_gateway project

Loading solution aws_fota.emProject
Executing load commands
cmake -GNinja -DBOARD=nrf9160_pca10090ns -DBOARD_DIR=C:/Projects/PCDWorks/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:/gnuarmemb -BC:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/aws_fota/build_nrf9160_pca10090ns -HC:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/aws_fota -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:/Program Files/SEGGER/arm_segger_embedded_studio_v430c_win_x64_nordic/html/configure_nordic_project_menuconfig.py
-- Using application from 'C:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/aws_fota'
Zephyr version: 1.14.99
-- Selected BOARD nrf9160_pca10090ns
-- Found west: C:/Python37/Scripts/west.exe (found suitable version "0.5.8", minimum required is "0.5.6")
validation.invalid
 --- All found errors ---
["Key 'repo-path' was not defined. Path: '/projects/0'", "Key 'repo-path' was not defined. Path: '/projects/3'", "Key 'repo-path' was not defined. Path: '/projects/4'", "Key 'repo-path' was not defined. Path: '/projects/5'", "Key 'repo-path' was not defined. Path: '/projects/6'", "Key 'repo-path' was not defined. Path: '/projects/12'"]
Traceback (most recent call last):
  File "C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\manifest.py", line 153, in __init__
    schema_files=[_SCHEMA_PATH[key]]
  File "c:\python37\lib\site-packages\pykwalify\core.py", line 167, in validate
    error_msg=u'.\n - '.join(self.validation_errors)))
pykwalify.errors.SchemaError: <SchemaError: error code 2: Schema validation failed:
 - Key 'repo-path' was not defined. Path: '/projects/0'.
 - Key 'repo-path' was not defined. Path: '/projects/3'.
 - Key 'repo-path' was not defined. Path: '/projects/4'.
 - Key 'repo-path' was not defined. Path: '/projects/5'.
 - Key 'repo-path' was not defined. Path: '/projects/6'.
 - Key 'repo-path' was not defined. Path: '/projects/12'.: Path: '/'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "c:\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python37\Scripts\west.exe\__main__.py", line 9, in <module>
  File "c:\python37\lib\site-packages\west\_bootstrap\main.py", line 499, in main
    wrap(wrap_argv)
  File "c:\python37\lib\site-packages\west\_bootstrap\main.py", line 485, in wrap
    west.main.main(argv)
  File "C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\main.py", line 569, in main
    extensions = get_extension_commands()
  File "C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\main.py", line 531, in get_extension_commands
    extensions = extension_commands()
  File "C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\commands\command.py", line 181, in extension_commands
    manifest = Manifest.from_file()
  File "C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\manifest.py", line 91, in from_file
    return Manifest(source_file=source_file, sections=sections)
  File "C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\manifest.py", line 156, in __init__
    self._malformed(e, key)
  File "C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\manifest.py", line 226, in _malformed
    complaint))
west.manifest.MalformedManifest: Malformed manifest file C:\Projects\PCDWorks\nRF9160\ncs\nrf\west.yml (schema: C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\manifest-schema.yml):
<SchemaError: error code 2: Schema validation failed:
 - Key 'repo-path' was not defined. Path: '/projects/0'.
 - Key 'repo-path' was not defined. Path: '/projects/3'.
 - Key 'repo-path' was not defined. Path: '/projects/4'.
 - Key 'repo-path' was not defined. Path: '/projects/5'.
 - Key 'repo-path' was not defined. Path: '/projects/6'.
 - Key 'repo-path' was not defined. Path: '/projects/12'.: Path: '/'>

CMake Error at C:/Projects/PCDWorks/nRF9160/ncs/zephyr/cmake/zephyr_module.cmake:45 (message):
  Traceback (most recent call last):
    File "C:/Projects/PCDWorks/nRF9160/ncs/zephyr/scripts/zephyr_module.py", line 168, in <module>
      main()
    File "C:/Projects/PCDWorks/nRF9160/ncs/zephyr/scripts/zephyr_module.py", line 142, in main
      returncode=p.returncode)
  subprocess.CalledProcessError: Command '['C:/Python37/Scripts/west.exe',
  'list', '--format={posixpath}']' returned non-zero exit status 1.
Call Stack (most recent call first):
  C:/Projects/PCDWorks/nRF9160/ncs/zephyr/cmake/app/boilerplate.cmake:249 (include)
  CMakeLists.txt:10 (include)

-- Configuring incomplete, errors occurred!
Project load failed
Reported error: solution load command failed (1)
Parents
  • Here is additional information. The following is the output from the command line from attempting to update the project using west

    Microsoft Windows [Version 10.0.17763.973]
    (c) 2018 Microsoft Corporation. All rights reserved.
    C:\Projects\PCDWorks\nRF9160\ncs\nrf>git fetch origin
    C:\Projects\PCDWorks\nRF9160\ncs\nrf>git checkout v1.1.0
    HEAD is now at d3130d77 manifest: Use v1.1.0 release tags
    M       samples/nrf9160/aws_fota/CMakeLists.txt
    M       subsys/net/lib/aws_fota/src/aws_fota.c
    C:\Projects\PCDWorks\nRF9160\ncs\nrf>west update
    validation.invalid
     --- All found errors ---
    ["Key 'repo-path' was not defined. Path: '/projects/0'", "Key 'repo-path' was not defined. Path: '/projects/3'", "Key 'repo-path' was not defined. Path: '/projects/4'", "Key 'repo-path' was not defined. Path: '/projects/5'", "Key 'repo-path' was not defined. Path: '/projects/6'", "Key 'repo-path' was not defined. Path: '/projects/12'"]
    Traceback (most recent call last):
      File "C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\manifest.py", line 153, in __init__
        schema_files=[_SCHEMA_PATH[key]]
      File "c:\python37\lib\site-packages\pykwalify\core.py", line 167, in validate
        error_msg=u'.\n - '.join(self.validation_errors)))
    pykwalify.errors.SchemaError: <SchemaError: error code 2: Schema validation failed:
     - Key 'repo-path' was not defined. Path: '/projects/0'.
     - Key 'repo-path' was not defined. Path: '/projects/3'.
     - Key 'repo-path' was not defined. Path: '/projects/4'.
     - Key 'repo-path' was not defined. Path: '/projects/5'.
     - Key 'repo-path' was not defined. Path: '/projects/6'.
     - Key 'repo-path' was not defined. Path: '/projects/12'.: Path: '/'>
    During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
      File "c:\python37\lib\runpy.py", line 193, in _run_module_as_main
        "__main__", mod_spec)
      File "c:\python37\lib\runpy.py", line 85, in _run_code
        exec(code, run_globals)
      File "C:\Python37\Scripts\west.exe\__main__.py", line 9, in <module>
      File "c:\python37\lib\site-packages\west\_bootstrap\main.py", line 499, in main
        wrap(wrap_argv)
      File "c:\python37\lib\site-packages\west\_bootstrap\main.py", line 485, in wrap
        west.main.main(argv)
      File "C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\main.py", line 569, in main
        extensions = get_extension_commands()
      File "C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\main.py", line 531, in get_extension_commands
        extensions = extension_commands()
      File "C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\commands\command.py", line 181, in extension_commands
        manifest = Manifest.from_file()
      File "C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\manifest.py", line 91, in from_file
        return Manifest(source_file=source_file, sections=sections)
      File "C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\manifest.py", line 156, in __init__
        self._malformed(e, key)
      File "C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\manifest.py", line 226, in _malformed
        complaint))
    west.manifest.MalformedManifest: Malformed manifest file C:\Projects\PCDWorks\nRF9160\ncs\nrf\west.yml (schema: C:\Projects\PCDWorks\nRF9160\ncs\.west\west\src\west\manifest-schema.yml):
    <SchemaError: error code 2: Schema validation failed:
     - Key 'repo-path' was not defined. Path: '/projects/0'.
     - Key 'repo-path' was not defined. Path: '/projects/3'.
     - Key 'repo-path' was not defined. Path: '/projects/4'.
     - Key 'repo-path' was not defined. Path: '/projects/5'.
     - Key 'repo-path' was not defined. Path: '/projects/6'.
     - Key 'repo-path' was not defined. Path: '/projects/12'.: Path: '/'>
    C:\Projects\PCDWorks\nRF9160\ncs\nrf>
  • Also if I try to use west in a new folder parallel to my existing working folder I get the following:

    Receiving objects: 100% (23039/23039), 9.03 MiB | 3.58 MiB/s, done.
    Resolving deltas: 100% (15895/15895), done.
    From github.com/.../fw-nrfconnect-nrf
     * tag               v1.1.0      -> FETCH_HEAD
     * [new branch]      master      -> origin/master
     * [new branch]      v1.0-branch -> origin/v1.0-branch
     * [new branch]      v1.1-branch -> origin/v1.1-branch
     * [new tag]         v0.1.0      -> v0.1.0
     * [new tag]         v0.1.0-rc1  -> v0.1.0-rc1
     * [new tag]         v0.3.0      -> v0.3.0
     * [new tag]         v0.3.0-rc1  -> v0.3.0-rc1
     * [new tag]         v0.3.0-rc2  -> v0.3.0-rc2
     * [new tag]         v0.4.0      -> v0.4.0
     * [new tag]         v0.4.0-rc1  -> v0.4.0-rc1
     * [new tag]         v0.4.0-rc2  -> v0.4.0-rc2
     * [new tag]         v1.0.0      -> v1.0.0
     * [new tag]         v1.0.0-rc1  -> v1.0.0-rc1
     * [new tag]         v1.0.0-rc2  -> v1.0.0-rc2
     * [new tag]         v1.0.0-rc3  -> v1.0.0-rc3
     * [new tag]         v1.0.0-rc4  -> v1.0.0-rc4
     * [new tag]         v1.1.0      -> v1.1.0
     * [new tag]         v1.1.0-rc1  -> v1.1.0-rc1
     * [new tag]         v1.1.0-rc2  -> v1.1.0-rc2
     * [new tag]         v1.1.0-rc3  -> v1.1.0-rc3
    8c94096fa7cfca9970b531e30dcf7b116c78782b refs/tags/v1.1.0
    Checking out files: 100% (1238/1238), done.
    Note: checking out 'v1.1.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 performing another checkout.
    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:
      git checkout -b <new-branch-name>
    HEAD is now at d3130d77 manifest: Use v1.1.0 release tags
    cloning github.com/.../west at revision master
    [92m=== Cloning west repository from https://github.com/zephyrproject-rtos/west, rev. master into C:\Projects\PCDWorks\nrf9160_110\ncs\.west\west
    [0mInitialized empty Git repository in C:/Projects/PCDWorks/nrf9160_110/ncs/.west/west/.git/
    remote: Enumerating objects: 3276, done.
    Receiving objects:  99% (3244/3276)d 0 (delta 0), pack-reused 3276R
    Receiving objects: 100% (3276/3276), 932.94 KiB | 3.75 MiB/s, done.
    Resolving deltas: 100% (1945/1945), done.
    From https://github.com/zephyrproject-rtos/west
     * branch            master       -> FETCH_HEAD
     * [new branch]      master       -> origin/master
     * [new branch]      v0.6-branch  -> origin/v0.6-branch
     * [new tag]         v0.1.0       -> v0.1.0
     * [new tag]         v0.2.0       -> v0.2.0
     * [new tag]         v0.2.0rc1    -> v0.2.0rc1
     * [new tag]         v0.2.0rc2    -> v0.2.0rc2
     * [new tag]         v0.2.0rc3    -> v0.2.0rc3
     * [new tag]         v0.3.0       -> v0.3.0
     * [new tag]         v0.3.0rc1    -> v0.3.0rc1
     * [new tag]         v0.4.0       -> v0.4.0
     * [new tag]         v0.4.0rc1    -> v0.4.0rc1
     * [new tag]         v0.5.0       -> v0.5.0
     * [new tag]         v0.5.1       -> v0.5.1
     * [new tag]         v0.5.2       -> v0.5.2
     * [new tag]         v0.5.3       -> v0.5.3
     * [new tag]         v0.5.4       -> v0.5.4
     * [new tag]         v0.5.5       -> v0.5.5
     * [new tag]         v0.5.6       -> v0.5.6
     * [new tag]         v0.5.7       -> v0.5.7
     * [new tag]         v0.5.8       -> v0.5.8
     * [new tag]         v0.6.0       -> v0.6.0
     * [new tag]         v0.6.0rc1    -> v0.6.0rc1
     * [new tag]         v0.6.0rc2    -> v0.6.0rc2
     * [new tag]         v0.6.0rc3    -> v0.6.0rc3
     * [new tag]         v0.6.1       -> v0.6.1
     * [new tag]         v0.6.2       -> v0.6.2
     * [new tag]         v0.6.3       -> v0.6.3
     * [new tag]         v0.6.99.dev3 -> v0.6.99.dev3
     * [new tag]         v0.6.99.dev4 -> v0.6.99.dev4
    2101a7af38bedf2a3ea2c6cb1f70834b7151a9fb refs/remotes/origin/master
    Already on 'master'
    Branch 'master' set up to track remote branch 'master' from 'origin'.
    Error: no west.main in C:\Projects\PCDWorks\nrf9160_110\ncs\.west\west
    C:\Projects\PCDWorks\nrf9160_110\ncs>west update
    Error: "C:\Projects\PCDWorks\nrf9160_110\ncs" is not in a west installation.
    Things to try:
     - Set ZEPHYR_BASE to a zephyr repository path in a west installation.
     - Run "west init" to set up an installation here.
     - Run "west init -h" for additional information.
    C:\Projects\PCDWorks\nrf9160_110\ncs>west init
    Initializing in C:\Projects\PCDWorks\nrf9160_110\ncs
    [92m=== Cloning manifest repository from https://github.com/zephyrproject-rtos/zephyr, rev. master into C:\Projects\PCDWorks\nrf9160_110\ncs\.west\tmp
    [0mInitialized empty Git repository in C:/Projects/PCDWorks/nrf9160_110/ncs/.west/tmp/.git/
    remote: Enumerating objects: 18, done.
    remote: Counting objects: 100% (18/18), done.
    remote: Compressing objects: 100% (18/18), done.
    remote: Total 410928 (delta 5), reused 1 (delta 0), pack-reused 410910
    Receiving objects: 100% (410928/410928), 291.95 MiB | 2.99 MiB/s, done.
    Resolving deltas: 100% (307876/307876), done.
    From https://github.com/zephyrproject-rtos/zephyr
     * branch            master                 -> FETCH_HEAD
     * [new branch]      add_rgb565_font        -> origin/add_rgb565_font
     * [new branch]      arm                    -> origin/arm
     * [new branch]      backport-17058-to-v1.14-branch -> origin/backport-17058-to-v1.14-branch
     * [new branch]      backport-17066-to-v1.14-branch -> origin/backport-17066-to-v1.14-branch
     * [new branch]      backport-17067-to-v1.14-branch -> origin/backport-17067-to-v1.14-branch
     * [new branch]      backport-17141-to-v1.14-branch -> origin/backport-17141-to-v1.14-branch
     * [new branch]      backport-17159-to-v1.14-branch -> origin/backport-17159-to-v1.14-branch
     * [new branch]      backport-17227-to-v1.14-branch -> origin/backport-17227-to-v1.14-branch
     * [new branch]      backport-17263-to-v1.14-branch -> origin/backport-17263-to-v1.14-branch
     * [new branch]      backport-17474-to-v1.14-branch -> origin/backport-17474-to-v1.14-branch
     * [new branch]      backport-17847-to-v1.14-branch -> origin/backport-17847-to-v1.14-branch
     * [new branch]      backport-18040-to-v1.14-branch -> origin/backport-18040-to-v1.14-branch
     * [new branch]      backport-18744-to-v1.14-branch -> origin/backport-18744-to-v1.14-branch
     * [new branch]      backport-19020-to-v1.14-branch -> origin/backport-19020-to-v1.14-branch
     * [new branch]      backport-19166-to-v2.0-branch -> origin/backport-19166-to-v2.0-branch
     * [new branch]      backport-19185-to-v2.0-branch -> origin/backport-19185-to-v2.0-branch
     * [new branch]      backport-19194-to-v2.0-branch -> origin/backport-19194-to-v2.0-branch
     * [new branch]      backport-19211-to-v2.0-branch -> origin/backport-19211-to-v2.0-branch
     * [new branch]      backport-19266-to-v2.0-branch -> origin/backport-19266-to-v2.0-branch
     * [new branch]      backport-19268-to-v2.0-branch -> origin/backport-19268-to-v2.0-branch
     * [new branch]      backport-19533-to-v1.14-branch -> origin/backport-19533-to-v1.14-branch
     * [new branch]      backport-19580-to-v2.0-branch -> origin/backport-19580-to-v2.0-branch
     * [new branch]      backport-19789-to-v2.0-branch -> origin/backport-19789-to-v2.0-branch
     * [new branch]      backport-19792-to-v2.0-branch -> origin/backport-19792-to-v2.0-branch
     * [new branch]      backport-19819-to-v2.0-branch -> origin/backport-19819-to-v2.0-branch
     * [new branch]      backport-19920-to-v2.0-branch -> origin/backport-19920-to-v2.0-branch
     * [new branch]      backport-20354-to-v2.0-branch -> origin/backport-20354-to-v2.0-branch
     * [new branch]      bugfix/log_strdup_gatt -> origin/bugfix/log_strdup_gatt
     * [new branch]      master                 -> origin/master
     * [new branch]      topic-ble-llcp         -> origin/topic-ble-llcp
     * [new branch]      topic-gpio             -> origin/topic-gpio
     * [new branch]      topic-sensors          -> origin/topic-sensors
     * [new branch]      v1.10-branch           -> origin/v1.10-branch
     * [new branch]      v1.11-branch           -> origin/v1.11-branch
     * [new branch]      v1.12-branch           -> origin/v1.12-branch
     * [new branch]      v1.13-branch           -> origin/v1.13-branch
     * [new branch]      v1.14-branch           -> origin/v1.14-branch
     * [new branch]      v1.5-branch            -> origin/v1.5-branch
     * [new branch]      v1.6-branch            -> origin/v1.6-branch
     * [new branch]      v1.7-branch            -> origin/v1.7-branch
     * [new branch]      v1.8-branch            -> origin/v1.8-branch
     * [new branch]      v1.9-branch            -> origin/v1.9-branch
     * [new branch]      v2.0-branch            -> origin/v2.0-branch
     * [new branch]      v2.1-branch            -> origin/v2.1-branch
     * [new tag]         v1.0.0                 -> v1.0.0
     * [new tag]         v1.1.0                 -> v1.1.0
     * [new tag]         v1.1.0-rc1             -> v1.1.0-rc1
     * [new tag]         v1.10.0                -> v1.10.0
     * [new tag]         v1.10.0-rc1            -> v1.10.0-rc1
     * [new tag]         v1.10.0-rc2            -> v1.10.0-rc2
     * [new tag]         v1.10.0-rc3            -> v1.10.0-rc3
     * [new tag]         v1.11.0                -> v1.11.0
     * [new tag]         v1.11.0-rc1            -> v1.11.0-rc1
     * [new tag]         v1.11.0-rc2            -> v1.11.0-rc2
     * [new tag]         v1.11.0-rc3            -> v1.11.0-rc3
     * [new tag]         v1.12.0                -> v1.12.0
     * [new tag]         v1.12.0-rc1            -> v1.12.0-rc1
     * [new tag]         v1.12.0-rc2            -> v1.12.0-rc2
     * [new tag]         v1.12.0-rc3            -> v1.12.0-rc3
     * [new tag]         v1.13.0                -> v1.13.0
     * [new tag]         v1.13.0-rc1            -> v1.13.0-rc1
     * [new tag]         v1.13.0-rc2            -> v1.13.0-rc2
     * [new tag]         v1.13.0-rc3            -> v1.13.0-rc3
     * [new tag]         v1.14.0                -> v1.14.0
     * [new tag]         v1.14.0-rc1            -> v1.14.0-rc1
     * [new tag]         v1.14.0-rc2            -> v1.14.0-rc2
     * [new tag]         v1.14.0-rc3            -> v1.14.0-rc3
     * [new tag]         v1.14.1                -> v1.14.1
     * [new tag]         v1.14.1-rc1            -> v1.14.1-rc1
     * [new tag]         v1.14.1-rc2            -> v1.14.1-rc2
     * [new tag]         v1.14.1-rc3            -> v1.14.1-rc3
     * [new tag]         v1.2.0                 -> v1.2.0
     * [new tag]         v1.2.0-rc1             -> v1.2.0-rc1
     * [new tag]         v1.2.0-rc2             -> v1.2.0-rc2
     * [new tag]         v1.3.0                 -> v1.3.0
     * [new tag]         v1.3.0-rc1             -> v1.3.0-rc1
     * [new tag]         v1.3.0-rc2             -> v1.3.0-rc2
     * [new tag]         v1.4.0                 -> v1.4.0
     * [new tag]         v1.4.0-rc1             -> v1.4.0-rc1
     * [new tag]         v1.4.0-rc2             -> v1.4.0-rc2
     * [new tag]         v1.4.0-rc3             -> v1.4.0-rc3
     * [new tag]         v1.5.0                 -> v1.5.0
     * [new tag]         v1.5.0-rc0             -> v1.5.0-rc0
     * [new tag]         v1.5.0-rc1             -> v1.5.0-rc1
     * [new tag]         v1.5.0-rc2             -> v1.5.0-rc2
     * [new tag]         v1.5.0-rc3             -> v1.5.0-rc3
     * [new tag]         v1.5.0-rc4             -> v1.5.0-rc4
     * [new tag]         v1.6.0                 -> v1.6.0
     * [new tag]         v1.6.0-rc1             -> v1.6.0-rc1
     * [new tag]         v1.6.0-rc2             -> v1.6.0-rc2
     * [new tag]         v1.6.0-rc3             -> v1.6.0-rc3
     * [new tag]         v1.6.0-rc4             -> v1.6.0-rc4
     * [new tag]         v1.6.1                 -> v1.6.1
     * [new tag]         v1.6.1-rc              -> v1.6.1-rc
     * [new tag]         v1.6.99                -> v1.6.99
     * [new tag]         v1.7.0                 -> v1.7.0
     * [new tag]         v1.7.0-rc1             -> v1.7.0-rc1
     * [new tag]         v1.7.0-rc2             -> v1.7.0-rc2
     * [new tag]         v1.7.0-rc3             -> v1.7.0-rc3
     * [new tag]         v1.7.0-rc4             -> v1.7.0-rc4
     * [new tag]         v1.7.1                 -> v1.7.1
     * [new tag]         v1.7.1-rc              -> v1.7.1-rc
     * [new tag]         v1.7.99                -> v1.7.99
     * [new tag]         v1.8.0                 -> v1.8.0
     * [new tag]         v1.8.0-rc1             -> v1.8.0-rc1
     * [new tag]         v1.8.0-rc2             -> v1.8.0-rc2
     * [new tag]         v1.8.0-rc3             -> v1.8.0-rc3
     * [new tag]         v1.8.0-rc4             -> v1.8.0-rc4
     * [new tag]         v1.8.99                -> v1.8.99
     * [new tag]         v1.9.0                 -> v1.9.0
     * [new tag]         v1.9.0-rc1             -> v1.9.0-rc1
     * [new tag]         v1.9.0-rc2             -> v1.9.0-rc2
     * [new tag]         v1.9.0-rc3             -> v1.9.0-rc3
     * [new tag]         v1.9.0-rc4             -> v1.9.0-rc4
     * [new tag]         v1.9.1                 -> v1.9.1
     * [new tag]         v1.9.2                 -> v1.9.2
     * [new tag]         v2.0.0                 -> v2.0.0
     * [new tag]         v2.0.0-rc1             -> v2.0.0-rc1
     * [new tag]         v2.0.0-rc2             -> v2.0.0-rc2
     * [new tag]         v2.0.0-rc3             -> v2.0.0-rc3
     * [new tag]         v2.1.0                 -> v2.1.0
     * [new tag]         v2.1.0-rc1             -> v2.1.0-rc1
     * [new tag]         v2.1.0-rc2             -> v2.1.0-rc2
     * [new tag]         v2.1.0-rc3             -> v2.1.0-rc3
     * [new tag]         zephyr-v1.0.0          -> zephyr-v1.0.0
     * [new tag]         zephyr-v1.1.0          -> zephyr-v1.1.0
     * [new tag]         zephyr-v1.10.0         -> zephyr-v1.10.0
     * [new tag]         zephyr-v1.11.0         -> zephyr-v1.11.0
     * [new tag]         zephyr-v1.12.0         -> zephyr-v1.12.0
     * [new tag]         zephyr-v1.13.0         -> zephyr-v1.13.0
     * [new tag]         zephyr-v1.14.0         -> zephyr-v1.14.0
     * [new tag]         zephyr-v1.14.1         -> zephyr-v1.14.1
     * [new tag]         zephyr-v1.2.0          -> zephyr-v1.2.0
     * [new tag]         zephyr-v1.3.0          -> zephyr-v1.3.0
     * [new tag]         zephyr-v1.4.0          -> zephyr-v1.4.0
     * [new tag]         zephyr-v1.5.0          -> zephyr-v1.5.0
     * [new tag]         zephyr-v1.6.0          -> zephyr-v1.6.0
     * [new tag]         zephyr-v1.6.1          -> zephyr-v1.6.1
     * [new tag]         zephyr-v1.7.0          -> zephyr-v1.7.0
     * [new tag]         zephyr-v1.7.1          -> zephyr-v1.7.1
     * [new tag]         zephyr-v1.8.0          -> zephyr-v1.8.0
     * [new tag]         zephyr-v1.9.0          -> zephyr-v1.9.0
     * [new tag]         zephyr-v1.9.1          -> zephyr-v1.9.1
     * [new tag]         zephyr-v1.9.2          -> zephyr-v1.9.2
     * [new tag]         zephyr-v2.0.0          -> zephyr-v2.0.0
     * [new tag]         zephyr-v2.1.0          -> zephyr-v2.1.0
    05f0d85b6a93ff1471e2fd9133a940a50cc11666 refs/remotes/origin/master
    Checking out files: 100% (10837/10837), done.
    Already on 'master'
    Branch 'master' set up to track remote branch 'master' from 'origin'.
    cloning github.com/.../west at revision master
    [92m=== Cloning west repository from https://github.com/zephyrproject-rtos/west, rev. master into C:\Projects\PCDWorks\nrf9160_110\ncs\.west\west
    [0mInitialized empty Git repository in C:/Projects/PCDWorks/nrf9160_110/ncs/.west/west/.git/
    remote: Enumerating objects: 3276, done.
    Receiving objects: 100% (3276/3276), 935.02 KiB | 5.67 MiB/s, done.
    Resolving deltas: 100% (1945/1945), done.
    From https://github.com/zephyrproject-rtos/west
     * branch            master       -> FETCH_HEAD
     * [new branch]      master       -> origin/master
     * [new branch]      v0.6-branch  -> origin/v0.6-branch
     * [new tag]         v0.1.0       -> v0.1.0
     * [new tag]         v0.2.0       -> v0.2.0
     * [new tag]         v0.2.0rc1    -> v0.2.0rc1
     * [new tag]         v0.2.0rc2    -> v0.2.0rc2
     * [new tag]         v0.2.0rc3    -> v0.2.0rc3
     * [new tag]         v0.3.0       -> v0.3.0
     * [new tag]         v0.3.0rc1    -> v0.3.0rc1
     * [new tag]         v0.4.0       -> v0.4.0
     * [new tag]         v0.4.0rc1    -> v0.4.0rc1
     * [new tag]         v0.5.0       -> v0.5.0
     * [new tag]         v0.5.1       -> v0.5.1
     * [new tag]         v0.5.2       -> v0.5.2
     * [new tag]         v0.5.3       -> v0.5.3
     * [new tag]         v0.5.4       -> v0.5.4
     * [new tag]         v0.5.5       -> v0.5.5
     * [new tag]         v0.5.6       -> v0.5.6
     * [new tag]         v0.5.7       -> v0.5.7
     * [new tag]         v0.5.8       -> v0.5.8
     * [new tag]         v0.6.0       -> v0.6.0
     * [new tag]         v0.6.0rc1    -> v0.6.0rc1
     * [new tag]         v0.6.0rc2    -> v0.6.0rc2
     * [new tag]         v0.6.0rc3    -> v0.6.0rc3
     * [new tag]         v0.6.1       -> v0.6.1
     * [new tag]         v0.6.2       -> v0.6.2
     * [new tag]         v0.6.3       -> v0.6.3
     * [new tag]         v0.6.99.dev3 -> v0.6.99.dev3
     * [new tag]         v0.6.99.dev4 -> v0.6.99.dev4
    2101a7af38bedf2a3ea2c6cb1f70834b7151a9fb refs/remotes/origin/master
    Already on 'master'
    Branch 'master' set up to track remote branch 'master' from 'origin'.
    Error: no west.main in C:\Projects\PCDWorks\nrf9160_110\ncs\.west\west
    C:\Projects\PCDWorks\nrf9160_110\ncs>west update
    Error: no west.main in C:\Projects\PCDWorks\nrf9160_110\ncs\.west\west
    C:\Projects\PCDWorks\nrf9160_110\ncs>
  • For me, you should select nrf9160_pca10090ns for the Board Name. Then it could work. 

    -Amanda H.

  • Hi Amanda,

    I completely deleted the contents of the new ncs directory I had made for version v1.1.0

     * [new tag]         mbedtls-2.1.11-rc1          -> mbedtls-2.1.11-rc1
     * [new tag]         mbedtls-2.1.12              -> mbedtls-2.1.12
     * [new tag]         mbedtls-2.1.13              -> mbedtls-2.1.13
     * [new tag]         mbedtls-2.1.14              -> mbedtls-2.1.14
     * [new tag]         mbedtls-2.1.15              -> mbedtls-2.1.15
     * [new tag]         mbedtls-2.1.16              -> mbedtls-2.1.16
     * [new tag]         mbedtls-2.1.17              -> mbedtls-2.1.17
     * [new tag]         mbedtls-2.1.18              -> mbedtls-2.1.18
     * [new tag]         mbedtls-2.1.2               -> mbedtls-2.1.2
     * [new tag]         mbedtls-2.1.3               -> mbedtls-2.1.3
     * [new tag]         mbedtls-2.1.4               -> mbedtls-2.1.4
     * [new tag]         mbedtls-2.1.5               -> mbedtls-2.1.5
     * [new tag]         mbedtls-2.1.6               -> mbedtls-2.1.6
     * [new tag]         mbedtls-2.1.7               -> mbedtls-2.1.7
     * [new tag]         mbedtls-2.1.7-rc1           -> mbedtls-2.1.7-rc1
     * [new tag]         mbedtls-2.1.8               -> mbedtls-2.1.8
     * [new tag]         mbedtls-2.1.9               -> mbedtls-2.1.9
     * [new tag]         mbedtls-2.1.9-rc1           -> mbedtls-2.1.9-rc1
     * [new tag]         mbedtls-2.10.0              -> mbedtls-2.10.0
     * [new tag]         mbedtls-2.11.0              -> mbedtls-2.11.0
     * [new tag]         mbedtls-2.12.0              -> mbedtls-2.12.0
     * [new tag]         mbedtls-2.13.0              -> mbedtls-2.13.0
     * [new tag]         mbedtls-2.13.1              -> mbedtls-2.13.1
     * [new tag]         mbedtls-2.14.0              -> mbedtls-2.14.0
     * [new tag]         mbedtls-2.14.1              -> mbedtls-2.14.1
     * [new tag]         mbedtls-2.15.0              -> mbedtls-2.15.0
     * [new tag]         mbedtls-2.15.1              -> mbedtls-2.15.1
     * [new tag]         mbedtls-2.16.0              -> mbedtls-2.16.0
     * [new tag]         mbedtls-2.16.1              -> mbedtls-2.16.1
     * [new tag]         mbedtls-2.16.2              -> mbedtls-2.16.2
     * [new tag]         mbedtls-2.16.3              -> mbedtls-2.16.3
     * [new tag]         mbedtls-2.16.4              -> mbedtls-2.16.4
     * [new tag]         mbedtls-2.17.0              -> mbedtls-2.17.0
     * [new tag]         mbedtls-2.18.0              -> mbedtls-2.18.0
     * [new tag]         mbedtls-2.18.1              -> mbedtls-2.18.1
     * [new tag]         mbedtls-2.19.0              -> mbedtls-2.19.0
     * [new tag]         mbedtls-2.19.0d1            -> mbedtls-2.19.0d1
     * [new tag]         mbedtls-2.19.0d2            -> mbedtls-2.19.0d2
     * [new tag]         mbedtls-2.19.1              -> mbedtls-2.19.1
     * [new tag]         mbedtls-2.2.0               -> mbedtls-2.2.0
     * [new tag]         mbedtls-2.2.1               -> mbedtls-2.2.1
     * [new tag]         mbedtls-2.20.0              -> mbedtls-2.20.0
     * [new tag]         mbedtls-2.20.0d0            -> mbedtls-2.20.0d0
     * [new tag]         mbedtls-2.20.0d1            -> mbedtls-2.20.0d1
     * [new tag]         mbedtls-2.3.0               -> mbedtls-2.3.0
     * [new tag]         mbedtls-2.4.0               -> mbedtls-2.4.0
     * [new tag]         mbedtls-2.4.1               -> mbedtls-2.4.1
     * [new tag]         mbedtls-2.4.2               -> mbedtls-2.4.2
     * [new tag]         mbedtls-2.4.2-rc1           -> mbedtls-2.4.2-rc1
     * [new tag]         mbedtls-2.5.0               -> mbedtls-2.5.0
     * [new tag]         mbedtls-2.5.0-rc1           -> mbedtls-2.5.0-rc1
     * [new tag]         mbedtls-2.5.1               -> mbedtls-2.5.1
     * [new tag]         mbedtls-2.6.0               -> mbedtls-2.6.0
     * [new tag]         mbedtls-2.6.0-rc1           -> mbedtls-2.6.0-rc1
     * [new tag]         mbedtls-2.6.1               -> mbedtls-2.6.1
     * [new tag]         mbedtls-2.6.1-rc1           -> mbedtls-2.6.1-rc1
     * [new tag]         mbedtls-2.7.0               -> mbedtls-2.7.0
     * [new tag]         mbedtls-2.7.0-rc1           -> mbedtls-2.7.0-rc1
     * [new tag]         mbedtls-2.7.1               -> mbedtls-2.7.1
     * [new tag]         mbedtls-2.7.10              -> mbedtls-2.7.10
     * [new tag]         mbedtls-2.7.11              -> mbedtls-2.7.11
     * [new tag]         mbedtls-2.7.12              -> mbedtls-2.7.12
     * [new tag]         mbedtls-2.7.13              -> mbedtls-2.7.13
     * [new tag]         mbedtls-2.7.2               -> mbedtls-2.7.2
     * [new tag]         mbedtls-2.7.2-rc1           -> mbedtls-2.7.2-rc1
     * [new tag]         mbedtls-2.7.3               -> mbedtls-2.7.3
     * [new tag]         mbedtls-2.7.4               -> mbedtls-2.7.4
     * [new tag]         mbedtls-2.7.5               -> mbedtls-2.7.5
     * [new tag]         mbedtls-2.7.6               -> mbedtls-2.7.6
     * [new tag]         mbedtls-2.7.7               -> mbedtls-2.7.7
     * [new tag]         mbedtls-2.7.8               -> mbedtls-2.7.8
     * [new tag]         mbedtls-2.7.9               -> mbedtls-2.7.9
     * [new tag]         mbedtls-2.8.0               -> mbedtls-2.8.0
     * [new tag]         mbedtls-2.8.0-rc1           -> mbedtls-2.8.0-rc1
     * [new tag]         mbedtls-2.9.0               -> mbedtls-2.9.0
     * [new tag]         mbedtls-3.0.0p1             -> mbedtls-3.0.0p1
     * [new tag]         polarssl-0.10.0             -> polarssl-0.10.0
     * [new tag]         polarssl-0.10.1             -> polarssl-0.10.1
     * [new tag]         polarssl-0.11.0             -> polarssl-0.11.0
     * [new tag]         polarssl-0.11.1             -> polarssl-0.11.1
     * [new tag]         polarssl-0.12.0             -> polarssl-0.12.0
     * [new tag]         polarssl-0.12.1             -> polarssl-0.12.1
     * [new tag]         polarssl-0.13.0             -> polarssl-0.13.0
     * [new tag]         polarssl-0.13.1             -> polarssl-0.13.1
     * [new tag]         polarssl-0.14.0             -> polarssl-0.14.0
     * [new tag]         polarssl-0.14.1             -> polarssl-0.14.1
     * [new tag]         polarssl-0.14.2             -> polarssl-0.14.2
     * [new tag]         polarssl-0.14.3             -> polarssl-0.14.3
     * [new tag]         polarssl-0.99-pre1          -> polarssl-0.99-pre1
     * [new tag]         polarssl-0.99-pre2          -> polarssl-0.99-pre2
     * [new tag]         polarssl-0.99-pre3          -> polarssl-0.99-pre3
     * [new tag]         polarssl-0.99-pre4          -> polarssl-0.99-pre4
     * [new tag]         polarssl-0.99-pre5          -> polarssl-0.99-pre5
     * [new tag]         polarssl-1.0.0              -> polarssl-1.0.0
     * [new tag]         polarssl-1.1.0              -> polarssl-1.1.0
     * [new tag]         polarssl-1.1.0-rc0          -> polarssl-1.1.0-rc0
     * [new tag]         polarssl-1.1.0-rc1          -> polarssl-1.1.0-rc1
     * [new tag]         polarssl-1.1.1              -> polarssl-1.1.1
     * [new tag]         polarssl-1.1.2              -> polarssl-1.1.2
     * [new tag]         polarssl-1.1.3              -> polarssl-1.1.3
     * [new tag]         polarssl-1.1.4              -> polarssl-1.1.4
     * [new tag]         polarssl-1.1.5              -> polarssl-1.1.5
     * [new tag]         polarssl-1.1.6              -> polarssl-1.1.6
     * [new tag]         polarssl-1.1.7              -> polarssl-1.1.7
     * [new tag]         polarssl-1.1.8              -> polarssl-1.1.8
     * [new tag]         polarssl-1.2.0              -> polarssl-1.2.0
     * [new tag]         polarssl-1.2.0-pre1         -> polarssl-1.2.0-pre1
     * [new tag]         polarssl-1.2.1              -> polarssl-1.2.1
     * [new tag]         polarssl-1.2.10             -> polarssl-1.2.10
     * [new tag]         polarssl-1.2.11             -> polarssl-1.2.11
     * [new tag]         polarssl-1.2.12             -> polarssl-1.2.12
     * [new tag]         polarssl-1.2.13             -> polarssl-1.2.13
     * [new tag]         polarssl-1.2.14             -> polarssl-1.2.14
     * [new tag]         polarssl-1.2.15             -> polarssl-1.2.15
     * [new tag]         polarssl-1.2.16             -> polarssl-1.2.16
     * [new tag]         polarssl-1.2.17             -> polarssl-1.2.17
     * [new tag]         polarssl-1.2.18             -> polarssl-1.2.18
     * [new tag]         polarssl-1.2.19             -> polarssl-1.2.19
     * [new tag]         polarssl-1.2.2              -> polarssl-1.2.2
     * [new tag]         polarssl-1.2.3              -> polarssl-1.2.3
     * [new tag]         polarssl-1.2.4              -> polarssl-1.2.4
     * [new tag]         polarssl-1.2.5              -> polarssl-1.2.5
     * [new tag]         polarssl-1.2.6              -> polarssl-1.2.6
     * [new tag]         polarssl-1.2.7              -> polarssl-1.2.7
     * [new tag]         polarssl-1.2.8              -> polarssl-1.2.8
     * [new tag]         polarssl-1.2.9              -> polarssl-1.2.9
     * [new tag]         polarssl-1.3-alpha1         -> polarssl-1.3-alpha1
     * [new tag]         polarssl-1.3.0              -> polarssl-1.3.0
     * [new tag]         polarssl-1.3.0-rc0          -> polarssl-1.3.0-rc0
     * [new tag]         polarssl-1.3.1              -> polarssl-1.3.1
     * [new tag]         polarssl-1.3.2              -> polarssl-1.3.2
     * [new tag]         polarssl-1.3.3              -> polarssl-1.3.3
     * [new tag]         polarssl-1.3.4              -> polarssl-1.3.4
     * [new tag]         polarssl-1.3.5              -> polarssl-1.3.5
     * [new tag]         polarssl-1.3.6              -> polarssl-1.3.6
     * [new tag]         polarssl-1.3.7              -> polarssl-1.3.7
     * [new tag]         polarssl-1.3.8              -> polarssl-1.3.8
     * [new tag]         polarssl-1.3.9              -> polarssl-1.3.9
     * [new tag]         yotta-2.2.1                 -> yotta-2.2.1
     * [new tag]         yotta-2.2.2                 -> yotta-2.2.2
     * [new tag]         yotta-2.2.3                 -> yotta-2.2.3
     * [new tag]         yotta-2.3.0                 -> yotta-2.3.0
     * [new tag]         yotta-2.3.1                 -> yotta-2.3.1
     * [new tag]         yotta-2.3.2                 -> yotta-2.3.2
    Checking out files: 100% (992/992), done.
    HEAD is now at 04a049bda Merge remote-tracking branch 'origin/pr/2823' into mbedtls-2.16
    --- mbedtls-nrf: checked out 04a049bda1ceca48060b57bc4bcf5203ce591421 as detached HEAD
    === updating civetweb (modules\lib\civetweb):
    --- civetweb: cloning and initializing
    Initialized empty Git repository in C:/Projects/PCDWorks/nrf9160_110/ncs/modules/lib/civetweb/.git/
    --- civetweb: fetching, need revision 99129c5efc907ea613c4b73ccff07581feb58a7a
    remote: Enumerating objects: 291, done.
    remote: Counting objects: 100% (291/291), done.
    remote: Compressing objects: 100% (197/197), done.
    Receiving objects: 100% (21547/21547), 24.77 MiB | 3.90 MiB/s, done.21256 eceiving objects: 100% (21547/21547), 23.80 MiB | 3.81 MiB/s
    Resolving deltas: 100% (13810/13810), done.
    From github.com/.../civetweb
     * [new branch]      1.9                 -> refs/west/1.9
     * [new branch]      master              -> refs/west/master
     * [new branch]      wip-ssl-error-queue -> refs/west/wip-ssl-error-queue
     * [new tag]         v1.1                -> v1.1
     * [new tag]         v1.10               -> v1.10
     * [new tag]         v1.11               -> v1.11
     * [new tag]         v1.2                -> v1.2
     * [new tag]         v1.3                -> v1.3
     * [new tag]         v1.4                -> v1.4
     * [new tag]         v1.5                -> v1.5
     * [new tag]         v1.6                -> v1.6
     * [new tag]         v1.7                -> v1.7
     * [new tag]         v1.8                -> v1.8
     * [new tag]         v1.9                -> v1.9
     * [new tag]         v1.9.1              -> v1.9.1
    Checking out files: 100% (1251/1251), done.
    HEAD is now at 99129c5e Merge pull request #778 from antmicro/zephyr-filtering
    --- civetweb: checked out 99129c5efc907ea613c4b73ccff07581feb58a7a as detached HEAD
    === updating fatfs (modules\fs\fatfs):
    --- fatfs: cloning and initializing
    Initialized empty Git repository in C:/Projects/PCDWorks/nrf9160_110/ncs/modules/fs/fatfs/.git/
    --- fatfs: fetching, need revision df96914dd989907f3a5de4cb95b116c2f305820d
    remote: Enumerating objects: 109, done.
    remote: Counting objects: 100% (109/109), done.
    remote: Compressing objects: 100% (51/51), done.
    remote: Total 109 (delta 57), reused 106 (delta 56), pack-reused 0 eceiving objects:  98% (107/109)
    Receiving objects: 100% (109/109), 800.75 KiB | 4.85 MiB/s, done.
    Resolving deltas: 100% (57/57), done.
    From github.com/.../fatfs
     * [new branch]      master       -> refs/west/master
     * [new branch]      v1.14-branch -> refs/west/v1.14-branch
    HEAD is now at df96914 zephyr: add fatfs as a module
    --- fatfs: checked out df96914dd989907f3a5de4cb95b116c2f305820d as detached HEAD
    === updating hal_nordic (modules\hal\nordic):
    --- hal_nordic: cloning and initializing
    Initialized empty Git repository in C:/Projects/PCDWorks/nrf9160_110/ncs/modules/hal/nordic/.git/
    --- hal_nordic: fetching, need revision 1b14177ff2176a1d17f3dd5e7e217f44337255db
    remote: Enumerating objects: 330, done.
    remote: Counting objects: 100% (330/330), done.
    remote: Compressing objects: 100% (191/191), done.
    Rremote: Total 2032 (delta 177), reused 221 (delta 135), pack-reused 1702
    Receiving objects: 100% (2032/2032), 2.69 MiB | 4.82 MiB/s, done.
    Resolving deltas: 100% (1460/1460), done.
    From github.com/.../hal_nordic
     * [new branch]      master           -> refs/west/master
     * [new branch]      topic-nrfx-2.0.0 -> refs/west/topic-nrfx-2.0.0
     * [new branch]      v1.14-branch     -> refs/west/v1.14-branch
    HEAD is now at 1b14177 nrfx_config: Enable extended SPIM features only when needed
    --- hal_nordic: checked out 1b14177ff2176a1d17f3dd5e7e217f44337255db as detached HEAD
    === updating hal_st (modules\hal\st):
    --- hal_st: cloning and initializing
    Initialized empty Git repository in C:/Projects/PCDWorks/nrf9160_110/ncs/modules/hal/st/.git/
    --- hal_st: fetching, need revision 0ec40aed8087f26bd9ac1b70fb5a6c326a6451aa
    remote: Enumerating objects: 1, done.
    remote: Counting objects: 100% (1/1), done.
    remote: Total 7350 (delta 0), reused 0 (delta 0), pack-reused 7349R
    Receiving objects: 100% (7350/7350), 22.70 MiB | 4.33 MiB/s, done.
    Resolving deltas: 100% (6059/6059), done.
    From github.com/.../hal_st
     * [new branch]      master       -> refs/west/master
     * [new branch]      v1.14-branch -> refs/west/v1.14-branch
    HEAD is now at 0ec40ae sensor/stmemsc: Introduce STMEMS Standard C Drivers
    --- hal_st: checked out 0ec40aed8087f26bd9ac1b70fb5a6c326a6451aa as detached HEAD
    === updating libmetal (modules\hal\libmetal):
    --- libmetal: cloning and initializing
    Initialized empty Git repository in C:/Projects/PCDWorks/nrf9160_110/ncs/modules/hal/libmetal/.git/
    --- libmetal: fetching, need revision 45e630d6152824f807d3f919958605c4626cbdff
    remote: Enumerating objects: 412, done.
    remote: Counting objects: 100% (412/412), done.
    remote: Compressing objects: 100% (208/208), done.
    Receiving objects:  84% (347/412)used 412 (delta 200), pack-reused 0 eceiving objects:  83% (342/412)
    Receiving objects: 100% (412/412), 143.22 KiB | 3.98 MiB/s, done.
    Resolving deltas: 100% (200/200), done.
    From github.com/.../libmetal
     * [new branch]      master       -> refs/west/master
     * [new branch]      v1.14-branch -> refs/west/v1.14-branch
    HEAD is now at 45e630d zephyr: move kconfig to the zephyr tree
    --- libmetal: checked out 45e630d6152824f807d3f919958605c4626cbdff as detached HEAD
    === updating lvgl (modules\lib\gui\lvgl):
    --- lvgl: cloning and initializing
    Initialized empty Git repository in C:/Projects/PCDWorks/nrf9160_110/ncs/modules/lib/gui/lvgl/.git/
    --- lvgl: fetching, need revision d4708d0a432e95f51bdc712591ba5295b751140c
    remote: Enumerating objects: 2674, done.
    remote: Counting objects: 100% (2674/2674), done.
    remote: Compressing objects: 100% (837/837), done.
    remote: Total 22162 (delta 2000), reused 2433 (delta 1834), pack-reused 19488R
    Receiving objects: 100% (22162/22162), 15.86 MiB | 4.60 MiB/s, done.
    Resolving deltas: 100% (17467/17467), done.
    From github.com/.../lvgl
     * [new branch]      master     -> refs/west/master
     * [new branch]      zephyr     -> refs/west/zephyr
    HEAD is now at d4708d0a Merge lvgl v6.0.2 into zephyr branch
    --- lvgl: checked out d4708d0a432e95f51bdc712591ba5295b751140c as detached HEAD
    === updating open-amp (modules\lib\open-amp):
    --- open-amp: cloning and initializing
    Initialized empty Git repository in C:/Projects/PCDWorks/nrf9160_110/ncs/modules/lib/open-amp/.git/
    --- open-amp: fetching, need revision 9b591b289e1f37339bd038b5a1f0e6c8ad39c63a
    remote: Enumerating objects: 204, done.
    remote: Counting objects: 100% (204/204), done.
    remote: Compressing objects: 100% (140/140), done.
    remote: Total 204 (delta 57), reused 199 (delta 53), pack-reused 0
    Receiving objects: 100% (204/204), 1.44 MiB | 4.42 MiB/s, done.
    Resolving deltas: 100% (57/57), done.
    From github.com/.../open-amp
     * [new branch]      master       -> refs/west/master
     * [new branch]      v1.14-branch -> refs/west/v1.14-branch
    HEAD is now at 9b591b2 cmake: fix zephyr library abstraction violation
    --- open-amp: checked out 9b591b289e1f37339bd038b5a1f0e6c8ad39c63a as detached HEAD
    === updating openthread (modules\lib\openthread):
    --- openthread: cloning and initializing
    Initialized empty Git repository in C:/Projects/PCDWorks/nrf9160_110/ncs/modules/lib/openthread/.git/
    --- openthread: fetching, need revision 3c32244f098f8daf8741efe0a2ad839b67f8567f
    remote: Enumerating objects: 11702, done.
    remote: Counting objects: 100% (11702/11702), done.
    remote: Compressing objects: 100% (3451/3451), done.
    remote: Total 53893 (delta 9153), reused 10095 (delta 8199), pack-reused 42191
    Receiving objects: 100% (53893/53893), 62.94 MiB | 4.31 MiB/s, done.
    Resolving deltas: 100% (40985/40985), done.
    From github.com/.../openthread
     * [new branch]      master     -> refs/west/master
     * [new branch]      zephyr     -> refs/west/zephyr
    Checking out files: 100% (3759/3759), done.
    HEAD is now at 3c32244f cmake: Switch to use Zephyr mbedTLS
    --- openthread: checked out 3c32244f098f8daf8741efe0a2ad839b67f8567f as detached HEAD
    === updating littlefs (modules\fs\littlefs):
    --- littlefs: cloning and initializing
    Initialized empty Git repository in C:/Projects/PCDWorks/nrf9160_110/ncs/modules/fs/littlefs/.git/
    --- littlefs: fetching, need revision fe9572dd5a9fcf93a249daa4233012692bd2881d
    remote: Enumerating objects: 1772, done.
    remote: Counting objects: 100% (1772/1772), done.
    remote: Compressing objects: 100% (546/546), done.
    Receiving objects:  98% (1737/1772)used 1744 (delta 1220), pack-reused 0
    Receiving objects: 100% (1772/1772), 937.56 KiB | 4.32 MiB/s, done.
    Resolving deltas: 100% (1247/1247), done.
    From github.com/.../littlefs
     * [new branch]      zephyr          -> refs/west/zephyr
     * [new tag]         littlefs-v2.1.0 -> littlefs-v2.1.0
     * [new tag]         littlefs-v2.1.1 -> littlefs-v2.1.1
    HEAD is now at fe9572d Merge littlefs tag 'v2.1.1' into zephyr
    --- littlefs: checked out fe9572dd5a9fcf93a249daa4233012692bd2881d as detached HEAD
    C:\Projects\PCDWorks\nrf9160_110\ncs>
    The I opened Segger and selected import nrf9160 via nrfConnect to import the lte_ble_gateway sample and selected nrf9160_pca10090ns and I still get the same error
    I have done all that you have asked. Yet there is still something wrong
  • I will check back at 09:00 local time Norway (02:00 local time Nashville) for your reply.

  • Hi, 

    Most example projects should build-out of the box when the toolchain is installed correctly. However, one thing that could potentially be a problem here is the Cmake cache. Can you try to delete Caches/zephyr before building and see if that helps?

    Linux: ~/.cache/zephyr
    MacOS: ~/Library/Caches/zephyr/ToolchainCapabilityDatabase
    Windows: C:\Users\my_user\AppData\Local\.cache\zephyr

    -Amanda H.

  • Hi Amanda,

    I deleted Windows: C:\Users\my_user\AppData\Local\.cache\zephyr folder

    and nrf9160_pca10090ns folder for lte_ble_gateway in the new ncs directory in the

    new folder for version v1.1.0 then tried to import using nrfConnect from inside Segger

    It fails again. Please advise. 

Reply Children
  • Hi, 

    Please modify the Board Directory to use the same version of ncs.  

    Your zephyr version is 1.14.9. Do you also update the Zephyr Base path? It looks it uses the different folder to the nrf9160_110. Please modify from Tools -> nRF Connect.  

      

    -Amanda H.

  • Thank you for your very quick response

    I set both parameters as suggested and still have error

  • Here is the content of CMakeError.log

    Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
    Compiler: C:/gnuarmemb/bin/arm-none-eabi-gcc.exe
    Build flags:
    Id flags: 
    The output was:
    1
    c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld.exe: c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): in function `exit':
    exit.c:(.text.exit+0x2c): undefined reference to `_exit'
    collect2.exe: error: ld returned 1 exit status

    Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
    Compiler: C:/gnuarmemb/bin/arm-none-eabi-gcc.exe
    Build flags:
    Id flags: 
    The output was:
    1
    c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld.exe: c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): in function `exit':
    exit.c:(.text.exit+0x2c): undefined reference to `_exit'
    collect2.exe: error: ld returned 1 exit status
    And here is the content of CMakeOutput.log
    The target system is: Generic - 2.0.99 - arm
    The host system is: Windows - 10.0.17763 - AMD64
    Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
    Compiler: C:/gnuarmemb/bin/arm-none-eabi-gcc.exe
    Build flags:
    Id flags: -c
    The output was:
    0

    Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.o"
    The C compiler identification is GNU, found in "C:/Projects/PCDWorks/nrf9160_110/ncs/nrf/samples/nrf9160/lte_ble_gateway/build_nrf9160_pca10090ns/CMakeFiles/3.14.6/CompilerIdC/CMakeCCompilerId.o"
    Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
    Compiler: C:/gnuarmemb/bin/arm-none-eabi-gcc.exe
    Build flags:
    Id flags: -c
    The output was:
    0

    Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.o"
    The CXX compiler identification is GNU, found in "C:/Projects/PCDWorks/nrf9160_110/ncs/nrf/samples/nrf9160/lte_ble_gateway/build_nrf9160_pca10090ns/CMakeFiles/3.14.6/CompilerIdCXX/CMakeCXXCompilerId.o"
    Checking whether the ASM compiler is GNU using "--version" matched "(GNU assembler)|(GCC)|(Free Software Foundation)":
    arm-none-eabi-gcc.exe (GNU Tools for Arm Embedded Processors 8-2019-q3-update) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
    Copyright (C) 2018 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Performing C SOURCE FILE Test check_C__nostartfiles__nostdlib__isystem__c__gnuarmemb_bin____lib_gcc_arm_none_eabi_8_3_1_include___isystem__c__gnuarmemb_bin____lib_gcc_arm_none_eabi_8_3_1_include_fixed___Wl___unresolved_symbols_ignore_in_object_files succeeded with the following output:
    Change Dir: C:/Projects/PCDWorks/nrf9160_110/ncs/nrf/samples/nrf9160/lte_ble_gateway/build_nrf9160_pca10090ns/CMakeFiles/CMakeTmp
    Run Build Command(s):C:/ProgramData/chocolatey/bin/ninja.exe cmTC_3dd8c
    [1/2] Building C object CMakeFiles/cmTC_3dd8c.dir/src.c.obj
    [2/2] Linking C executable cmTC_3dd8c
    c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: cannot find entry symbol _start; defaulting to 00008000

    Source file was:
    int main(void) { return 0; }
  • Hi, 

    What version of GNU are you using? To be able to cross-compile your applications for Arm targets, you must install version 8-2019-q3-update of the GNU Arm Embedded Toolchain. Also, define the environment variables for the GNU Arm Embedded toolchain 

    Did you also Install additional Python dependencies?

    -Amanda H.

  • GNU version is correct I just installed the update last week when we started this support thread.
    Microsoft Windows [Version 10.0.17763.973]
    (c) 2018 Microsoft Corporation. All rights reserved.
    C:\gnuarmemb\bin>arm-none-eabi-gcc --version
    arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 8-2019-q3-update) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
    Copyright (C) 2018 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    C:\gnuarmemb\bin>
    Next I will update python dependencies
Related