BLE FOTA + OpenThread Integration Issues: Advertising Error, IPC Timeout, and SMP Overflow

Hi Nordic Team,

We are working on an OpenThread+BLE with BLE DFU based application in NRF 5340. With that BLE and OpenThread Application are running successfully on the application core.

But we are facing issues in compilation & run time error whenever adding BLE FOTA configurations using multiprotocol_rpmsg.conf in Net Core.

Find the error log given below

Run Time error:

1. We have encountered the following error during BLE SDK 2.6.1:

[00:00:00.534,973] <err> bt_gatt: Unable to register handle 0x001b
[00:00:00.535,400] <wrn> bt_hci_core: opcode 0x2006 status 0x01
[00:00:00.535,400] <err> BleProvisioner: Advertising failed to start (err -5)

We have verified that BLE and OpenThread coexist correctly, but advertising consistently fails with error -5. Could this be related to GATT registration limits or HCI command conflicts?

Additionally, we are facing the following issues:

2. IPC Timeout in BLE FOTA Example:

  • Using the l9/l9_e5_sol in ncs-inter build from SDK v3.1.0.

  • When integrating OpenThread on the application core, we encounter IPC timeout errors during initialization.

  • Is there a recommended sequence or configuration to enable OpenThread alongside BLE FOTA to avoid IPC timeouts?

Compilation Error

1. Overflow with smp_bt_config() on Netcore BLE Setup in SDK NRF3.1.0 :

  • In our main project, we configure BLE on the network core using multiprotocol_rpmsg.conf and hci_rpmsg.conf.

  • When integrating smp_bt_config(), we encounter a 2KB overflow.

  • Could you provide guidance on optimizing memory layout or reducing the BLE stack footprint in this setup?

We are in a critical situation, as this is blocking our production. We kindly request your guidance and solutions for the issues mentioned above.

We would appreciate any guidance or recommended configurations for these scenarios. We are happy to share additional logs, configuration files, or build details if needed.

Thank you for your support.

