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

Unable to compile for nrf9160_pca20035 (Thingy:91)


I have been at this for a few days now, I have had a number of compilation errors that I have had to work through and find solutions for, but I am stumped on this current error.

First a bit about my system and the development environment:

Arch Linux 5.3.10-arch-1 (System up to date)

Latest Master Zephyr SDK also install in a separate directory.
Latest Master NCS but with the Joakimtoe NRF Fork (This fork solved a whole host of problems for me, but last update was 11 months ago?)

West v0.6.3
Ninja v1.9.0
Cmake v3.15.5
GCC Arm v7 2018-Q2

ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
ZEPHYR_SDK_INSTALL_DIR=$HOME/zephyrsdk
GNUARMEMB_TOOLCHAIN_PATH='~/.gnuarmemb'
source zephyr-env.sh using the NCS Zephyr Directory

The sample that I am trying to compile is the lte_ble_gateway sample found in the nrf9160 folder of NCS. After changing into the nrf directory I run the command:

west build -p -b nrf9160_pca20035 samples/nrf9160/lte_ble_gateway

The build successfully compiles 136 of 167 of the objects before stopping with a message of:

ninja: build stopped: subcommand failed.
ERROR: command exited with status 1: /usr/bin/cmake --build /home/rex/.nRFConnectSDK/nrf/build

Where should I begin? There looks to be a number of "Warnings" that are being thrown surrounding nrf_cloud_transport.c

