nRF9160: LTE Sensor Gateway ASSERTION FAIL on Thingy:91 (nRF Connect SDK v2.0.2)

I have been trying for hours to get the LTE Sensor Gateway sample to work on my Thingy:91 (PCA20035) without success. According to the v2.0.2 README and the HCI low power UART board definitions it should be supported.

However, compiling out-of-the box, Segger RTT always shows the same assertion error:

*** Booting Zephyr OS build v3.0.99-ncs1-1  ***

[00:00:00.538,543] <inf> lte_ble_gw: LTE Sensor Gateway sample started
[00:00:00.538,696] <inf> lte_ble_gw: Initializing Bluetooth..
[00:00:00.558,776] <inf> lte_ble_gw: Establishing LTE link (this may take some time) ...
ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:309

  k_sem_take failed with err -11

[00:00:10.549,194] <err> os: r0/a1:  0x00000003  r1/a2:  0x00000002  r2/a3:  0x00000001
[00:00:10.549,194] <err> os: r3/a4:  0x2000da00 r12/ip:  0x200161d0 r14/lr:  0x000220c10m
[00:00:10.549,224] <err> os:  xpsr:  0x41000000
[00:00:10.549,224] <err> os: Faulting instruction address (r15/pc): 0x000220cc
[00:00:10.549,255] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
[00:00:10.549,285] <err> os: Current thread: 0x2000ef50 (unknown)
[00:00:10.774,536] <err> fatal_error: Resetting system
*** Booting Zephyr OS build v3.0.99-ncs1-1  ***

[00:00:00.535,980] <inf> lte_ble_gw: LTE Sensor Gateway sample started
[00:00:00.536,132] <inf> lte_ble_gw: Initializing Bluetooth..
[00:00:00.553,863] <inf> lte_ble_gw: Establishing LTE link (this may take some time) ...


I know this has been encountered by other users,e.g. in this older post, but that was on an unsupported version of the SDK, and the workarounds do not work for me.


To reproduce:

1. Ensure that the modem driver is up to date, according to Getting started with Thingy:91. In fact, I started of with a working Asset Tracker V2 before trying out the LTE Sensor Gateway
2. Refresh v2.0.2:

git fetch origin
git checkout v2.0.2
west update

3. Connect the SEGGER to the 10 pins SWD.
4. Turn off Thingy:91 and set the SW2 switch to nRF52. Turn ON Thingy:91
5. In nrf/samples/bluetooth/hci_lpuart:

west build  -p -b thingy91_nrf52840
nrfjprog --program ./build/zephyr/merged.hex --chiperase --reset

Build output: 
-- west build: making build dir /home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build pristine
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart
-- Found Python3: /usr/bin/python3.8 (found suitable exact version "3.8.10") found components: Interpreter 
-- Cache files will be written to: /home/per/.cache/zephyr
-- Zephyr version: 3.0.99 (/home/per/sandboxes/ncs/zephyr)
-- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
-- Board: thingy91_nrf52840
-- Found dtc: /usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (/home/per/gnuarmemb)
-- Found BOARD.dts: /home/per/sandboxes/ncs/nrf/boards/arm/thingy91_nrf52840/thingy91_nrf52840.dts
-- Found devicetree overlay: /home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/boards/thingy91_nrf52840.overlay
-- Generated zephyr.dts: /home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/zephyr/dts.cmake
/home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/zephyr/zephyr.dts:53.25-59.5: Warning (unique_unit_address_if_enabled): /soc/clock@40000000: duplicate unit-address (also used in node /soc/power@40000000)
/home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/zephyr/zephyr.dts:313.21-317.5: Warning (unique_unit_address_if_enabled): /soc/acl@4001e000: duplicate unit-address (also used in node /soc/flash-controller@4001e000)
Parsing /home/per/sandboxes/ncs/zephyr/Kconfig
Loaded configuration '/home/per/sandboxes/ncs/nrf/boards/arm/thingy91_nrf52840/thingy91_nrf52840_defconfig'
Merged configuration '/home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/prj.conf'
Merged configuration '/home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/boards/thingy91_nrf52840.conf'
Configuration saved to '/home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/zephyr/.config'
Kconfig header saved to '/home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/zephyr/include/generated/autoconf.h'

warning: Experimental symbol BT_LL_SW_SPLIT is enabled.

-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /home/per/gnuarmemb/bin/arm-none-eabi-gcc
-- Found Python3: /usr/bin/python3.8 (found version "3.8.10") found components: Interpreter 

