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

FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/build

I'm just trying to build the asset tracker firmware...

[machinehum@whitebox asset_tracker]$ ls
build        CMakeLists.txt  lwm2m_carrier_overlay.conf  overlay-pgps.conf  prj_qemu_x86.conf             README.rst   src
child_image  Kconfig         overlay-agps-pgps.conf      prj.conf           prj_thingy91_nrf9160_ns.conf  sample.yaml
[machinehum@whitebox asset_tracker]$ rm -r build/ ; west build -b thingy91_nrf52840
-- west build: generating a build system
Including boilerplate (Zephyr base): /home/machinehum/projects/bike_tracker/ncs/zephyr/cmake/app/boilerplate.cmake
CMake Deprecation Warning at /home/machinehum/projects/bike_tracker/ncs/zephyr/cmake/app/boilerplate.cmake:37 (cmake_policy):
  The OLD behavior for policy CMP0079 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
  /home/machinehum/projects/bike_tracker/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  /home/machinehum/projects/bike_tracker/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
  CMakeLists.txt:9 (find_package)


-- Application: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker
-- Zephyr version: 2.6.99 (/home/machinehum/projects/bike_tracker/ncs/zephyr), build: v2.6.0-rc1-ncs1-2242-g975e3710736e
-- Found Python3: /usr/bin/python3.9 (found suitable exact version "3.9.6") found components: Interpreter 
-- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
-- Board: thingy91_nrf52840
-- Cache files will be written to: /home/machinehum/.cache/zephyr
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Using toolchain: zephyr 0.12.4 (/home/machinehum/.local/zephyr-sdk-0.12.4)
-- Found dtc: /home/machinehum/.local/zephyr-sdk-0.12.4/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /home/machinehum/projects/bike_tracker/ncs/nrf/boards/arm/thingy91_nrf52840/thingy91_nrf52840.dts
-- Generated zephyr.dts: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/build/zephyr/include/generated/device_extern.h