Parents
  • Hi,

    [00:00:00.534,973] <err> bt_gatt: Unable to register handle 0x001b

    Do you call smp_bt_register() manually in your code? If so, please remove it. See this post

    [00:00:00.535,400] <wrn> bt_hci_core: opcode 0x2006 status 0x01
    [00:00:00.535,400] <err> BleProvisioner: Advertising failed to start (err -5)

    The error Advertising failed to start (err -5) and the HCI status opcode 0x2006 status 0x01 indicate a failure in the HCI command to start advertising. Status 0x01 is a generic "Unknown HCI Command" or "Unknown Command Parameter" error from the controller. This can occur if the network core (running the multiprotocol controller) is not configured to support the required number of advertising sets or extended advertising, or if the configuration between the application and the network core is mismatched. Could you provide the .config file under build/multiprotocol_rpmsg/zephyr?

    • When integrating OpenThread on the application core, we encounter IPC timeout errors during initialization.

    • Is there a recommended sequence or configuration to enable OpenThread alongside BLE FOTA to avoid IPC timeouts?

    Please try to apply the Net Core configuration from the CLI sample: https://github.com/nrfconnect/sdk-nrf/blob/main/samples/openthread/cli/sysbuild/ipc_radio/prj.conf

    Could you provide guidance on optimizing memory layout or reducing the BLE stack footprint in this setup?

    See Memory footprint optimization or consider DFU with added external flash (see this Devacademy course https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-3-dfu-with-external-flash/). 

    Regards,
    Amanda H.

  • Could you provide the .config file under build/multiprotocol_rpmsg/zephyr?

    Here is the .config file.

    Note: Unable to upload the .config file. Please find the .config content attached below in .txt format.

    2630.config.txt

  • Hi,

    we are still facing issue in flash overflow. 

     

    Building openthread
    west build --build-dir d:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build d:/joiner_dfu_2_6_1/openthread_reset_fix/openthread --pristine --board nrf5340dk_nrf5340_cpuapp -- -DNCS_TOOLCHAIN_VERSION="NONE" -DCONFIG_SIZE_OPTIMIZATIONS=y -DCONF_FILE="prj.conf" -DEXTRA_CONF_FILE="overlay-bt.conf" -DDTC_OVERLAY_FILE=boards/nrf5340dk_nrf5340_cpuapp.overlay -DEXTRA_DTC_OVERLAY_FILE=boards/nrf5340dk_nrf5340_cpuapp.overlay
    
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/cf2149caf2/opt/bin/python.exe (found suitable version "3.9.13", minimum required is "3.8") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v2.6.1/zephyr/.cache
    -- Zephyr version: 3.5.99 (C:/ncs/v2.6.1/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk_nrf5340_cpuapp
    -- Found host-tools: zephyr 0.16.5 (C:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.5 (C:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/cf2149caf2/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found BOARD.dts: C:/ncs/v2.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts
    -- Found devicetree overlay: boards/nrf5340dk_nrf5340_cpuapp.overlay
    -- Found devicetree overlay: boards/nrf5340dk_nrf5340_cpuapp.overlay
    -- Generated zephyr.dts: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/zephyr/dts.cmake
    
    warning: NET_CONFIG_NEED_IPV6 (defined at boards/shields\sparkfun_sara_r4\Kconfig.defconfig:35,
    boards/shields\wnc_m14a2a\Kconfig.defconfig:28, subsys/net/lib/config/Kconfig:28) was assigned the
    value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((NETWORKING &&
    SHIELD_SPARKFUN_SARA_R4) || (NETWORKING && SHIELD_WNC_M14A2A) || (NET_CONFIG_AUTO_INIT &&
    NETWORKING)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_NET_CONFIG_NEED_IPV6
    and/or look up NET_CONFIG_NEED_IPV6 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: BT_CTLR_DATA_LENGTH_MAX (defined at
    C:/ncs/v2.6.1/nrf\samples\common\mcumgr_bt_ota_dfu/Kconfig:131,
    C:/ncs/v2.6.1/nrf\subsys\bluetooth\services\fast_pair/Kconfig.fast_pair:101,
    subsys/bluetooth\controller/Kconfig:490) was assigned the value '151' but got the value ''. Check
    these unsatisfied dependencies: (NCS_SAMPLE_MCUMGR_BT_OTA_DFU_SPEEDUP || (BT_FAST_PAIR_GATT_SERVICE
    && BT_FAST_PAIR && BT) || (BT_CTLR_DATA_LENGTH && BT_CONN && BT_CTLR && BT_HCI && BT)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_CTLR_DATA_LENGTH_MAX and/or look up
    BT_CTLR_DATA_LENGTH_MAX 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: OPENTHREAD_COAP (defined at C:/ncs/v2.6.1/zephyr/modules/openthread\Kconfig.features:68,
    modules\openthread\Kconfig.features:68) was assigned the value 'n' but got the value 'y'. See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_OPENTHREAD_COAP and/or look up
    OPENTHREAD_COAP 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 D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/Kconfig
    Loaded configuration 'C:/ncs/v2.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig'
    Merged configuration 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/prj.conf'
    Merged configuration 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/overlay-bt.conf'
    Merged configuration 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/zephyr/misc/generated/extra_kconfig_options.conf'
    Configuration saved to 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/zephyr/.config'
    Kconfig header saved to 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38")
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    CMake Warning at C:/ncs/v2.6.1/zephyr/subsys/mgmt/mcumgr/grp/fs_mgmt/CMakeLists.txt:26 (message):
      Note: MCUmgr file system management is enabled but file access hooks are
      disabled, this is an insecure configuration and not recommended for
      production use, as all files on the filesystem can be manipulated by a
      remote device.  See
      https://docs.zephyrproject.org/latest/services/device_mgmt/mcumgr_callbacks.html
      for details on enabling and using MCUmgr hooks.
    
    
    
    === child image multiprotocol_rpmsg - CPUNET begin ===
    loading initial cache file D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/child_image_preload.cmake
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.6.1/nrf/samples/nrf5340/multiprotocol_rpmsg
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/cf2149caf2/opt/bin/python.exe (found suitable version "3.9.13", minimum required is "3.8") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v2.6.1/zephyr/.cache
    -- Zephyr version: 3.5.99 (C:/ncs/v2.6.1/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk_nrf5340_cpunet
    -- Found host-tools: zephyr 0.16.5 (C:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.5 (C:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/cf2149caf2/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found BOARD.dts: C:/ncs/v2.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts
    -- Found devicetree overlay: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/child_image/multiprotocol_rpmsg/boards/nrf5340dk_nrf5340_cpunet.overlay
    -- Generated zephyr.dts: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/zephyr/dts.cmake
    
    warning: BT_OBSERVER (defined at C:/ncs/v2.6.1/nrf\subsys\bluetooth\rpc/Kconfig:151,
    subsys/bluetooth/Kconfig:101) was assigned the value 'n' but got the value 'y'. See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_OBSERVER and/or look up BT_OBSERVER 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: BT_BROADCASTER (defined at C:/ncs/v2.6.1/nrf\subsys\bluetooth\rpc/Kconfig:159,
    subsys/bluetooth/Kconfig:95) was assigned the value 'n' but got the value 'y'. See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_BROADCASTER and/or look up
    BT_BROADCASTER 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: PRINTK (defined at subsys/debug/Kconfig:204) was assigned the value 'n' but got the value
    'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_PRINTK and/or look up PRINTK 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 C:/ncs/v2.6.1/zephyr/Kconfig
    Loaded configuration 'C:/ncs/v2.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig'
    Merged configuration 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/child_image/multiprotocol_rpmsg/prj.conf'
    Merged configuration 'C:/ncs/v2.6.1/nrf/subsys/bootloader/image/secure_boot.conf'
    Merged configuration 'C:/ncs/v2.6.1/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Merged configuration 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/child_image/multiprotocol_rpmsg.conf'
    Merged configuration 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/zephyr/misc/generated/extra_kconfig_options.conf'
    Configuration saved to 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/zephyr/.config'
    Kconfig header saved to 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38")
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    
    === child image b0n - CPUNET (inherited) begin ===
    loading initial cache file D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/b0n/child_image_preload.cmake
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.6.1/nrf/samples/nrf5340/netboot
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/cf2149caf2/opt/bin/python.exe (found suitable version "3.9.13", minimum required is "3.8") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v2.6.1/zephyr/.cache
    -- Zephyr version: 3.5.99 (C:/ncs/v2.6.1/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk_nrf5340_cpunet
    -- Found host-tools: zephyr 0.16.5 (C:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.5 (C:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/cf2149caf2/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found BOARD.dts: C:/ncs/v2.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts
    -- Generated zephyr.dts: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/b0n/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/b0n/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/b0n/zephyr/dts.cmake
    Parsing C:/ncs/v2.6.1/nrf/samples/nrf5340/netboot/Kconfig
    Loaded configuration 'C:/ncs/v2.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig'
    Merged configuration 'C:/ncs/v2.6.1/nrf/samples/nrf5340/netboot/prj.conf'
    Merged configuration 'C:/ncs/v2.6.1/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Configuration saved to 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/b0n/zephyr/.config'
    Kconfig header saved to 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/b0n/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38")
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    CMake Warning at C:/ncs/v2.6.1/zephyr/CMakeLists.txt:1957 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/b0n
    === child image b0n - CPUNET (inherited) end ===
    
    CMake Warning at C:/ncs/v2.6.1/nrf/subsys/bootloader/cmake/debug_keys.cmake:36 (message):
    
    
          --------------------------------------------------------------
          --- WARNING: Using generated NSIB public/private key-pair. ---
          --- It should not be used for production.                  ---
          --- See CONFIG_SB_SIGNING_KEY_FILE                         ---
          --------------------------------------------------------------
    
    
    Call Stack (most recent call first):
      C:/ncs/v2.6.1/nrf/subsys/bootloader/cmake/provision_hex.cmake:47 (include)
      C:/ncs/v2.6.1/nrf/subsys/CMakeLists.txt:20 (include)
    
    
    -- libmetal version: 1.4.0 (C:/ncs/v2.6.1/nrf/samples/nrf5340/multiprotocol_rpmsg)
    -- Build type:
    -- Host:    Windows/AMD64
    -- Target:  Generic/arm
    -- Machine: arm
    -- Looking for include file stdatomic.h
    -- Looking for include file stdatomic.h - found
    -- open-amp version: 1.4.0 (C:/ncs/v2.6.1/modules/lib/open-amp/open-amp)
    -- Host:    Windows/AMD64
    -- Target:  Generic/arm
    -- Machine: arm
    -- C_FLAGS :  -Wall -Wextra
    -- Looking for include file fcntl.h
    -- Looking for include file fcntl.h - found
    CMake Warning at C:/ncs/v2.6.1/zephyr/CMakeLists.txt:1957 (message):
      __ASSERT() statements are globally ENABLED
    
    
    CMake Warning at C:/ncs/v2.6.1/nrf/cmake/partition_manager.cmake:79 (message):
    
    
              ---------------------------------------------------------------------
              --- WARNING: Using a bootloader without pm_static.yml.            ---
              --- There are cases where a deployed product can consist of       ---
              --- multiple images, and only a subset of these images can be     ---
              --- upgraded through a firmware update mechanism. In such cases,  ---
              --- the upgradable images must have partitions that are static    ---
              --- and are matching the partition map used by the bootloader     ---
              --- programmed onto the device.                                   ---
              ---------------------------------------------------------------------
    
    
    Call Stack (most recent call first):
      C:/ncs/v2.6.1/zephyr/cmake/modules/kernel.cmake:248 (include)
      C:/ncs/v2.6.1/zephyr/cmake/modules/zephyr_default.cmake:138 (include)
      C:/ncs/v2.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
      C:/ncs/v2.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      CMakeLists.txt:5 (find_package)
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg
    === child image multiprotocol_rpmsg - CPUNET end ===
    
    -- Found Python3: C:/ncs/toolchains/cf2149caf2/opt/bin/python.exe (found version "3.9.13") found components: Interpreter
    
    === child image mcuboot -  begin ===
    loading initial cache file D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/mcuboot/child_image_preload.cmake
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.6.1/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/cf2149caf2/opt/bin/python.exe (found suitable version "3.9.13", minimum required is "3.8") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v2.6.1/zephyr/.cache
    -- Zephyr version: 3.5.99 (C:/ncs/v2.6.1/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk_nrf5340_cpuapp
    -- Found host-tools: zephyr 0.16.5 (C:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.5 (C:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/cf2149caf2/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found BOARD.dts: C:/ncs/v2.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts
    -- Found devicetree overlay: C:/ncs/v2.6.1/nrf/modules/mcuboot/flash_sim.overlay
    -- Found devicetree overlay: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/child_image/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.overlay
    -- Generated zephyr.dts: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/mcuboot/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/mcuboot/zephyr/dts.cmake
    
    warning: MBEDTLS_ECP_C (defined at C:/ncs/v2.6.1/nrf\modules/trusted-
    firmware-m/Kconfig.mbedtls_minimal.defconfig:41,
    C:/ncs/v2.6.1/nrf\subsys\nrf_security\Kconfig.legacy:521,
    C:/ncs/v2.6.1/zephyr/modules/mbedtls\Kconfig.tls-generic:145, modules\mbedtls\Kconfig.tls-
    generic:145) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies:
    (TFM_PROFILE_TYPE_MINIMAL || (MBEDTLS_LEGACY_CRYPTO_C && NRF_SECURITY) || (!(NRF_SECURITY ||
    NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS)
    || (!(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-
    generic.h" && MBEDTLS && 0)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_ECP_C and/or look up MBEDTLS_ECP_C
    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: MBEDTLS_ECDSA_C (defined at C:/ncs/v2.6.1/nrf\subsys\nrf_security\Kconfig.legacy:542,
    C:/ncs/v2.6.1/zephyr/modules/mbedtls\Kconfig.tls-generic:137, modules\mbedtls\Kconfig.tls-
    generic:137) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies:
    ((MBEDTLS_ECP_C && MBEDTLS_LEGACY_CRYPTO_C && NRF_SECURITY) || (MBEDTLS_ECP_C && !(NRF_SECURITY ||
    NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS)
    || (MBEDTLS_ECP_C && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN &&
    MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_ECDSA_C and/or look up
    MBEDTLS_ECDSA_C 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: MBEDTLS_SHA256_C (defined at C:/ncs/v2.6.1/nrf\subsys\nrf_security\Kconfig.legacy:718) was
    assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies:
    MBEDTLS_LEGACY_CRYPTO_C (=n), NRF_SECURITY (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_SHA256_C and/or look up
    MBEDTLS_SHA256_C 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: UART_CONSOLE (defined at drivers/console/Kconfig:43) was assigned the value 'y' but got the
    value 'n'. Check these unsatisfied dependencies: CONSOLE (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UART_CONSOLE and/or look up UART_CONSOLE 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: PRINTK (defined at subsys/debug/Kconfig:204) was assigned the value 'n' but got the value
    'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_PRINTK and/or look up PRINTK 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 C:/ncs/v2.6.1/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration 'C:/ncs/v2.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig'
    Merged configuration 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/child_image/mcuboot/prj.conf'
    Merged configuration 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/child_image/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.conf'
    Merged configuration 'C:/ncs/v2.6.1/nrf/subsys/pcd/pcd.conf'
    Merged configuration 'C:/ncs/v2.6.1/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf'
    Merged configuration 'C:/ncs/v2.6.1/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Merged configuration 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
    Configuration saved to 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/mcuboot/zephyr/.config'
    Kconfig header saved to 'D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/mcuboot/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38")
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    MCUBoot bootloader key file: C:/ncs/v2.6.1/bootloader/mcuboot/root-ec-p256.pem
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/mcuboot
    === child image mcuboot -  end ===
    
    CMake Warning at C:/ncs/v2.6.1/nrf/modules/mcuboot/CMakeLists.txt:382 (message):
      
    
              ---------------------------------------------------------
              --- WARNING: Using default MCUBoot key, it should not ---
              --- be used for production.                           ---
              ---------------------------------------------------------
              
    
    
    
    -- OpenThread Source Directory: C:/ncs/v2.6.1/modules/lib/openthread
    -- OT_APP_CLI=ON
    -- OT_APP_NCP=ON
    -- OT_APP_RCP=ON
    -- OT_FTD=OFF
    -- OT_MTD=ON
    -- OT_RCP=ON
    -- - - - - - - - - - - - - - - - -
    -- OpenThread ON/OFF/Unspecified Configs
    -- OT_15_4=ON --> OPENTHREAD_CONFIG_RADIO_LINK_IEEE_802_15_4_ENABLE=1
    -- OT_ANDROID_NDK=""
    -- OT_ANYCAST_LOCATOR=OFF --> OPENTHREAD_CONFIG_TMF_ANYCAST_LOCATOR_ENABLE=0
    -- OT_ASSERT=OFF --> OPENTHREAD_CONFIG_ASSERT_ENABLE=0
    -- OT_BACKBONE_ROUTER=OFF --> OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE=0
    -- OT_BACKBONE_ROUTER_DUA_NDPROXYING=OFF --> OPENTHREAD_CONFIG_BACKBONE_ROUTER_DUA_NDPROXYING_ENABLE=0
    -- OT_BACKBONE_ROUTER_MULTICAST_ROUTING=OFF --> OPENTHREAD_CONFIG_BACKBONE_ROUTER_MULTICAST_ROUTING_ENABLE=0
    -- OT_BLE_TCAT=OFF --> OPENTHREAD_CONFIG_BLE_TCAT_ENABLE=0
    -- OT_BORDER_AGENT=OFF --> OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE=0
    -- OT_BORDER_AGENT_ID=""
    -- OT_BORDER_ROUTER=OFF --> OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE=0
    -- OT_BORDER_ROUTING=OFF --> OPENTHREAD_CONFIG_BORDER_ROUTING_ENABLE=0
    -- OT_BORDER_ROUTING_DHCP6_PD=OFF --> OPENTHREAD_CONFIG_BORDER_ROUTING_DHCP6_PD_ENABLE=0
    -- OT_BORDER_ROUTING_COUNTERS=OFF --> OPENTHREAD_CONFIG_IP6_BR_COUNTERS_ENABLE=0
    -- OT_CHANNEL_MANAGER=OFF --> OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE=0
    -- OT_CHANNEL_MONITOR=OFF --> OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE=0
    -- OT_COAP=ON --> OPENTHREAD_CONFIG_COAP_API_ENABLE=1
    -- OT_COAP_BLOCK=OFF --> OPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLE=0
    -- OT_COAP_OBSERVE=OFF --> OPENTHREAD_CONFIG_COAP_OBSERVE_API_ENABLE=0
    -- OT_COAPS=ON --> OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE=1
    -- OT_COMMISSIONER=ON --> OPENTHREAD_CONFIG_COMMISSIONER_ENABLE=1
    -- OT_CSL_AUTO_SYNC=ON --> OPENTHREAD_CONFIG_MAC_CSL_AUTO_SYNC_ENABLE=1
    -- OT_CSL_DEBUG=OFF --> OPENTHREAD_CONFIG_MAC_CSL_DEBUG_ENABLE=0
    -- OT_CSL_RECEIVER=ON --> OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE=1
    -- OT_CSL_RECEIVER_LOCAL_TIME_SYNC=OFF --> OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_LOCAL_TIME_SYNC=0
    -- OT_DATASET_UPDATER=OFF --> OPENTHREAD_CONFIG_DATASET_UPDATER_ENABLE=0
    -- OT_DEVICE_PROP_LEADER_WEIGHT=OFF --> OPENTHREAD_CONFIG_MLE_DEVICE_PROPERTY_LEADER_WEIGHT_ENABLE=0
    -- OT_DHCP6_CLIENT=ON --> OPENTHREAD_CONFIG_DHCP6_CLIENT_ENABLE=1
    -- OT_DHCP6_SERVER=ON --> OPENTHREAD_CONFIG_DHCP6_SERVER_ENABLE=1
    -- OT_DIAGNOSTIC=ON --> OPENTHREAD_CONFIG_DIAG_ENABLE=1
    -- OT_DNS_CLIENT=ON --> OPENTHREAD_CONFIG_DNS_CLIENT_ENABLE=1
    -- OT_DNS_CLIENT_OVER_TCP=OFF --> OPENTHREAD_CONFIG_DNS_CLIENT_OVER_TCP_ENABLE=0
    -- OT_DNS_DSO=OFF --> OPENTHREAD_CONFIG_DNS_DSO_ENABLE=0
    -- OT_DNS_UPSTREAM_QUERY=OFF --> OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_ENABLE=0
    -- OT_DNSSD_SERVER=OFF --> OPENTHREAD_CONFIG_DNSSD_SERVER_ENABLE=0
    -- OT_DUA=ON --> OPENTHREAD_CONFIG_DUA_ENABLE=1
    -- OT_ECDSA=ON --> OPENTHREAD_CONFIG_ECDSA_ENABLE=1
    -- OT_EXTERNAL_HEAP=ON --> OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE=1
    -- OT_FIREWALL=OFF --> OPENTHREAD_POSIX_CONFIG_FIREWALL_ENABLE=0
    -- OT_HISTORY_TRACKER=OFF --> OPENTHREAD_CONFIG_HISTORY_TRACKER_ENABLE=0
    -- OT_IP6_FRAGM=ON --> OPENTHREAD_CONFIG_IP6_FRAGMENTATION_ENABLE=1
    -- OT_JAM_DETECTION=ON --> OPENTHREAD_CONFIG_JAM_DETECTION_ENABLE=1
    -- OT_JOINER=ON --> OPENTHREAD_CONFIG_JOINER_ENABLE=1
    -- OT_LINK_METRICS_INITIATOR=ON --> OPENTHREAD_CONFIG_MLE_LINK_METRICS_INITIATOR_ENABLE=1
    -- OT_LINK_METRICS_MANAGER=OFF --> OPENTHREAD_CONFIG_LINK_METRICS_MANAGER_ENABLE=0
    -- OT_LINK_METRICS_SUBJECT=ON --> OPENTHREAD_CONFIG_MLE_LINK_METRICS_SUBJECT_ENABLE=1
    -- OT_LINK_RAW=ON --> OPENTHREAD_CONFIG_LINK_RAW_ENABLE=1
    -- OT_LOG_LEVEL_DYNAMIC=OFF --> OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE=0
    -- OT_MAC_FILTER=ON --> OPENTHREAD_CONFIG_MAC_FILTER_ENABLE=1
    -- OT_MESH_DIAG=OFF --> OPENTHREAD_CONFIG_MESH_DIAG_ENABLE=0
    -- OT_MESSAGE_USE_HEAP=OFF --> OPENTHREAD_CONFIG_MESSAGE_USE_HEAP_ENABLE=0
    -- OT_MLE_LONG_ROUTES=OFF --> OPENTHREAD_CONFIG_MLE_LONG_ROUTES_ENABLE=0
    -- OT_MLR=ON --> OPENTHREAD_CONFIG_MLR_ENABLE=1
    -- OT_MULTIPAN_RCP=OFF --> OPENTHREAD_CONFIG_MULTIPAN_RCP_ENABLE=0
    -- OT_MULTIPLE_INSTANCE=OFF --> OPENTHREAD_CONFIG_MULTIPLE_INSTANCE_ENABLE=0
    -- OT_NAT64_BORDER_ROUTING=OFF --> OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE=0
    -- OT_NAT64_TRANSLATOR=OFF --> OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE=0
    -- OT_NEIGHBOR_DISCOVERY_AGENT=OFF --> OPENTHREAD_CONFIG_NEIGHBOR_DISCOVERY_AGENT_ENABLE=0
    -- OT_NETDATA_PUBLISHER=OFF --> OPENTHREAD_CONFIG_NETDATA_PUBLISHER_ENABLE=0
    -- OT_NETDIAG_CLIENT=ON --> OPENTHREAD_CONFIG_TMF_NETDIAG_CLIENT_ENABLE=1
    -- OT_OPERATIONAL_DATASET_AUTO_INIT=ON --> OPENTHREAD_CONFIG_OPERATIONAL_DATASET_AUTO_INIT=1
    -- OT_OTNS=OFF --> OPENTHREAD_CONFIG_OTNS_ENABLE=0
    -- OT_PING_SENDER=ON --> OPENTHREAD_CONFIG_PING_SENDER_ENABLE=1
    -- OT_PLATFORM_BOOTLOADER_MODE=OFF --> OPENTHREAD_CONFIG_PLATFORM_BOOTLOADER_MODE_ENABLE=0
    -- OT_PLATFORM_KEY_REF=ON --> OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE=1
    -- OT_PLATFORM_NETIF=OFF --> OPENTHREAD_CONFIG_PLATFORM_NETIF_ENABLE=0
    -- OT_PLATFORM_POWER_CALIBRATION=OFF --> OPENTHREAD_CONFIG_PLATFORM_POWER_CALIBRATION_ENABLE=0
    -- OT_PLATFORM_UDP=OFF --> OPENTHREAD_CONFIG_PLATFORM_UDP_ENABLE=0
    -- OT_REFERENCE_DEVICE=OFF --> OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE=0
    -- OT_SERVICE=ON --> OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE=1
    -- OT_SETTINGS_RAM=OFF --> OPENTHREAD_SETTINGS_RAM=0
    -- OT_SLAAC=ON --> OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE=1
    -- OT_SNTP_CLIENT=ON --> OPENTHREAD_CONFIG_SNTP_CLIENT_ENABLE=1
    -- OT_SRP_ADV_PROXY=""
    -- OT_SRP_CLIENT=ON --> OPENTHREAD_CONFIG_SRP_CLIENT_ENABLE=1
    -- OT_SRP_SERVER=OFF --> OPENTHREAD_CONFIG_SRP_SERVER_ENABLE=0
    -- OT_TCP=OFF --> OPENTHREAD_CONFIG_TCP_ENABLE=0
    -- OT_TIME_SYNC=OFF --> OPENTHREAD_CONFIG_TIME_SYNC_ENABLE=0
    -- OT_TREL=OFF --> OPENTHREAD_CONFIG_RADIO_LINK_TREL_ENABLE=0
    -- OT_TX_BEACON_PAYLOAD=OFF --> OPENTHREAD_CONFIG_MAC_OUTGOING_BEACON_PAYLOAD_ENABLE=0
    -- OT_TX_QUEUE_STATS=OFF --> OPENTHREAD_CONFIG_TX_QUEUE_STATISTICS_ENABLE=0
    -- OT_UDP_FORWARD=ON --> OPENTHREAD_CONFIG_UDP_FORWARD_ENABLE=1
    -- OT_UPTIME=OFF --> OPENTHREAD_CONFIG_UPTIME_ENABLE=0
    -- - - - - - - - - - - - - - - - -
    -- OT_PLATFORM="zephyr"
    -- OT_THREAD_VERSION="1.2" -> OPENTHREAD_CONFIG_THREAD_VERSION=OT_THREAD_VERSION_1_2
    -- OT_LOG_LEVEL=""
    -- OT_LOG_OUTPUT=""
    -- OT_VENDOR_NAME=""
    -- OT_VENDOR_MODEL=""
    -- OT_VENDOR_SW_VERSION=""
    -- OT_POWER_SUPPLY="EXTERNAL" --> OPENTHREAD_CONFIG_DEVICE_POWER_SUPPLY=OT_POWER_SUPPLY_EXTERNAL
    -- OT_MLE_MAX_CHILDREN=""
    -- OT_RCP_RESTORATION_MAX_COUNT=""
    -- OT_RCP_TX_WAIT_TIME_SECS=""
    -- Package Name: OPENTHREAD
    -- Setting default package version: b9dcdbca4
    -- Package Version: b9dcdbca4
    -- libmetal version: 1.4.0 (D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread)
    -- Build type:
    -- Host:    Windows/AMD64
    -- Target:  Generic/arm
    -- Machine: arm
    -- Looking for include file stdatomic.h
    -- Looking for include file stdatomic.h - found
    -- open-amp version: 1.4.0 (C:/ncs/v2.6.1/modules/lib/open-amp/open-amp)
    -- Host:    Windows/AMD64
    -- Target:  Generic/arm
    -- Machine: arm
    -- C_FLAGS :  -Wall -Wextra
    -- Looking for include file fcntl.h
    -- Looking for include file fcntl.h - found
    CMake Warning at C:/ncs/v2.6.1/zephyr/CMakeLists.txt:862 (message):
      No SOURCES given to Zephyr library: drivers__rtc
    
      Excluding target from build.
    
    
    -- Found partition manager static configuration: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/pm_static.yml
    Partition 'mcuboot' is not included in the dynamic resolving since it is statically defined.
    Dropping partition 'hw_unique_key_partition' since its size is 0.
    CMake Warning at C:/ncs/v2.6.1/nrf/cmake/partition_manager.cmake:601 (message):
      Could not find memory mapped address for XIP.  Generated update hex files
      will not have the correct base address.  Hence they can not be programmed
      directly to the external flash
    Call Stack (most recent call first):
      C:/ncs/v2.6.1/zephyr/cmake/modules/kernel.cmake:248 (include)
      C:/ncs/v2.6.1/zephyr/cmake/modules/zephyr_default.cmake:138 (include)
      C:/ncs/v2.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
      C:/ncs/v2.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      CMakeLists.txt:17 (find_package)
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build
    ←[92m-- west build: building application
    [2/809] Generating include/generated/version.h
    -- Zephyr version: 3.5.99 (C:/ncs/v2.6.1/zephyr), build: v3.5.99-ncs1-1
    [11/809] Performing build step for 'multiprotocol_rpmsg_subimage'
    [0/287] Generating signing key
    [2/287] Creating public key from private key used for signing
    [3/287] Generating include/generated/version.h
    -- Zephyr version: 3.5.99 (C:/ncs/v2.6.1/zephyr), build: v3.5.99-ncs1-1
    [6/287] Creating data to be provisioned to the Bootloader, storing to provision.hex
    [15/287] Performing build step for 'b0n_subimage'
    [2/137] Generating include/generated/version.h
    -- Zephyr version: 3.5.99 (C:/ncs/v2.6.1/zephyr), build: v3.5.99-ncs1-1
    [102/137] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.6.1/modules/hal/nordic/nrfx/mdk/system_nrf534[104/137] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.6.1/modules/hal/nordic/nrfx/drivers/src/nrfx_[106/137] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.6.1/modules/hal/nordic/nrfx/drivers/src/nrfx_[109/137] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.6.1/modules/hal/nordic/nrfx/drivers/src/nrfx_[137/137] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       23710 B      34176 B     69.38%
                 RAM:        3528 B        64 KB      5.38%
               SRAM1:          0 GB        64 KB      0.00%
            IDT_LIST:          0 GB        32 KB      0.00%
    [31/287] Building C object zephyr/drivers/ipm/CMakeFiles/drivers__ipm.dir/ipm_nrfx_ipc.c.obj
    C:/ncs/v2.6.1/zephyr/drivers/ipm/ipm_nrfx_ipc.c:247:13: warning: 'gipm_send' defined but not used [-Wunused-function]
      247 | static void gipm_send(uint32_t id)
          |             ^~~~~~~~~
    C:/ncs/v2.6.1/zephyr/drivers/ipm/ipm_nrfx_ipc.c:147:12: warning: 'vipm_nrf_init' defined but not used [-Wunused-function]
      147 | static int vipm_nrf_init(const struct device *dev)
          |            ^~~~~~~~~~~~~
    C:/ncs/v2.6.1/zephyr/drivers/ipm/ipm_nrfx_ipc.c:140:17: warning: 'vipm_nrf_max_id_val_get' defined but not used [-Wunused-function]
      140 | static uint32_t vipm_nrf_max_id_val_get(const struct device *dev)
          |                 ^~~~~~~~~~~~~~~~~~~~~~~
    C:/ncs/v2.6.1/zephyr/drivers/ipm/ipm_nrfx_ipc.c:135:12: warning: 'vipm_nrf_max_data_size_get' defined but not used [-Wunused-function]
      135 | static int vipm_nrf_max_data_size_get(const struct device *dev)
          |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
    [57/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/ipc/rpmsg_service/rpmsg_backend.c.obj
    C:/ncs/v2.6.1/zephyr/subsys/ipc/rpmsg_service/rpmsg_backend.c:158:13: warning: 'ipm_callback' defined but not used [-Wunused-function]
      158 | static void ipm_callback(const struct device *dev,
          |             ^~~~~~~~~~~~
    [216/287] Building C object modules/nrfxlib/nrf_802154/nrf_802154/driver/CMakeFiles/nrf-802154-driver.dir/src/mac_features/nrf_802154_frame_parser.c[222/287] Building C object modules/nrfxlib/nrf_802154/nrf_802154/driver/CMakeFiles/nrf-802154-driver.dir/src/mac_features/nrf_802154_security_write[223/287] Building C object modules/nrfxlib/nrf_802154/nrf_802154/driver/CMakeFiles/nrf-802154-driver.dir/src/mac_features/nrf_802154_ie_writer.c.ob[225/287] Building C object modules/nrfxlib/nrf_802154/nrf_802154/driver/CMakeFiles/nrf-802154-driver.dir/src/mac_features/ack_generator/nrf_802154_[226/287] Building C object modules/nrfxlib/nrf_802154/nrf_802154/driver/CMakeFiles/nrf-802154-driver.dir/src/mac_features/nrf_802154_precise_ack_ti[230/287] Building C object modules/nrfxlib/nrf_802154/nrf_802154/driver/CMakeFiles/nrf-802154-driver.dir/src/mac_features/nrf_802154_ie_writer.c.ob[232/287] Building C object modules/nrfxlib/nrf_802154/nrf_802154/driver/CMakeFiles/nrf-802154-driver.dir/src/mac_features/nrf_802154_precise_ack_ti[233/287] Building C object modules/nrfxlib/nrf_802154/nrf_802154/serialization/CMakeFiles/nrf-802154-serialization.dir/src/nrf_802154_buffer_alloca[236/287] Building C object modules/nrfxlib/nrf_802154/nrf_802154/serialization/CMakeFiles/nrf-802154-serialization.dir/src/nrf_802154_buffer_mgr_ds[241/287] Building C object modules/nrfxlib/nrf_802154/nrf_802154/serialization/CMakeFiles/nrf-802154-serialization.dir/src/nrf_802154_buffer_mgr_ds[278/287] Linking C executable zephyr\zephyr_pre0.elf
    FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/zephyr/zephyr_pre0.map
    cmd.exe /C "cd . && C:\ncs\toolchains\cf2149caf2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe  -gdwarf-4 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf  && cmd.exe /C "cd /D D:\jo
    iner_dfu_2_6_1\openthread_reset_fix\openthread\build\multiprotocol_rpmsg\zephyr && C:\ncs\toolchains\cf2149caf2\opt\bin\cmake.exe -E true""
    c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr\zephyr_pre0.elf section `rodata' will not fit in re
    gion `FLASH'
    c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `FLASH' overflowed by 3436 bytes
    collect2.exe: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    [133/809] modules\openthread\build\CMakeFiles\print-ot-config-96e6445.bat 32adaf8e65370a5c
    OPENTHREAD_CONFIG_RADIO_LINK_IEEE_802_15_4_ENABLE=1
    OPENTHREAD_CONFIG_TMF_ANYCAST_LOCATOR_ENABLE=0
    OPENTHREAD_CONFIG_ASSERT_ENABLE=0
    OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE=0
    OPENTHREAD_CONFIG_BACKBONE_ROUTER_DUA_NDPROXYING_ENABLE=0
    OPENTHREAD_CONFIG_BACKBONE_ROUTER_MULTICAST_ROUTING_ENABLE=0
    OPENTHREAD_CONFIG_BLE_TCAT_ENABLE=0
    OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE=0
    OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE=0
    OPENTHREAD_CONFIG_BORDER_ROUTING_ENABLE=0
    OPENTHREAD_CONFIG_BORDER_ROUTING_DHCP6_PD_ENABLE=0
    OPENTHREAD_CONFIG_IP6_BR_COUNTERS_ENABLE=0
    OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE=0
    OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE=0
    OPENTHREAD_CONFIG_COAP_API_ENABLE=1
    OPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLE=0
    OPENTHREAD_CONFIG_COAP_OBSERVE_API_ENABLE=0
    OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE=1
    OPENTHREAD_CONFIG_COMMISSIONER_ENABLE=1
    OPENTHREAD_CONFIG_MAC_CSL_AUTO_SYNC_ENABLE=1
    OPENTHREAD_CONFIG_MAC_CSL_DEBUG_ENABLE=0
    OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE=1
    OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_LOCAL_TIME_SYNC=0
    OPENTHREAD_CONFIG_DATASET_UPDATER_ENABLE=0
    OPENTHREAD_CONFIG_MLE_DEVICE_PROPERTY_LEADER_WEIGHT_ENABLE=0
    OPENTHREAD_CONFIG_DHCP6_CLIENT_ENABLE=1
    OPENTHREAD_CONFIG_DHCP6_SERVER_ENABLE=1
    OPENTHREAD_CONFIG_DIAG_ENABLE=1
    OPENTHREAD_CONFIG_DNS_CLIENT_ENABLE=1
    OPENTHREAD_CONFIG_DNS_CLIENT_OVER_TCP_ENABLE=0
    OPENTHREAD_CONFIG_DNS_DSO_ENABLE=0
    OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_ENABLE=0
    OPENTHREAD_CONFIG_DNSSD_SERVER_ENABLE=0
    OPENTHREAD_CONFIG_DUA_ENABLE=1
    OPENTHREAD_CONFIG_ECDSA_ENABLE=1
    OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE=1
    OPENTHREAD_POSIX_CONFIG_FIREWALL_ENABLE=0
    OPENTHREAD_CONFIG_HISTORY_TRACKER_ENABLE=0
    OPENTHREAD_CONFIG_IP6_FRAGMENTATION_ENABLE=1
    OPENTHREAD_CONFIG_JAM_DETECTION_ENABLE=1
    OPENTHREAD_CONFIG_JOINER_ENABLE=1
    OPENTHREAD_CONFIG_MLE_LINK_METRICS_INITIATOR_ENABLE=1
    OPENTHREAD_CONFIG_LINK_METRICS_MANAGER_ENABLE=0
    OPENTHREAD_CONFIG_MLE_LINK_METRICS_SUBJECT_ENABLE=1
    OPENTHREAD_CONFIG_LINK_RAW_ENABLE=1
    OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE=0
    OPENTHREAD_CONFIG_MAC_FILTER_ENABLE=1
    OPENTHREAD_CONFIG_MESH_DIAG_ENABLE=0
    OPENTHREAD_CONFIG_MESSAGE_USE_HEAP_ENABLE=0
    OPENTHREAD_CONFIG_MLE_LONG_ROUTES_ENABLE=0
    OPENTHREAD_CONFIG_MLR_ENABLE=1
    OPENTHREAD_CONFIG_MULTIPAN_RCP_ENABLE=0
    OPENTHREAD_CONFIG_MULTIPLE_INSTANCE_ENABLE=0
    OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE=0
    OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE=0
    OPENTHREAD_CONFIG_NEIGHBOR_DISCOVERY_AGENT_ENABLE=0
    OPENTHREAD_CONFIG_NETDATA_PUBLISHER_ENABLE=0
    OPENTHREAD_CONFIG_TMF_NETDIAG_CLIENT_ENABLE=1
    OPENTHREAD_CONFIG_OPERATIONAL_DATASET_AUTO_INIT=1
    OPENTHREAD_CONFIG_OTNS_ENABLE=0
    OPENTHREAD_CONFIG_PING_SENDER_ENABLE=1
    OPENTHREAD_CONFIG_PLATFORM_BOOTLOADER_MODE_ENABLE=0
    OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE=1
    OPENTHREAD_CONFIG_PLATFORM_NETIF_ENABLE=0
    OPENTHREAD_CONFIG_PLATFORM_POWER_CALIBRATION_ENABLE=0
    OPENTHREAD_CONFIG_PLATFORM_UDP_ENABLE=0
    OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE=0
    OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE=1
    OPENTHREAD_SETTINGS_RAM=0
    OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE=1
    OPENTHREAD_CONFIG_SNTP_CLIENT_ENABLE=1
    OPENTHREAD_CONFIG_SRP_CLIENT_ENABLE=1
    OPENTHREAD_CONFIG_SRP_SERVER_ENABLE=0
    OPENTHREAD_CONFIG_TCP_ENABLE=0
    OPENTHREAD_CONFIG_TIME_SYNC_ENABLE=0
    OPENTHREAD_CONFIG_RADIO_LINK_TREL_ENABLE=0
    OPENTHREAD_CONFIG_MAC_OUTGOING_BEACON_PAYLOAD_ENABLE=0
    OPENTHREAD_CONFIG_TX_QUEUE_STATISTICS_ENABLE=0
    OPENTHREAD_CONFIG_UDP_FORWARD_ENABLE=1
    OPENTHREAD_CONFIG_UPTIME_ENABLE=0
    OPENTHREAD_CONFIG_THREAD_VERSION=OT_THREAD_VERSION_1_2
    OPENTHREAD_CONFIG_DEVICE_POWER_SUPPLY=OT_POWER_SUPPLY_EXTERNAL
    OPENTHREAD_CONFIG_ENABLE_BUILTIN_MBEDTLS=0
    OPENTHREAD_CONFIG_ENABLE_BUILTIN_MBEDTLS_MANAGEMENT=0
    PACKAGE_NAME=OPENTHREAD
    OPENTHREAD_CONFIG_NCP_HDLC_ENABLE=1
    KERNEL
    __ZEPHYR__=1
    _FORTIFY_SOURCE=1
    _ANSI_SOURCE
    __LINUX_ERRNO_EXTENSIONS__
    USE_PARTITION_MANAGER=1
    __PROGRAM_START
    NRF5340_XXAA_APPLICATION
    NRF5340_XXAA_APPLICATION
    NRF_SKIP_FICR_NS_COPY_TO_RAM
    MBEDTLS_CONFIG_FILE=nrf-config.h
    MBEDTLS_PSA_CRYPTO_CONFIG_FILE=nrf-psa-crypto-want-config.h
    MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=nrf-psa-crypto-config.h
    NRF_802154_SERIALIZATION_HOST=1
    NRF_802154_USE_RAW_API=1
    NRF_802154_PENDING_SHORT_ADDRESSES=16
    NRF_802154_PENDING_EXTENDED_ADDRESSES=16
    NRF_802154_RX_BUFFERS=16
    NRF_802154_TX_STARTED_NOTIFY_ENABLED=1
    NRF_802154_ACK_TIMEOUT_ENABLED=1
    NRF_802154_CCA_CORR_LIMIT_DEFAULT=2
    NRF_802154_CCA_CORR_THRESHOLD_DEFAULT=45
    NRF_802154_CCA_ED_THRESHOLD_DEFAULT=45
    NRF_802154_SECURITY_KEY_STORAGE_SIZE=3
    NRF_802154_CCA_MODE_DEFAULT=NRF_RADIO_CCA_MODE_ED
    NRF_802154_ENCRYPTION_ENABLED=1
    NRF_802154_SECURITY_WRITER_ENABLED=1
    NRF_802154_IE_WRITER_ENABLED=1
    NRF_802154_INTERNAL_RADIO_IRQ_HANDLING=0
    NRF_802154_CARRIER_FUNCTIONS_ENABLED=0
    NRF_802154_ENERGY_DETECTED_VERSION=1
    NRF_802154_PLATFORM_ASSERT_INCLUDE=nrf_802154_assert_zephyr.h
    NRF_802154_ECB_PRIORITY=-1
    NRF_802154_SWI_PRIORITY=1
    [235/809] Building CXX object modules/openthread/build/src/core/CMakeFiles/openthread-mtd.dir/meshcop/dataset.cpp.obj
    FAILED: modules/nrf/samples/multiprotocol_rpmsg_subimage-prefix/src/multiprotocol_rpmsg_subimage-stamp/multiprotocol_rpmsg_subimage-build multiprotocol_rpmsg/zephyr/zephyr.hex multiprotocol_rpmsg/zeph
    yr/zephyr.elf multiprotocol_rpmsg/zephyr/merged_CPUNET.hex D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/modules/nrf/samples/multiprotocol_rpmsg_subimage-prefix/src/mul
    tiprotocol_rpmsg_subimage-stamp/multiprotocol_rpmsg_subimage-build D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/zephyr/zephyr.hex D:/joiner_dfu_2_6
    _1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/zephyr/zephyr.elf D:/joiner_dfu_2_6_1/openthread_reset_fix/openthread/build/multiprotocol_rpmsg/zep
    hyr/merged_CPUNET.hex
    cmd.exe /C "cd /D D:\joiner_dfu_2_6_1\openthread_reset_fix\openthread\build\multiprotocol_rpmsg && C:\ncs\toolchains\cf2149caf2\opt\bin\cmake.exe --build . --"
    [241/809] Building CXX object modules/openthread/build/src/core/CMakeFiles/openthread-mtd.dir/meshcop/dataset.cpp.obj
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\cf2149caf2\opt\bin\cmake.EXE' --build 'd:\joiner_dfu_2_6_1\openthread_reset_fix\openthread\build'
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 

  • Our application requires DFU over FOTA. There is no available option for performing DFU over UART or using external flash.

  • Since the application with BLE and OpenThread would cause the image to be larger and BLE DFU requires a dual bank to update, you could consider reducing the image size (see Memory footprint optimization) or using an external flash for BLE DFU. 

Reply Children
No Data
Related