=== child image mcuboot -  begin ===
loading initial cache file /home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/mcuboot/child_image_preload.cmake
Loading Zephyr default modules (Zephyr base).
-- Application: /home/per/sandboxes/ncs/bootloader/mcuboot/boot/zephyr
-- Found Python3: /usr/bin/python3.8 (found suitable exact version "3.8.10") found components: Interpreter 
-- Cache files will be written to: /home/per/.cache/zephyr
-- Zephyr version: 3.0.99 (/home/per/sandboxes/ncs/zephyr)
-- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
-- Board: thingy91_nrf52840
-- Found dtc: /usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (/home/per/gnuarmemb)
-- Found BOARD.dts: /home/per/sandboxes/ncs/nrf/boards/arm/thingy91_nrf52840/thingy91_nrf52840.dts
-- Found devicetree overlay: /home/per/sandboxes/ncs/nrf/modules/mcuboot/usb.overlay
-- Found devicetree overlay: /home/per/sandboxes/ncs/bootloader/mcuboot/boot/zephyr/dts.overlay
-- Generated zephyr.dts: /home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/mcuboot/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/mcuboot/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/mcuboot/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/mcuboot/zephyr/dts.cmake
/home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/mcuboot/zephyr/zephyr.dts:53.25-59.5: Warning (unique_unit_address_if_enabled): /soc/clock@40000000: duplicate unit-address (also used in node /soc/power@40000000)
/home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/mcuboot/zephyr/zephyr.dts:312.21-316.5: Warning (unique_unit_address_if_enabled): /soc/acl@4001e000: duplicate unit-address (also used in node /soc/flash-controller@4001e000)
Parsing /home/per/sandboxes/ncs/bootloader/mcuboot/boot/zephyr/Kconfig
Loaded configuration '/home/per/sandboxes/ncs/nrf/boards/arm/thingy91_nrf52840/thingy91_nrf52840_defconfig'
Merged configuration '/home/per/sandboxes/ncs/bootloader/mcuboot/boot/zephyr/prj.conf'
Merged configuration '/home/per/sandboxes/ncs/bootloader/mcuboot/boot/zephyr/boards/thingy91_nrf52840.conf'
Merged configuration '/home/per/sandboxes/ncs/nrf/subsys/partition_manager/partition_manager_enabled.conf'
Merged configuration '/home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/mcuboot/zephyr/.config'
Kconfig header saved to '/home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/mcuboot/zephyr/include/generated/autoconf.h'