warning: CONSOLE_HANDLER (defined at drivers/console/Kconfig:39) was assigned the value 'y' but got
the value 'n'. Check these unsatisfied dependencies: UART_CONSOLE (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_CONSOLE_HANDLER.html and/or look up
CONSOLE_HANDLER in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.


warning: The choice symbol CONSOLE_GETCHAR (defined at subsys/console/Kconfig:16) was selected (set
=y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_CONSOLE_GETCHAR.html and/or look up
CONSOLE_GETCHAR in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.

Parsing /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/Kconfig
Loaded configuration '/home/machinehum/projects/bike_tracker/ncs/nrf/boards/arm/thingy91_nrf52840/thingy91_nrf52840_defconfig'
Merged configuration '/home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/prj.conf'
Configuration saved to '/home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/build/zephyr/.config'
Kconfig header saved to '/home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/machinehum/.local/zephyr-sdk-0.12.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc

=== child image mcuboot -  begin ===
Including boilerplate (Zephyr base): /home/machinehum/projects/bike_tracker/ncs/zephyr/cmake/app/boilerplate.cmake
CMake Deprecation Warning at /home/machinehum/projects/bike_tracker/ncs/zephyr/cmake/app/boilerplate.cmake:37 (cmake_policy):
  The OLD behavior for policy CMP0079 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
  /home/machinehum/projects/bike_tracker/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  /home/machinehum/projects/bike_tracker/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
  CMakeLists.txt:44 (find_package)


-- Application: /home/machinehum/projects/bike_tracker/ncs/bootloader/mcuboot/boot/zephyr
-- Zephyr version: 2.6.99 (/home/machinehum/projects/bike_tracker/ncs/zephyr), build: v2.6.0-rc1-ncs1-2242-g975e3710736e
-- Found Python3: /usr/bin/python3.9 (found suitable exact version "3.9.6") found components: Interpreter 
-- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
-- Board: thingy91_nrf52840
-- Cache files will be written to: /home/machinehum/.cache/zephyr
-- Using toolchain: zephyr 0.12.4 (/home/machinehum/.local/zephyr-sdk-0.12.4)
-- Found dtc: /home/machinehum/.local/zephyr-sdk-0.12.4/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /home/machinehum/projects/bike_tracker/ncs/nrf/boards/arm/thingy91_nrf52840/thingy91_nrf52840.dts
-- Found devicetree overlay: /home/machinehum/projects/bike_tracker/ncs/bootloader/mcuboot/boot/zephyr/dts.overlay
-- Generated zephyr.dts: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/build/mcuboot/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/build/mcuboot/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/build/mcuboot/zephyr/include/generated/device_extern.h

warning: LOG_DEFAULT_LEVEL (defined at
/home/machinehum/projects/bike_tracker/ncs/nrf/samples/Kconfig:34,
subsys/logging/Kconfig.filtering:13) was assigned the value '0' but got the value ''. Check these
unsatisfied dependencies: (LOG || LOG) (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_DEFAULT_LEVEL.html and/or look up
LOG_DEFAULT_LEVEL in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.


warning: BOOTLOADER_MCUBOOT (defined at Kconfig.zephyr:495) was assigned the value 'y' but got the
value 'n'. Check these unsatisfied dependencies: (!MCUBOOT) (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_BOOTLOADER_MCUBOOT.html and/or look up
BOOTLOADER_MCUBOOT in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.


warning: The choice symbol LOG_MODE_MINIMAL (defined at subsys/logging/Kconfig.mode:45) was selected
(set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_MODE_MINIMAL.html and/or look up
LOG_MODE_MINIMAL in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.

Parsing /home/machinehum/projects/bike_tracker/ncs/bootloader/mcuboot/boot/zephyr/Kconfig
Loaded configuration '/home/machinehum/projects/bike_tracker/ncs/nrf/boards/arm/thingy91_nrf52840/thingy91_nrf52840_defconfig'
Merged configuration '/home/machinehum/projects/bike_tracker/ncs/bootloader/mcuboot/boot/zephyr/prj.conf'
Merged configuration '/home/machinehum/projects/bike_tracker/ncs/bootloader/mcuboot/boot/zephyr/boards/thingy91_nrf52840.conf'
Merged configuration '/home/machinehum/projects/bike_tracker/ncs/nrf/subsys/partition_manager/partition_manager_enabled.conf'
Configuration saved to '/home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/build/mcuboot/zephyr/.config'
Kconfig header saved to '/home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/build/mcuboot/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/machinehum/.local/zephyr-sdk-0.12.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at /home/machinehum/projects/bike_tracker/ncs/nrf/lib/flash_patch/CMakeLists.txt:9 (message):
  

        ----------------------------------------------------------
        --- WARNING: To maintain the integrity of secure boot, ---
        --- enable CONFIG_DISABLE_FLASH_PATCH in production.   ---
        ----------------------------------------------------------


MCUBoot bootloader key file: /home/machinehum/projects/bike_tracker/ncs/bootloader/mcuboot/root-rsa-2048.pem
-- Configuring done
-- Generating done
-- Build files have been written to: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/build/mcuboot
=== child image mcuboot -  end ===

CMake Warning at /home/machinehum/projects/bike_tracker/ncs/nrf/modules/mcuboot/CMakeLists.txt:151 (message):
  

        ---------------------------------------------------------
        --- WARNING: Using default MCUBoot key, it should not ---
        --- be used for production.                           ---
        ---------------------------------------------------------
        



ERROR This combination of SoC and floating point ABI is not supported by libmodem (/home/machinehum/projects/bike_tracker/ncs/nrfxlib/nrf_modem/lib/cortex-m4/soft-float doesn't exist.)
CMake Warning at /home/machinehum/projects/bike_tracker/ncs/zephyr/CMakeLists.txt:1612 (message):
  __ASSERT() statements are globally ENABLED


Dropping partition 'nrf_modem_lib_trace' since its size is 0.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/build
-- west build: building application
ninja: error: '/home/machinehum/projects/bike_tracker/ncs/nrfxlib/nrf_modem/lib/cortex-m4/soft-float/libmodem.a', needed by 'zephyr/zephyr_prebuilt.elf', missing and no known rule to make it
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker/build
[machinehum@whitebox asset_tracker]$ 

Parents Reply Children
  • [machinehum@whitebox asset_tracker_v2]$ rm -rf build ; mkdir build ; west build -b thingy91_nrf52840 -d build
    -- west build: generating a build system
    Including boilerplate (Zephyr base): /home/machinehum/projects/bike_tracker/ncs/zephyr/cmake/app/boilerplate.cmake
    CMake Deprecation Warning at /home/machinehum/projects/bike_tracker/ncs/zephyr/cmake/app/boilerplate.cmake:37 (cmake_policy):
      The OLD behavior for policy CMP0079 will be removed from a future version
      of CMake.
    
      The cmake-policies(7) manual explains that the OLD behaviors of all
      policies are deprecated and that a policy should be set to OLD only under
      specific short-term circumstances.  Projects should be ported to the NEW
      behavior and not rely on setting a policy to OLD.
    Call Stack (most recent call first):
      /home/machinehum/projects/bike_tracker/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
      /home/machinehum/projects/bike_tracker/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
      CMakeLists.txt:9 (find_package)
    
    
    -- Application: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2
    -- Zephyr version: 2.6.99 (/home/machinehum/projects/bike_tracker/ncs/zephyr), build: v2.6.0-rc1-ncs1-2275-g2716fad989a4
    -- Found Python3: /usr/bin/python3.9 (found suitable exact version "3.9.6") found components: Interpreter 
    -- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
    -- Board: thingy91_nrf52840
    -- Cache files will be written to: /home/machinehum/.cache/zephyr
    -- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
    -- Using toolchain: zephyr 0.12.4 (/home/machinehum/.local/zephyr-sdk-0.12.4)
    -- Found dtc: /home/machinehum/.local/zephyr-sdk-0.12.4/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
    -- Found BOARD.dts: /home/machinehum/projects/bike_tracker/ncs/nrf/boards/arm/thingy91_nrf52840/thingy91_nrf52840.dts
    -- Generated zephyr.dts: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/build/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/build/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/build/zephyr/include/generated/device_extern.h
    Parsing /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/Kconfig
    Loaded configuration '/home/machinehum/projects/bike_tracker/ncs/nrf/boards/arm/thingy91_nrf52840/thingy91_nrf52840_defconfig'
    Merged configuration '/home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/prj.conf'
    Configuration saved to '/home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/build/zephyr/.config'
    Kconfig header saved to '/home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/build/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 10.2.0
    -- The CXX compiler identification is GNU 10.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /home/machinehum/.local/zephyr-sdk-0.12.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    
    === child image mcuboot -  begin ===
    Including boilerplate (Zephyr base): /home/machinehum/projects/bike_tracker/ncs/zephyr/cmake/app/boilerplate.cmake
    CMake Deprecation Warning at /home/machinehum/projects/bike_tracker/ncs/zephyr/cmake/app/boilerplate.cmake:37 (cmake_policy):
      The OLD behavior for policy CMP0079 will be removed from a future version
      of CMake.
    
      The cmake-policies(7) manual explains that the OLD behaviors of all
      policies are deprecated and that a policy should be set to OLD only under
      specific short-term circumstances.  Projects should be ported to the NEW
      behavior and not rely on setting a policy to OLD.
    Call Stack (most recent call first):
      /home/machinehum/projects/bike_tracker/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
      /home/machinehum/projects/bike_tracker/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
      CMakeLists.txt:44 (find_package)
    
    
    -- Application: /home/machinehum/projects/bike_tracker/ncs/bootloader/mcuboot/boot/zephyr
    -- Zephyr version: 2.6.99 (/home/machinehum/projects/bike_tracker/ncs/zephyr), build: v2.6.0-rc1-ncs1-2275-g2716fad989a4
    -- Found Python3: /usr/bin/python3.9 (found suitable exact version "3.9.6") found components: Interpreter 
    -- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
    -- Board: thingy91_nrf52840
    -- Cache files will be written to: /home/machinehum/.cache/zephyr
    -- Using toolchain: zephyr 0.12.4 (/home/machinehum/.local/zephyr-sdk-0.12.4)
    -- Found dtc: /home/machinehum/.local/zephyr-sdk-0.12.4/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
    -- Found BOARD.dts: /home/machinehum/projects/bike_tracker/ncs/nrf/boards/arm/thingy91_nrf52840/thingy91_nrf52840.dts
    -- Found devicetree overlay: /home/machinehum/projects/bike_tracker/ncs/bootloader/mcuboot/boot/zephyr/dts.overlay
    -- Generated zephyr.dts: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/build/mcuboot/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/build/mcuboot/zephyr/include/generated/device_extern.h
    
    warning: LOG_DEFAULT_LEVEL (defined at
    /home/machinehum/projects/bike_tracker/ncs/nrf/samples/Kconfig:34,
    subsys/logging/Kconfig.filtering:13) was assigned the value '0' but got the value ''. Check these
    unsatisfied dependencies: (LOG || LOG) (=n). See
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_DEFAULT_LEVEL.html and/or look up
    LOG_DEFAULT_LEVEL in the menuconfig/guiconfig interface. The Application Development Primer, Setting
    Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
    too.
    
    
    warning: BOOTLOADER_MCUBOOT (defined at Kconfig.zephyr:495) was assigned the value 'y' but got the
    value 'n'. Check these unsatisfied dependencies: (!MCUBOOT) (=n). See
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_BOOTLOADER_MCUBOOT.html and/or look up
    BOOTLOADER_MCUBOOT in the menuconfig/guiconfig interface. The Application Development Primer,
    Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
    helpful too.
    
    
    warning: The choice symbol LOG_MODE_MINIMAL (defined at subsys/logging/Kconfig.mode:45) was selected
    (set =y), but no symbol ended up as the choice selection. See
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_MODE_MINIMAL.html and/or look up
    LOG_MODE_MINIMAL in the menuconfig/guiconfig interface. The Application Development Primer, Setting
    Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
    too.
    
    Parsing /home/machinehum/projects/bike_tracker/ncs/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration '/home/machinehum/projects/bike_tracker/ncs/nrf/boards/arm/thingy91_nrf52840/thingy91_nrf52840_defconfig'
    Merged configuration '/home/machinehum/projects/bike_tracker/ncs/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration '/home/machinehum/projects/bike_tracker/ncs/bootloader/mcuboot/boot/zephyr/boards/thingy91_nrf52840.conf'
    Merged configuration '/home/machinehum/projects/bike_tracker/ncs/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Configuration saved to '/home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/build/mcuboot/zephyr/.config'
    Kconfig header saved to '/home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/build/mcuboot/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 10.2.0
    -- The CXX compiler identification is GNU 10.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /home/machinehum/.local/zephyr-sdk-0.12.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    CMake Warning at /home/machinehum/projects/bike_tracker/ncs/nrf/lib/flash_patch/CMakeLists.txt:9 (message):
      
    
            ----------------------------------------------------------
            --- WARNING: To maintain the integrity of secure boot, ---
            --- enable CONFIG_DISABLE_FLASH_PATCH in production.   ---
            ----------------------------------------------------------
    
    
    MCUBoot bootloader key file: /home/machinehum/projects/bike_tracker/ncs/bootloader/mcuboot/root-rsa-2048.pem
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/build/mcuboot
    === child image mcuboot -  end ===
    
    CMake Warning at /home/machinehum/projects/bike_tracker/ncs/nrf/modules/mcuboot/CMakeLists.txt:151 (message):
      
    
            ---------------------------------------------------------
            --- WARNING: Using default MCUBoot key, it should not ---
            --- be used for production.                           ---
            ---------------------------------------------------------
            
    
    
    
    ERROR This combination of SoC and floating point ABI is not supported by libmodem (/home/machinehum/projects/bike_tracker/ncs/nrfxlib/nrf_modem/lib/cortex-m4/hard-float doesn't exist.)
    CMake Warning at /home/machinehum/projects/bike_tracker/ncs/zephyr/CMakeLists.txt:1612 (message):
      __ASSERT() statements are globally ENABLED
    
    
    Dropping partition 'nrf_modem_lib_trace' since its size is 0.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/build
    -- west build: building application
    ninja: error: '/home/machinehum/projects/bike_tracker/ncs/nrfxlib/nrf_modem/lib/cortex-m4/hard-float/libmodem.a', needed by 'zephyr/zephyr_prebuilt.elf', missing and no known rule to make it
    FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/machinehum/projects/bike_tracker/ncs/nrf/applications/asset_tracker_v2/build
    [machinehum@whitebox asset_tracker_v2]$ grep -R CONFIG_FLOAT
    

    Here is my most recent build spew, it's trying to link against a FPU lib that doesn't seem to exist.

  • Hi,

    If you want to build firmware for the nRF52840 SoC on Thingy:91 you should still use thingy91_nrf52840 as build target. However, the Asset Tracker application is a nRF9160 application, and is only supported on the nRF9160. You will not be able to use this application on a nRF52 SoC. Thus, you cannot build and program this application to the nRF52840 SoC on Thingy:91. You will need an application or a sample that is supported on nRF52 SoCs.

    The only sample in NCS that is officially supported on thingy91_nrf52840 is the Connectivity bridge, and is therefore the only sample we can guarantee works. You can try to program other samples to the nRF52840 SoC on Thingy:91, as long as they are supported on nRF52. However, we cannot guarantee that these samples will work out of the box.

    Best regards,

    Marte

  • Thanks for the reply, all I'm trying to do is build/flash the latest firmware on the nRF52 situated on the PCB of the Thingy91. If I reading this properly the firmware the located in the ncs/nrf/applications/connectivity_bridge folder.

    Thanks for this info, the getting started guide doesn't allude to this at all.

  • Hi,

    Which getting started guide are you following? The guide on Infocenter for updating the firmware states that you should update the nRF52840 SoC with the Connectivity bridge firmware, see Updating Nordic Thingy:91 firmware for more information. This is also mentioned in the Working with Thingy:91 guide in our nRF Connect SDK documentation.

    Best regards,

    Marte

Related