Parents
  • Update!

    I swapped the nrf_cloud_transport.c file for the file from the Latest Master NCS NRF tree.

    I had to swap out a few parameters for the TX and RX pins, Changed the _##idx##_ out for the corresponding pin numbers as guided by the build output. And it seems as though this has solved that issue. However, now the build is having trouble finding the BSD_limits.h file as it is called via a #include statement by at_cmd.c

    I located the file on my system at /nrfxlib/bsdlib/include/bsd_limits.h

    Do we know where this particular file is looking for bsd_limits.h?

  • Hi,

     

    It sounds like the surrounding repositories aren't updated per the ../ncs/nrf/west.yaml file.

    Could you ensure that you have the correct checked out repositories for your "nrf" repo by doing this?

    cd ../path/to/ncs/nrf

    west update

     

    Removing your build folder is also highly recommended, especially if reconfiguring board or checking out newer revisions.

    If you still see issues, please post the output log.

     

    Kind regards,

    Håkon

  • Thank you Håkon,

    I did as instructed and it seems as though the problem still exist. Here is the output log for the build.

    ~/.nRFConnectSDK
    ➜ cd nrf

    nrf on  joakim [$!?]
    ➜ west update                                                      
    === updating fw-nrfconnect-zephyr (zephyr):
    --- fw-nrfconnect-zephyr: checked out a8933a2ead01db56a3d3828d81887535be8b5bda as de
    tached 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-mbedtls (modules/crypto/mbedtls):
    --- fw-nrfconnect-mbedtls: checked out 900c7eea92e45adba1067e044ec705d4541c84a5 as d
    etached HEAD
    === updating fw-nrfconnect-mcuboot (mcuboot):
    --- fw-nrfconnect-mcuboot: checked out 8b0e50cd5898e66e8bf92b5378c5b29fb0838471 as d
    etached HEAD
    === updating fw-nrfconnect-mcumgr (modules/lib/mcumgr):
    --- fw-nrfconnect-mcumgr: checked out f663988d35da559a37f263d369842dbce309d1fa as de
    tached HEAD
    === updating fw-nrfconnect-tinycbor (modules/lib/tinycbor):
    --- fw-nrfconnect-tinycbor: checked out 543ecb7c8662580ef803d59ceda7bd3b8a84a11b as
    detached HEAD
    === updating nrfxlib (nrfxlib):
    --- nrfxlib: checked out f8b3cf45090227fe45a0d2c7e5943e61c3150012 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

    nrf on  joakim [$!?] took 4s
    ➜ west build -p -b nrf9160_pca20035 samples/nrf9160/lte_ble_gateway
    source directory: /home/rex/.nRFConnectSDK/nrf/samples/nrf9160/lte_ble_gateway
    build directory: /home/rex/.nRFConnectSDK/nrf/build (created)
    BOARD: nrf9160_pca20035 (origin: command line)
    -- Using application from '/home/rex/.nRFConnectSDK/nrf/samples/nrf9160/lte_ble_gateway'
    Zephyr version: 1.14.99
    -- Found PythonInterp: /usr/bin/python (found suitable version "3.7.4", minimum required is "3.4")
    -- Selected BOARD nrf9160_pca20035
    -- Found west: /usr/bin/west (found suitable version "0.6.3", minimum required is "0.5.6")
    -- Cache files will be written to: /home/rex/.cache/zephyr
    -- Loading /home/rex/.nRFConnectSDK/zephyr/boards/arm/nrf9160_pca20035/nrf9160_pca20035.dts as base
    -- Overlaying /home/rex/.nRFConnectSDK/zephyr/dts/common/common.dts
    nrf9160_pca20035.dts.pre.tmp:128.18-134.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/uart@a000: duplicate unit-address (also used in node /soc/peripheral@50000000/i2c@a000)
      also defined at nrf9160_pca20035.dts.pre.tmp:523.8-525.3
    nrf9160_pca20035.dts.pre.tmp:272.19-278.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@50000000/power@5000)

    warning: BSD_LIBRARY (defined at /home/rex/.nRFConnectSDK/nrf/lib/bsdlib/Kconfig:8) was assigned the
    value 'y' but got the value 'n'. You can check symbol information (including dependencies) in the
    'menuconfig' interface (see the Application Development Primer section of the manual), or in the
    Kconfig reference at docs.zephyrproject.org/.../CONFIG_BSD_LIBRARY.html
    (which is updated regularly from the master branch). See the 'Setting configuration values' section
    of the Board Porting Guide as well.

    warning: AT_CMD (defined at /home/rex/.nRFConnectSDK/nrf/drivers/at_cmd/Kconfig:9) has direct dependencies BSD_LIBRARY with value n, but is currently being y-selected by the following symbols:
     - AT_HOST_LIBRARY (defined at /home/rex/.nRFConnectSDK/nrf/lib/at_host/Kconfig:9), with value y, direct dependencies y (value: y)
     - LTE_LINK_CONTROL (defined at /home/rex/.nRFConnectSDK/nrf/drivers/lte_link_control/Kconfig:7), with value y, direct dependencies y (value: y)
    Parsing Kconfig tree in /home/rex/.nRFConnectSDK/nrf/samples/nrf9160/lte_ble_gateway/Kconfig
    Loaded configuration '/home/rex/.nRFConnectSDK/zephyr/boards/arm/nrf9160_pca20035/nrf9160_pca20035_defconfig'
    Merged configuration '/home/rex/.nRFConnectSDK/nrf/samples/nrf9160/lte_ble_gateway/prj.conf'
    Configuration saved to '/home/rex/.nRFConnectSDK/nrf/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: /home/rex/.gnuarmemb/bin/arm-none-eabi-gcc
    -- Performing Test toolchain_is_ok
    -- Performing Test toolchain_is_ok - Success
    Including module: nrf in path: /home/rex/.nRFConnectSDK/nrf
    Including module: nffs in path: /home/rex/.nRFConnectSDK/modules/fs/nffs
    Including module: segger in path: /home/rex/.nRFConnectSDK/modules/debug/segger
    Including module: mbedtls in path: /home/rex/.nRFConnectSDK/modules/crypto/mbedtls
    Including module: mcuboot in path: /home/rex/.nRFConnectSDK/mcuboot/zephyr
    Including module: mcumgr in path: /home/rex/.nRFConnectSDK/modules/lib/mcumgr
    Including module: tinycbor in path: /home/rex/.nRFConnectSDK/modules/lib/tinycbor
    Including module: nrfxlib in path: /home/rex/.nRFConnectSDK/nrfxlib
    CMake Warning at /home/rex/.nRFConnectSDK/zephyr/CMakeLists.txt:1407 (message):
     

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


    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/rex/.nRFConnectSDK/nrf/build
    [1/167] Preparing syscall dependency handling

    [142/167] Building C object zephyr/modul....__nrf__drivers__at_cmd.dir/at_cmd.c.obj
    FAILED: zephyr/modules/nrf/drivers/at_cmd/CMakeFiles/..__nrf__drivers__at_cmd.dir/at_cmd.c.obj
    ccache /home/rex/.gnuarmemb/bin/arm-none-eabi-gcc -DBUILD_VERSION=v1.14.99-ncs2-495-ga8933a2ead01 -DKERNEL -DNRF9160_XXAA -DUSE_PARTITION_MANAGER=0 -D_FORTIFY_SOURCE=2 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR__=1 -I/home/rex/.nRFConnectSDK/zephyr/kernel/include -I/home/rex/.nRFConnectSDK/zephyr/arch/arm/include -I/home/rex/.nRFConnectSDK/zephyr/include -I/home/rex/.nRFConnectSDK/zephyr/include/drivers -Izephyr/include/generated -I/home/rex/.nRFConnectSDK/zephyr/soc/arm/nordic_nrf/nrf91 -I/home/rex/.nRFConnectSDK/zephyr/soc/arm/nordic_nrf/include -I/home/rex/.nRFConnectSDK/zephyr/ext/lib/crypto/tinycrypt/include -I/home/rex/.nRFConnectSDK/zephyr/ext/hal/cmsis/Include -I/home/rex/.nRFConnectSDK/zephyr/ext/hal/nordic/nrfx -I/home/rex/.nRFConnectSDK/zephyr/ext/hal/nordic/nrfx/drivers/include -I/home/rex/.nRFConnectSDK/zephyr/ext/hal/nordic/nrfx/hal -I/home/rex/.nRFConnectSDK/zephyr/ext/hal/nordic/nrfx/mdk -I/home/rex/.nRFConnectSDK/zephyr/ext/hal/nordic/. -I/home/rex/.nRFConnectSDK/zephyr/subsys/net/lib/sockets/. -I/home/rex/.nRFConnectSDK/zephyr/subsys/bluetooth -I../include -I../ext/cjson/. -I../subsys/net/lib/nrf_cloud/./include -I../samples/nrf9160/lte_ble_gateway/src -isystem /home/rex/.gnuarmemb/arm-none-eabi/include -Os -imacros /home/rex/.nRFConnectSDK/nrf/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mthumb -mcpu=cortex-m33 -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -ffunction-sections -fdata-sections -mabi=aapcs -march=armv8-m.main+dsp -std=c99 -MD -MT zephyr/modules/nrf/drivers/at_cmd/CMakeFiles/..__nrf__drivers__at_cmd.dir/at_cmd.c.obj -MF zephyr/modules/nrf/drivers/at_cmd/CMakeFiles/..__nrf__drivers__at_cmd.dir/at_cmd.c.obj.d -o zephyr/modules/nrf/drivers/at_cmd/CMakeFiles/..__nrf__drivers__at_cmd.dir/at_cmd.c.obj   -c /home/rex/.nRFConnectSDK/nrf/drivers/at_cmd/at_cmd.c
    /home/rex/.nRFConnectSDK/nrf/drivers/at_cmd/at_cmd.c:12:10: fatal error: bsd_limits.h: No such file or directory
     #include <bsd_limits.h>
              ^~~~~~~~~~~~~~
    compilation terminated.
    [147/167] Building C object zephyr/modul..._cloud.dir/src/nrf_cloud_transport.c.obj
    /include -I/home/rex/.nRFConnectSDK/zephyr/arch/arm/include -I/home/rex/.nRFConnectSDK/zephyr/include -I/home/rex/.nRFConnectSDK/zephyr/include/drivers -Izephyr/include/generated -I/home/rex/.nRFConnectSDK/zephyr/soc/arm/nordic_nrf/nrf91 -I/home/rex/.nRFConnectSDK/zephyr/soc/arm/nordic_nrf/include -I/home/rex/.nRFConnectSDK/zephyr/ext

  • ArchDevel said:
    Selected BOARD nrf9160_pca20035

    You are on a branch that is quite old, where the thingy:91 board development was still on-going. Could you instead use the v1.1.0-branch in the original "nrf" repo?

    Kind regards,

    Håkon

  • Hey Håkon,

    I moved over to the suggested branch on a fresh install of the SDK and Build Environment. It seems as though the SDK is not finding the selected board although a directory does exist under the ARM folder in /nrf. I rectified this by copying the appropriate folder from /nrf/boards/arm into /zephyr/boards/arm. Now complilation stops here... Can you shed some light how I can set these parameters?

    nrf on  v1.1-branch took 2s
    ➜ west build -p -b nrf9160_pca20035 samples/nrf9160/lte_ble_gateway                
    -- west build: build configuration:
           source directory: /home/rex/.ncs/nrf/samples/nrf9160/lte_ble_gateway
           build directory: /home/rex/.ncs/nrf/build (created)
           BOARD: nrf9160_pca20035 (origin: command line)
    -- west build: generating a build system
    -- Using application from '/home/rex/.ncs/nrf/samples/nrf9160/lte_ble_gateway'
    Zephyr version: 2.0.99
    -- Found PythonInterp: /usr/bin/python (found suitable version "3.7.4", minimum required is "3.4")
    -- Selected BOARD nrf9160_pca20035
    -- Found west: /usr/bin/west (found suitable version "0.6.3", minimum required is "0.6.0")
    -- Cache files will be written to: /home/rex/.cache/zephyr
    -- Loading /home/rex/.ncs/zephyr/boards/arm/nrf9160_pca20035/nrf9160_pca20035.dts as base
    -- Overlaying /home/rex/.ncs/zephyr/dts/common/common.dts
    nrf9160_pca20035.dts.pre.tmp:89.42-101.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@50000000/kmu@39000)
    nrf9160_pca20035.dts.pre.tmp:338.19-344.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@50000000/power@5000)
    Devicetree configuration written to /home/rex/.ncs/nrf/build/zephyr/include/generated/generated_dts_board.conf
    Parsing Kconfig tree in /home/rex/.ncs/nrf/samples/nrf9160/lte_ble_gateway/Kconfig
    is updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.

    warning: UART_2_NRF_UARTE (defined at drivers/serial/Kconfig.nrfx:163) was assigned the value 'y'
    but got the value 'n'. You can check symbol information (including dependencies) in the 'menuconfig'
    interface (see the Application Development Primer section of the manual), or in the Kconfig
    reference at docs.zephyrproject.org/.../CONFIG_UART_2_NRF_UARTE.html
    (which is updated regularly from the master branch). See the 'Setting configuration values' section
    of the Board Porting Guide as well.

    warning: UART_2_NRF_FLOW_CONTROL (defined at drivers/serial/Kconfig.nrfx:194) was assigned the value
    'y' but got the value 'n'. You can check symbol information (including dependencies) in the
    'menuconfig' interface (see the Application Development Primer section of the manual), or in the
    Kconfig reference at
    docs.zephyrproject.org/.../CONFIG_UART_2_NRF_FLOW_CONTROL.html (which is
    updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.

    warning: TEST_RANDOM_GENERATOR (defined at subsys/random/Kconfig:8) was assigned the value 'y' but
    got the value 'n'. You can check symbol information (including dependencies) in the 'menuconfig'
    interface (see the Application Development Primer section of the manual), or in the Kconfig
    reference at
    docs.zephyrproject.org/.../CONFIG_TEST_RANDOM_GENERATOR.html (which is
    updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.

    warning: AT_CMD (defined at /home/rex/.ncs/nrf/drivers/at_cmd/Kconfig:9) has direct dependencies BSD_LIBRARY with value n, but is currently being y-selected by the following symbols:
     - AT_HOST_LIBRARY (defined at /home/rex/.ncs/nrf/lib/at_host/Kconfig:9), with value y, direct dependencies y (value: y)
     - LTE_LINK_CONTROL (defined at /home/rex/.ncs/nrf/drivers/lte_link_control/Kconfig:7), with value y, direct dependencies y (value: y)
    -- 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: /home/rex/.gnuarmemb/bin/arm-none-eabi-gcc
    CMake Warning at /home/rex/.ncs/zephyr/CMakeLists.txt:1562 (message):
     

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


    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/rex/.ncs/nrf/build
    -- west build: building application
    [1/188] Preparing syscall dependency handling

    [95/188] Building C object zephyr/module..._cloud.dir/src/nrf_cloud_transport.c.obj
    FAILED: zephyr/modules/nrf/subsys/net/lib/nrf_cloud/CMakeFiles/..__nrf__subsys__net__lib__nrf_cloud.dir/src/nrf_cloud_transport.c.obj
    ccache /home/rex/.gnuarmemb/bin/arm-none-eabi-gcc -DBUILD_VERSION=v2.0.99-ncs1-rc3 -DKERNEL -DNRF9160_XXAA -DUSE_PARTITION_MANAGER=0 -D_FORTIFY_SOURCE=2 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/home/rex/.ncs/zephyr/kernel/include -I/home/rex/.ncs/zephyr/arch/arm/include -I/home/rex/.ncs/zephyr/include -I/home/rex/.ncs/zephyr/include/drivers -Izephyr/include/generated -I/home/rex/.ncs/zephyr/soc/arm/nordic_nrf/nrf91 -I/home/rex/.ncs/zephyr/lib/libc/newlib/include -I/home/rex/.gnuarmemb/arm-none-eabi/include -I/home/rex/.ncs/zephyr/ext/lib/crypto/tinycrypt/include -I/home/rex/.ncs/zephyr/ext/hal/cmsis/Include -I/home/rex/.ncs/zephyr/subsys/net/lib/sockets/. -I/home/rex/.ncs/zephyr/subsys/bluetooth -I../include -I../ext/cjson/. -I../lib/at_notif/. -I../lib/at_cmd_parser/include -I../subsys/net/lib/nrf_cloud/./include -I/home/rex/.ncs/modules/hal/nordic/nrfx -I/home/rex/.ncs/modules/hal/nordic/nrfx/drivers/include -I/home/rex/.ncs/modules/hal/nordic/nrfx/mdk -I/home/rex/.ncs/modules/hal/nordic/. -I../samples/nrf9160/lte_ble_gateway/src -isystem /home/rex/.ncs/nrfxlib/crypto/nrf_cc310_platform/include -Os -imacros/home/rex/.ncs/nrf/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mthumb -mcpu=cortex-m33 -imacros/home/rex/.ncs/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -ffunction-sections -fdata-sections -mabi=aapcs -march=armv8-m.main+dsp -specs=nano.specs -std=c99 -MD -MT zephyr/modules/nrf/subsys/net/lib/nrf_cloud/CMakeFiles/..__nrf__subsys__net__lib__nrf_cloud.dir/src/nrf_cloud_transport.c.obj -MF zephyr/modules/nrf/subsys/net/lib/nrf_cloud/CMakeFiles/..__nrf__subsys__net__lib__nrf_cloud.dir/src/nrf_cloud_transport.c.obj.d -o zephyr/modules/nrf/subsys/net/lib/nrf_cloud/CMakeFiles/..__nrf__subsys__net__lib__nrf_cloud.dir/src/nrf_cloud_transport.c.obj   -c /home/rex/.ncs/nrf/subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c
    /home/rex/.ncs/nrf/subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c: In function 'nct_client_id_get':
    /home/rex/.ncs/nrf/subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c:279:3: error: #error Missing NRF_CLOUD_CLIENT_ID
      #error Missing NRF_CLOUD_CLIENT_ID
       ^~~~~
    [100/188] Building C object zephyr/subsy...bsys__bluetooth__host.dir/hci_core.c.obj
    ninja: build stopped: subcommand failed.
    ERROR: command exited with status 1: /usr/bin/cmake --build /home/rex/.ncs/nrf/build

Reply
  • Hey Håkon,

    I moved over to the suggested branch on a fresh install of the SDK and Build Environment. It seems as though the SDK is not finding the selected board although a directory does exist under the ARM folder in /nrf. I rectified this by copying the appropriate folder from /nrf/boards/arm into /zephyr/boards/arm. Now complilation stops here... Can you shed some light how I can set these parameters?

    nrf on  v1.1-branch took 2s
    ➜ west build -p -b nrf9160_pca20035 samples/nrf9160/lte_ble_gateway                
    -- west build: build configuration:
           source directory: /home/rex/.ncs/nrf/samples/nrf9160/lte_ble_gateway
           build directory: /home/rex/.ncs/nrf/build (created)
           BOARD: nrf9160_pca20035 (origin: command line)
    -- west build: generating a build system
    -- Using application from '/home/rex/.ncs/nrf/samples/nrf9160/lte_ble_gateway'
    Zephyr version: 2.0.99
    -- Found PythonInterp: /usr/bin/python (found suitable version "3.7.4", minimum required is "3.4")
    -- Selected BOARD nrf9160_pca20035
    -- Found west: /usr/bin/west (found suitable version "0.6.3", minimum required is "0.6.0")
    -- Cache files will be written to: /home/rex/.cache/zephyr
    -- Loading /home/rex/.ncs/zephyr/boards/arm/nrf9160_pca20035/nrf9160_pca20035.dts as base
    -- Overlaying /home/rex/.ncs/zephyr/dts/common/common.dts
    nrf9160_pca20035.dts.pre.tmp:89.42-101.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@50000000/kmu@39000)
    nrf9160_pca20035.dts.pre.tmp:338.19-344.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@50000000/power@5000)
    Devicetree configuration written to /home/rex/.ncs/nrf/build/zephyr/include/generated/generated_dts_board.conf
    Parsing Kconfig tree in /home/rex/.ncs/nrf/samples/nrf9160/lte_ble_gateway/Kconfig
    is updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.

    warning: UART_2_NRF_UARTE (defined at drivers/serial/Kconfig.nrfx:163) was assigned the value 'y'
    but got the value 'n'. You can check symbol information (including dependencies) in the 'menuconfig'
    interface (see the Application Development Primer section of the manual), or in the Kconfig
    reference at docs.zephyrproject.org/.../CONFIG_UART_2_NRF_UARTE.html
    (which is updated regularly from the master branch). See the 'Setting configuration values' section
    of the Board Porting Guide as well.

    warning: UART_2_NRF_FLOW_CONTROL (defined at drivers/serial/Kconfig.nrfx:194) was assigned the value
    'y' but got the value 'n'. You can check symbol information (including dependencies) in the
    'menuconfig' interface (see the Application Development Primer section of the manual), or in the
    Kconfig reference at
    docs.zephyrproject.org/.../CONFIG_UART_2_NRF_FLOW_CONTROL.html (which is
    updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.

    warning: TEST_RANDOM_GENERATOR (defined at subsys/random/Kconfig:8) was assigned the value 'y' but
    got the value 'n'. You can check symbol information (including dependencies) in the 'menuconfig'
    interface (see the Application Development Primer section of the manual), or in the Kconfig
    reference at
    docs.zephyrproject.org/.../CONFIG_TEST_RANDOM_GENERATOR.html (which is
    updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.

    warning: AT_CMD (defined at /home/rex/.ncs/nrf/drivers/at_cmd/Kconfig:9) has direct dependencies BSD_LIBRARY with value n, but is currently being y-selected by the following symbols:
     - AT_HOST_LIBRARY (defined at /home/rex/.ncs/nrf/lib/at_host/Kconfig:9), with value y, direct dependencies y (value: y)
     - LTE_LINK_CONTROL (defined at /home/rex/.ncs/nrf/drivers/lte_link_control/Kconfig:7), with value y, direct dependencies y (value: y)
    -- 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: /home/rex/.gnuarmemb/bin/arm-none-eabi-gcc
    CMake Warning at /home/rex/.ncs/zephyr/CMakeLists.txt:1562 (message):
     

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


    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/rex/.ncs/nrf/build
    -- west build: building application
    [1/188] Preparing syscall dependency handling

    [95/188] Building C object zephyr/module..._cloud.dir/src/nrf_cloud_transport.c.obj
    FAILED: zephyr/modules/nrf/subsys/net/lib/nrf_cloud/CMakeFiles/..__nrf__subsys__net__lib__nrf_cloud.dir/src/nrf_cloud_transport.c.obj
    ccache /home/rex/.gnuarmemb/bin/arm-none-eabi-gcc -DBUILD_VERSION=v2.0.99-ncs1-rc3 -DKERNEL -DNRF9160_XXAA -DUSE_PARTITION_MANAGER=0 -D_FORTIFY_SOURCE=2 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/home/rex/.ncs/zephyr/kernel/include -I/home/rex/.ncs/zephyr/arch/arm/include -I/home/rex/.ncs/zephyr/include -I/home/rex/.ncs/zephyr/include/drivers -Izephyr/include/generated -I/home/rex/.ncs/zephyr/soc/arm/nordic_nrf/nrf91 -I/home/rex/.ncs/zephyr/lib/libc/newlib/include -I/home/rex/.gnuarmemb/arm-none-eabi/include -I/home/rex/.ncs/zephyr/ext/lib/crypto/tinycrypt/include -I/home/rex/.ncs/zephyr/ext/hal/cmsis/Include -I/home/rex/.ncs/zephyr/subsys/net/lib/sockets/. -I/home/rex/.ncs/zephyr/subsys/bluetooth -I../include -I../ext/cjson/. -I../lib/at_notif/. -I../lib/at_cmd_parser/include -I../subsys/net/lib/nrf_cloud/./include -I/home/rex/.ncs/modules/hal/nordic/nrfx -I/home/rex/.ncs/modules/hal/nordic/nrfx/drivers/include -I/home/rex/.ncs/modules/hal/nordic/nrfx/mdk -I/home/rex/.ncs/modules/hal/nordic/. -I../samples/nrf9160/lte_ble_gateway/src -isystem /home/rex/.ncs/nrfxlib/crypto/nrf_cc310_platform/include -Os -imacros/home/rex/.ncs/nrf/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mthumb -mcpu=cortex-m33 -imacros/home/rex/.ncs/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -ffunction-sections -fdata-sections -mabi=aapcs -march=armv8-m.main+dsp -specs=nano.specs -std=c99 -MD -MT zephyr/modules/nrf/subsys/net/lib/nrf_cloud/CMakeFiles/..__nrf__subsys__net__lib__nrf_cloud.dir/src/nrf_cloud_transport.c.obj -MF zephyr/modules/nrf/subsys/net/lib/nrf_cloud/CMakeFiles/..__nrf__subsys__net__lib__nrf_cloud.dir/src/nrf_cloud_transport.c.obj.d -o zephyr/modules/nrf/subsys/net/lib/nrf_cloud/CMakeFiles/..__nrf__subsys__net__lib__nrf_cloud.dir/src/nrf_cloud_transport.c.obj   -c /home/rex/.ncs/nrf/subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c
    /home/rex/.ncs/nrf/subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c: In function 'nct_client_id_get':
    /home/rex/.ncs/nrf/subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c:279:3: error: #error Missing NRF_CLOUD_CLIENT_ID
      #error Missing NRF_CLOUD_CLIENT_ID
       ^~~~~
    [100/188] Building C object zephyr/subsy...bsys__bluetooth__host.dir/hci_core.c.obj
    ninja: build stopped: subcommand failed.
    ERROR: command exited with status 1: /usr/bin/cmake --build /home/rex/.ncs/nrf/build

Children
No Data
Related