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

Compile error for nrf9160 lte_ble_gateway project

I am trying to compile the nrf9160 lte_ble_gateway project as an nrf9160ns project and I get the following error:

Parents Reply Children
  • HI Heidi,

    I have version 1.0.0. I see that I need to update the source code to version 1.1.0 and also the Segger IDE from version 4.18 to 4.30c

    Hilary

  • Hi Heidi,

    I used the instructions in the following link to update the source code to v1.1.0

    https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_ins_windows.html#updating-the-repositories

    When I open SES I get the following error

    I looked through devzone and could not find instructions on how to update the development tools such as

    SES so that I can update the SES from 4.18 to 4.30c

    Can you point me to instructions on using the getting started option in nrfConnect or a manual method to update

    SES and any other tools to the latest version.

    Kind regards,

    Hilary

  • Hi Heidi,

    I have updated the source code to v1.1.0 and also updated zephyr to the latest version as well as Segger Embedded Studio to v4.30c. When I try to import the project into SES using the import function I get the following message

    Regards,

    Hilary

  • Okay. Let's try through the command prompt and see if we get more insight.

    Assuming you're on Windows, open up Command Prompt and navigate to your project directory and run

    west build -b nrf9160_pca10090ns -d build -p

    Please provide me with the full output.

    Best regards,

    Heidi

  • Hi Heidi,

    Here is the output at the command line as requested

    Microsoft Windows [Version 10.0.17763.914]
    (c) 2018 Microsoft Corporation. All rights reserved.
    C:\Projects\PCDWorks\nRF9160\ncs\nrf\samples\nrf9160\lte_ble_gateway>west build -b nrf9160_pca10090ns -d build -p
    source directory: C:\Projects\PCDWorks\nRF9160\ncs\nrf\samples\nrf9160\lte_ble_gateway
    build directory: C:\Projects\PCDWorks\nRF9160\ncs\nrf\samples\nrf9160\lte_ble_gateway\build (created)
    BOARD: nrf9160_pca10090ns (origin: command line)
    -- Using application from 'C:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/lte_ble_gateway'
    Zephyr version: 1.14.99
    -- Found PythonInterp: C:/Python37/python.exe (found suitable version "3.7.4", minimum required is "3.4")
    -- Selected BOARD nrf9160_pca10090ns
    -- Found west: C:/Python37/Scripts/west.exe (found suitable version "0.5.8", minimum required is "0.5.6")
    -- Cache files will be written to: C:\Users\Owner\AppData\Local/.cache/zephyr
    -- Loading C:/Projects/PCDWorks/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
    -- Overlaying C:/Projects/PCDWorks/nRF9160/ncs/zephyr/dts/common/common.dts
    -- Overlaying C:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/lte_ble_gateway/nrf9160_pca10090ns.overlay
    Parsing Kconfig tree in C:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/lte_ble_gateway/Kconfig
    Loading C:/Projects/PCDWorks/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig as base
    Merging C:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf
    Configuration written to 'C:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/lte_ble_gateway/build/zephyr/.config'
    -- The C compiler identification is GNU 7.3.1
    -- The CXX compiler identification is GNU 7.3.1
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/gnuarmemb/bin/arm-none-eabi-gcc.exe
    -- Performing Test toolchain_is_ok
    -- Performing Test toolchain_is_ok - Success
    Including module: nrf in path: C:\Projects\PCDWorks\nRF9160\ncs\nrf
    -- Using application from 'C:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/spm'
    Zephyr version: 1.14.99
    Changed board to secure nrf9160_pca10090 (NOT NS)
    -- Loading C:/Projects/PCDWorks/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
    -- Overlaying C:/Projects/PCDWorks/nRF9160/ncs/zephyr/dts/common/common.dts
    -- Overlaying C:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/spm/nrf9160_pca10090.overlay
    Parsing Kconfig tree in C:/Projects/PCDWorks/nRF9160/ncs/zephyr/Kconfig
    Loading C:/Projects/PCDWorks/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig as base
    Merging prj.conf
    Merging C:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/lte_ble_gateway/child_secure_partition_manager.conf
    Configuration written to 'C:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/lte_ble_gateway/build/spm/zephyr/.config'
    Including module: nrf in path: C:\Projects\PCDWorks\nRF9160\ncs\nrf
    Including module: nffs in path: C:\Projects\PCDWorks\nRF9160\ncs\modules\fs\nffs
    Including module: segger in path: C:\Projects\PCDWorks\nRF9160\ncs\modules\debug\segger
    Including module: mcuboot in path: C:\Projects\PCDWorks\nRF9160\ncs\mcuboot\zephyr
    Including module: mcumgr in path: C:\Projects\PCDWorks\nRF9160\ncs\modules\lib\mcumgr
    Including module: tinycbor in path: C:\Projects\PCDWorks\nRF9160\ncs\modules\lib\tinycbor
    Including module: nrfxlib in path: C:\Projects\PCDWorks\nRF9160\ncs\nrfxlib
    Including module: nffs in path: C:\Projects\PCDWorks\nRF9160\ncs\modules\fs\nffs
    Including module: segger in path: C:\Projects\PCDWorks\nRF9160\ncs\modules\debug\segger
    Including module: mcuboot in path: C:\Projects\PCDWorks\nRF9160\ncs\mcuboot\zephyr
    Including module: mcumgr in path: C:\Projects\PCDWorks\nRF9160\ncs\modules\lib\mcumgr
    Including module: tinycbor in path: C:\Projects\PCDWorks\nRF9160\ncs\modules\lib\tinycbor
    Including module: nrfxlib in path: C:\Projects\PCDWorks\nRF9160\ncs\nrfxlib
    CMake Warning at C:/Projects/PCDWorks/nRF9160/ncs/zephyr/CMakeLists.txt:1345 (message):

            ------------------------------------------------------------
            --- WARNING:  __ASSERT() statements are globally ENABLED ---
            --- The kernel will run more slowly and use more memory  ---
            ------------------------------------------------------------

    Running Partition Manager...
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/lte_ble_gateway/build
    [173/346] Linking C executable spm\zephyr\spm_zephyr_prebuilt.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:         32 KB        48 KB     66.67%
                SRAM:       10000 B        64 KB     15.26%
            IDT_LIST:          40 B         2 KB      1.95%
    [340/346] Linking C executable zephyr\zephyr_prebuilt.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      201395 B       976 KB     20.15%
                SRAM:       62400 B       128 KB     47.61%
            IDT_LIST:         136 B         2 KB      6.64%
    [346/346] Generating zephyr/merged.hex
    Merged C:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/lte_ble_gateway/build/spm/zephyr/zephyr.hex
    Merged C:/Projects/PCDWorks/nRF9160/ncs/nrf/samples/nrf9160/lte_ble_gateway/build/zephyr/zephyr.hex
    C:\Projects\PCDWorks\nRF9160\ncs\nrf\samples\nrf9160\lte_ble_gateway>
Related