warning: LOG_DEFAULT_LEVEL (defined at /home/per/sandboxes/ncs/nrf/samples/Kconfig:98,
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/kconfig.html#CONFIG_LOG_DEFAULT_LEVEL 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 /home/per/sandboxes/ncs/nrf/modules/trusted-
firmware-m/Kconfig:104, Kconfig.zephyr:632) was assigned the value 'y' but got the value 'n'. Check
these unsatisfied dependencies: (BUILD_WITH_TFM || !MCUBOOT) (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BOOTLOADER_MCUBOOT 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:30) was selected
(set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_MODE_MINIMAL 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.

-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /home/per/gnuarmemb/bin/arm-none-eabi-gcc
CMake Warning at /home/per/sandboxes/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/per/sandboxes/ncs/bootloader/mcuboot/root-rsa-2048.pem
-- Configuring done
-- Generating done
-- Build files have been written to: /home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build/mcuboot
=== child image mcuboot -  end ===

CMake Warning at /home/per/sandboxes/ncs/nrf/modules/mcuboot/CMakeLists.txt:281 (message):
  

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



-- Configuring done
-- Generating done
-- Build files have been written to: /home/per/sandboxes/ncs/nrf/samples/bluetooth/hci_lpuart/build
-- west build: building application
[1/247] Preparing syscall dependency handling

[2/247] Generating include/generated/version.h
-- Zephyr version: 3.0.99 (/home/per/sandboxes/ncs/zephyr), build: v3.0.99-ncs1-1
[3/247] Creating directories for 'mcuboot_subimage'
[4/247] No download step for 'mcuboot_subimage'
[5/247] No update step for 'mcuboot_subimage'
[6/247] No patch step for 'mcuboot_subimage'
[7/247] No configure step for 'mcuboot_subimage'
[7/247] Performing build step for 'mcuboot_subimage'
[1/302] Preparing syscall dependency handling

[2/302] Generating include/generated/version.h
-- Zephyr version: 3.0.99 (/home/per/sandboxes/ncs/zephyr), build: v3.0.99-ncs1-1
[3/302] Generating misc/generated/syscalls_subdirs.trigger
[4/302] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/302] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[6/302] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[7/302] Generating include/generated/driver-validation.h
[8/302] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/302] Generating include/generated/offsets.h
[10/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[11/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/base64.c.obj
[12/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32c_sw.c.obj
[13/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[14/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[15/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[16/302] Building C object zephyr/CMakeFiles/zephyr.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/zephyr/serial_adapter.c.obj
[17/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[18/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[19/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[20/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[22/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[23/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[24/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[25/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[26/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[27/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_nano.c.obj
[29/302] Building C object zephyr/CMakeFiles/zephyr.dir/home/per/sandboxes/ncs/nrfxlib/crypto/nrf_cc310_platform/src/nrf_cc3xx_platform_mutex_zephyr.c.obj
[30/302] Generating linker_zephyr_pre0.cmd
[31/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[32/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[33/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[34/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[35/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[36/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
[37/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[38/302] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[39/302] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[40/302] Generating zephyr/autogen-pubkey.c
[41/302] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj
[42/302] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
[43/302] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
[44/302] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_device.c.obj
[45/302] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_descriptor.c.obj
[46/302] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_transfer.c.obj
[47/302] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/class/cdc_acm.c.obj
[48/302] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_work_q.c.obj
[49/302] Building C object CMakeFiles/app.dir/main.c.obj
[50/302] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map.c.obj
[51/302] Building C object CMakeFiles/app.dir/flash_map_extended.c.obj
[52/302] Building C object CMakeFiles/app.dir/os.c.obj
[53/302] Building C object CMakeFiles/app.dir/keys.c.obj
[54/302] Building C object CMakeFiles/app.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj
[55/302] Building C object CMakeFiles/app.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/bootutil/src/image_rsa.c.obj
[56/302] Building C object CMakeFiles/app.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/bootutil/src/image_ec256.c.obj
[57/302] Building C object CMakeFiles/app.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj
[58/302] Building C object CMakeFiles/app.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/bootutil/src/encrypted.c.obj
[59/302] Building C object CMakeFiles/app.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/bootutil/src/fault_injection_hardening.c.obj
[60/302] Building C object CMakeFiles/app.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/bootutil/src/image_ed25519.c.obj
[61/302] Building C object CMakeFiles/app.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj
[62/302] Building C object CMakeFiles/app.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/bootutil/src/loader.c.obj
[63/302] Building C object CMakeFiles/app.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj
[64/302] Building C object CMakeFiles/app.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj
[65/302] Building C object CMakeFiles/app.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/bootutil/src/caps.c.obj
[66/302] Building C object CMakeFiles/app.dir/zephyr/autogen-pubkey.c.obj
[67/302] Building C object CMakeFiles/app.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c.obj
[68/302] Building C object CMakeFiles/app.dir/nrf_cleanup.c.obj
[69/302] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map_layout.c.obj
[70/302] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[71/302] Building C object zephyr/CMakeFiles/zephyr.dir/home/per/sandboxes/ncs/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
[72/302] Building C object zephyr/CMakeFiles/zephyr.dir/home/per/sandboxes/ncs/nrfxlib/crypto/nrf_cc310_platform/src/nrf_cc3xx_platform_abort_zephyr.c.obj
[73/302] Building C object zephyr/CMakeFiles/zephyr.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/boot_serial/src/serial_recovery_cbor.c.obj
[74/302] Building C object zephyr/CMakeFiles/zephyr.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/boot_serial/src/cbor_decode.c.obj
[75/302] Building C object zephyr/CMakeFiles/zephyr.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/boot_serial/src/boot_serial.c.obj
[76/302] Building C object zephyr/CMakeFiles/zephyr.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/boot_serial/src/cbor_encode.c.obj
[77/302] Building C object zephyr/CMakeFiles/zephyr.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/boot_serial/src/cbor_common.c.obj
[78/302] Linking C static library app/libapp.a
[79/302] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[80/302] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[81/302] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[82/302] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[83/302] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[84/302] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[85/302] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[86/302] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[87/302] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[88/302] Linking C static library zephyr/libzephyr.a
[89/302] Linking C static library zephyr/arch/common/libisr_tables.a
[90/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/hmac_drbg.c.obj
[91/302] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[92/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/md.c.obj
[93/302] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[94/302] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[95/302] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[96/302] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[97/302] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[98/302] Generating linker_zephyr_pre1.cmd
[99/302] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[100/302] Linking C static library zephyr/arch/common/libarch__common.a
[101/302] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
[102/302] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[103/302] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[104/302] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[105/302] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[106/302] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[107/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[108/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[109/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[110/302] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj
[111/302] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_mpu.c.obj
[112/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
[113/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoll.c.obj
[114/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoull.c.obj
[115/302] Linking C static library zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a
[116/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[117/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[118/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/qsort.c.obj
[119/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[120/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[121/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[122/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[123/302] Linking C static library zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a
[124/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[125/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[126/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[127/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[128/302] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[129/302] Linking C static library zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a
[130/302] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
[131/302] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
[132/302] Building C object zephyr/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj
[133/302] Building C object zephyr/soc/arm/nordic_nrf/nrf52/CMakeFiles/soc__arm__nordic_nrf__nrf52.dir/soc.c.obj
[134/302] Building C object zephyr/drivers/usb/device/CMakeFiles/drivers__usb__device.dir/usb_dc_nrfx.c.obj
[135/302] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_nrf.c.obj
[136/302] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj
[137/302] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[138/302] Linking C static library zephyr/lib/libc/minimal/liblib__libc__minimal.a
[139/302] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_nrf.c.obj
[140/302] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/soc_flash_nrf.c.obj
[141/302] Linking C static library zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a
[142/302] Linking C static library zephyr/soc/arm/nordic_nrf/nrf52/libsoc__arm__nordic_nrf__nrf52.a
[143/302] Linking C static library zephyr/lib/posix/liblib__posix.a
[144/302] Linking C static library zephyr/drivers/usb/device/libdrivers__usb__device.a
[145/302] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[146/302] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/home/per/sandboxes/ncs/zephyr/misc/empty_file.c.obj
[147/302] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[148/302] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_page_layout.c.obj
[149/302] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
[150/302] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[151/302] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/nrf_rtc_timer.c.obj
[152/302] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[153/302] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_nrf.c.obj
[154/302] Building C object modules/nrf/lib/fatal_error/CMakeFiles/..__nrf__lib__fatal_error.dir/fatal_error.c.obj
[155/302] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[156/302] Building C object modules/nrf/lib/fprotect/CMakeFiles/..__nrf__lib__fprotect.dir/fprotect_acl.c.obj
[157/302] Linking C static library zephyr/drivers/flash/libdrivers__flash.a
[158/302] Building C object modules/nrf/drivers/hw_cc310/CMakeFiles/..__nrf__drivers__hw_cc310.dir/hw_cc310.c.obj
[159/302] Building C object modules/mcuboot/boot/bootutil/zephyr/CMakeFiles/mcuboot_util.dir/home/per/sandboxes/ncs/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c.obj
[160/302] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
[161/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/aesni.c.obj
[162/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/aes.c.obj
[163/302] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[164/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/zephyr_init.c.obj
[165/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/aria.c.obj
[166/302] Linking C static library modules/nrf/drivers/hw_cc310/lib..__nrf__drivers__hw_cc310.a
[167/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/asn1parse.c.obj
[168/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/asn1write.c.obj
[169/302] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[170/302] Linking C static library modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a
[171/302] Linking C static library modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a
[172/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/base64.c.obj
[173/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/bignum.c.obj
[174/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/camellia.c.obj
[175/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ccm.c.obj
[176/302] Linking C static library modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a
[177/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/chacha20.c.obj
[178/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/chachapoly.c.obj
[179/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/cipher.c.obj
[180/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/cipher_wrap.c.obj
[181/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/cmac.c.obj
[182/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ctr_drbg.c.obj
[183/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/debug.c.obj
[184/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/des.c.obj
[185/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/dhm.c.obj
[186/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ecdh.c.obj
[187/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ecdsa.c.obj
[188/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ecjpake.c.obj
[189/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ecp.c.obj
[190/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ecp_curves.c.obj
[191/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/entropy.c.obj
[192/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/entropy_poll.c.obj
[193/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/error.c.obj
[194/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/gcm.c.obj
[195/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/hkdf.c.obj
[196/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/md5.c.obj
[197/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/mps_reader.c.obj
[198/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/memory_buffer_alloc.c.obj
[199/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/mps_trace.c.obj
[200/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/net_sockets.c.obj
[201/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/nist_kw.c.obj
[202/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/oid.c.obj
[203/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/padlock.c.obj
[204/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/pem.c.obj
[205/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/pk.c.obj
[206/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/pk_wrap.c.obj
[207/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/pkcs12.c.obj
[208/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/pkcs5.c.obj
[209/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/pkparse.c.obj
[210/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/pkwrite.c.obj
[211/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/platform.c.obj
[212/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/platform_util.c.obj
[213/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/poly1305.c.obj
[214/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/psa_crypto.c.obj
[215/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/psa_crypto_aead.c.obj
[216/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/psa_crypto_cipher.c.obj
[217/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/psa_crypto_client.c.obj
[218/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/psa_crypto_hash.c.obj
[219/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/psa_crypto_mac.c.obj
[220/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/psa_crypto_driver_wrappers.c.obj
[221/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/psa_crypto_ecp.c.obj
[222/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/psa_crypto_rsa.c.obj
[223/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/psa_crypto_slot_management.c.obj
[224/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/psa_crypto_storage.c.obj
[225/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/psa_its_file.c.obj
[226/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/psa_crypto_se.c.obj
[227/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ripemd160.c.obj
[228/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/rsa.c.obj
[229/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/rsa_alt_helpers.c.obj
[230/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/sha1.c.obj
[231/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/sha256.c.obj
[232/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/sha512.c.obj
[233/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ssl_cache.c.obj
[234/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ssl_ciphersuites.c.obj
[235/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ssl_cli.c.obj
[236/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ssl_cookie.c.obj
[237/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ssl_msg.c.obj
[238/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ssl_srv.c.obj
[239/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ssl_tls.c.obj
[240/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ssl_ticket.c.obj
[241/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/ssl_tls13_keys.c.obj
[242/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/threading.c.obj
[243/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/timing.c.obj
[244/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/version.c.obj
[245/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/version_features.c.obj
[246/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/x509_crl.c.obj
[247/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/x509.c.obj
[248/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/x509_create.c.obj
[249/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/x509_crt.c.obj
[250/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/x509_csr.c.obj
[251/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/x509write_crt.c.obj
[252/302] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/home/per/sandboxes/ncs/modules/crypto/mbedtls/library/x509write_csr.c.obj
[253/302] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/per/sandboxes/ncs/modules/hal/nordic/nrfx/mdk/system_nrf52840.c.obj
[254/302] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/per/sandboxes/ncs/modules/hal/nordic/nrfx/helpers/nrfx_flag32_allocator.c.obj
[255/302] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/per/sandboxes/ncs/modules/hal/nordic/nrfx/drivers/src/nrfx_gpiote.c.obj
[256/302] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/per/sandboxes/ncs/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
[257/302] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
[258/302] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/per/sandboxes/ncs/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj
[259/302] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/per/sandboxes/ncs/modules/hal/nordic/nrfx/drivers/src/nrfx_power.c.obj
[260/302] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/per/sandboxes/ncs/modules/hal/nordic/nrfx/drivers/src/nrfx_ppi.c.obj
[261/302] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/per/sandboxes/ncs/modules/hal/nordic/nrfx/drivers/src/nrfx_usbd.c.obj
[262/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[263/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[264/302] Linking C static library modules/mbedtls/libmodules__mbedtls.a
[265/302] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/per/sandboxes/ncs/modules/hal/nordic/nrfx/drivers/src/nrfx_wdt.c.obj
[266/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[267/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[268/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[269/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[270/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[271/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[272/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[273/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[274/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[275/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
[276/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
[277/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
[278/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
[279/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[280/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/pipes.c.obj
[281/302] Linking C static library modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a
[282/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
[283/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
[284/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
[285/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
[286/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
[287/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
[288/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
[289/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
[290/302] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
[291/302] Linking C static library zephyr/kernel/libkernel.a
[292/302] Linking C executable zephyr/zephyr_pre0.elf

[293/302] Generating dev_handles.c
[294/302] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/misc/empty_file.c.obj
[295/302] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/dev_handles.c.obj
[296/302] Linking C executable zephyr/zephyr_pre1.elf

[297/302] Generating linker.cmd
[298/302] Generating isr_tables.c, isrList.bin
[299/302] Building C object zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj
[300/302] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj
[301/302] Building C object zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj
[302/302] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       58832 B        72 KB     79.80%
            SRAM:       37600 B       256 KB     14.34%
        IDT_LIST:          0 GB         2 KB      0.00%
[226/247] Linking C executable zephyr/zephyr_pre0.elf

[230/247] Linking C executable zephyr/zephyr_pre1.elf

[235/247] Building C object zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj
[237/247] No install step for 'mcuboot_subimage'
[238/247] Completed 'mcuboot_subimage'
[239/247] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:      127244 B     486912 B     26.13%
            SRAM:       37146 B       256 KB     14.17%
        IDT_LIST:          0 GB         2 KB      0.00%
[240/247] Generating zephyr/mcuboot_primary_app.hex
[241/247] Generating zephyr/mcuboot_primary.hex
[242/247] Generating ../../zephyr/app_update.bin
[243/247] Generating ../../zephyr/dfu_application.zip
[244/247] Generating ../../zephyr/app_signed.hex
[245/247] Generating ../../zephyr/app_test_update.hex
[246/247] Generating ../../zephyr/app_moved_test_update.hex
[247/247] Generating zephyr/merged.hex

6. Turn off Thingy:91, set to SW2 switch to nRF91 and turn on again:
7. In nrf/samples/nrf9160/lte_ble_gateway:
west build  -p -b thingy91_nrf9160_ns
nrfjprog --program ./build/zephyr/merged.hex --chiperase --reset

Build output: build2.txt
8. Turn off and on, start JLink RTT Viewer and observe the faulty ouput shown above. Always constant reboot with the same assertion error


I have tried the sample with and without the external USB, same results. I also tried the latest commit in main for the example, got a different error message, but still no success:

[00:00:00.522,338] <err> lpuart: err:0bad0002
[00:00:00.522,369] <err> lpuart: rdy pin init failed:-22
*** Booting Zephyr OS build v3.0.99-ncs1-2483-g482dcc7865f7  ***

[00:00:00.522,552] <inf> lte_ble_gw: LTE Sensor Gateway sample started
[00:00:00.522,674] <inf> lte_ble_gw: Initializing Bluetooth..
[00:00:00.522,705] <err> bt_hci_core: No HCI driver registered
[00:00:00.522,735] <err> lte_ble_gw: Bluetooth init failed (err -19)
[00:00:00.529,968] <inf> lte_ble_gw: Establishing LTE link (this may take some time) ...
[00:00:08.984,741] <err> nrf_cloud_transport: Failed to save session state: -2
[00:00:08.985,656] <inf> lte_ble_gw: Initializing GNSS
[00:00:08.991,760] <inf> lte_ble_gw: GNSS initialized
[00:00:08.994,720] <inf> lte_ble_gw: Requesting AGPS Data



I hope the Thingy:91 is a supported platform for the sample and look forward to hear from you on this matter.
Regards,
Per

Parents Reply Children
  • If it could be of any help, I tested the reset function of 52840 indirectly by wiping out the 9160 firmware and tracing the 52840 in RTT. In this case, the 52840 was naturally never reset. Re-programming the 9160 made the 52840 resetting periodically again, which I guess corresponds to the assert/restart of the 9160 firmware.

  • What Thingy:91 version do you have? The reason it didn't work for me is because I'm using an old Thingy:91 v1.0.0, where P0.10 of the nRF9160 is not connected to the reset line of the nRF52840, see Thingy:91 --> Pin maps:

    After following the approach in  RE: nRF9160: LTE Sensor Gateway on Thingy:91 and resetting physically by grounding TP8 I was able to get it to work:

    *** Booting Zephyr OS build v2.7.99-ncs1-1  ***
    LTE Sensor Gateway sample started
    Initializing Bluetooth..
    Establishing LTE link (this may take some time) ...
    Bluetooth ready
    Scanning...
    Device found: CA:99:4C:95:7E:69 (random)
    Connected: CA:99:4C:95:7E:69 (random)
    Orientation: 1
    Received unknown event 2
    Orientation: 2
    Orientation: 1
    NRF_CLOUD_EVT_TRANSPORT_CONNECTED
    Orientation: 3
    NRF_CLOUD_EVT_USER_ASSOCIATION_REQUEST
    Add device to cloud account.
    Waiting for cloud association...

    I also had a Thingy:52 laying on my desk with the correct firmware, and you can see that it connects to it and receives the orientation as I tilt the Thingy:52.

    Let me know what Thingy:91 version you have. If you're using v1.4.0 and it still doesn't work, I will try to get a hold of one when I get to the office on Monday and test myself.

  • I'm using Thingy:91 hardware version 1.6.0. I guess grounding TP8 makes no sense for that hardware version (haven't tried it though). However, if you made the sample work for NCS v1.9.x, I will try on that version

    Update: The sample worked on the NCS v1.9.1, Thingy:91 HW 1.6.0.
    Thank you very much Simon. I hope somebody at Nordic  writes a Ticket for the NCS 2.0.2. version 

Related