Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

flashing binary onto nRF52840 USB dongle via Raspberry Pi 4

So, I have compiled blinky for the USB dongle52840, but am having difficulty getting west or the development toolchain to flash the dongle. Any help would be appteciated. I would be happy to share the recipe for developing zephyr from a raspberry pi, if I get it fully running. 

Cy

Parents
  • Hello,

    You can use the Insert tab to paste the logs, or you can also upload the file if you prefer to do it that way. Please also share the nRFUtil version you are using.

    Kind regards,
    Abhijith

  • I have attached a log indicating a complete compilation of the blinky program for USB dongle nrf52840 through the zephyr development, but the inability of the nrfutil to configure a .zip file.  In the specific case nrfutili 5.2 was utilized. 

    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2025.12.01 08:08:30 =~=~=~=~=~=~=~=~=~=~=~=
    Using username "zephyr".
    [email protected]'s password:
    Linux ZephyrRTOS 6.12.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64

    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Mon Dec 1 10:07:01 2025 from 192.168.1.143
    (zephyr-venv) zephyr@ZephyrRTOS:~ $ # Ensure you're in the venv (if not: source ~/zephyr-venv/bin/activate)
    pip install --upgrade "PyYAML>=6.0"

    # Verify: No more conflicts with west/nrfutil
    pip check # Should show no errors (or just warnings we can ignore)

    # If pip check complains about click (from earlier), upgrade it too:
    pip install --upgrade "click>=8.0"
    pip check # Re-run to confirm (zephyr-venv) zephyr@ZephyrRTOS:~ $ # Ensure you're in the venv (if not: source ~/zephyr-venv/bin/activate)
    pip install --upgrade "PyYAML>=6.0"

    # Verify: No more conflicts with west/nrfutil
    pip check # Should show no errors (or just warnings we can ignore)

    # If pip check complains about click (from earlier), upgrade it too:
    pip install --upgrade "click>=8.0"
    pip check # Re-run to confirm
    Collecting PyYAML>=6.0
    Using cached pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.metadata (2.4 kB)
    Using cached pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (767 kB)
    Installing collected packages: PyYAML
    Attempting uninstall: PyYAML
    Found existing installation: PyYAML 4.2b4
    Uninstalling PyYAML-4.2b4:
    Successfully uninstalled PyYAML-4.2b4
    ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    nrfutil 5.2.0 requires pyyaml~=4.2b1, but you have pyyaml 6.0.3 which is incompatible.
    Successfully installed PyYAML-6.0.3
    reuse 6.2.0 has requirement click>=8.1, but you have click 7.1.2.
    nrfutil 5.2.0 has requirement pyyaml~=4.2b1, but you have pyyaml 6.0.3.
    gitlint-core 0.19.1 has requirement click>=8, but you have click 7.1.2.
    Collecting click>=8.0
    Using cached click-8.3.1-py3-none-any.whl.metadata (2.6 kB)
    Using cached click-8.3.1-py3-none-any.whl (108 kB)
    Installing collected packages: click
    Attempting uninstall: click
    Found existing installation: click 7.1.2
    Uninstalling click-7.1.2:
    Successfully uninstalled click-7.1.2
    ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    nrfutil 5.2.0 requires click~=7.0, but you have click 8.3.1 which is incompatible.
    nrfutil 5.2.0 requires pyyaml~=4.2b1, but you have pyyaml 6.0.3 which is incompatible.
    Successfully installed click-8.3.1
    nrfutil 5.2.0 has requirement click~=7.0, but you have click 8.3.1.
    nrfutil 5.2.0 has requirement pyyaml~=4.2b1, but you have pyyaml 6.0.3.
    (zephyr-venv) zephyr@ZephyrRTOS:~ $ cd ~/zephyrproject
    west build -b nrf52840dongle_nrf52840 zephyr/samples/basic/blinky --pristine cd ~/zephyrproject
    west build -b nrf52840dongle_nrf52840 zephyr/samples/basic/blinky --pristine
    -- west build: making build dir /home/zephyr/zephyrproject/build pristine
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: /home/zephyr/zephyrproject/zephyr/samples/basic/blinky
    -- CMake version: 3.31.6
    -- Found Python3: /home/zephyr/zephyr-venv/bin/python3 (found suitable version "3.13.5", minimum required is "3.10") found components: Interpreter
    -- Cache files will be written to: /home/zephyr/.cache/zephyr
    -- Zephyr version: 4.3.99 (/home/zephyr/zephyrproject/zephyr)
    -- Found west (found suitable version "1.5.0", minimum required is "0.14.0")
    -- Board: nrf52840dongle, qualifiers: nrf52840
    -- Found host-tools: zephyr 0.17.4 (/home/zephyr/zephyr-sdk-0.17.4)
    -- Found toolchain: zephyr 0.17.4 (/home/zephyr/zephyr-sdk-0.17.4)
    -- Found Dtc: /home/zephyr/zephyr-sdk-0.17.4/sysroots/aarch64-pokysdk-linux/usr/bin/dtc (found suitable version "1.7.0", minimum required is "1.4.6")
    -- Found BOARD.dts: /home/zephyr/zephyrproject/zephyr/boards/nordic/nrf52840dongle/nrf52840dongle_nrf52840.dts
    -- Generated zephyr.dts: /home/zephyr/zephyrproject/build/zephyr/zephyr.dts
    -- Generated pickled edt: /home/zephyr/zephyrproject/build/zephyr/edt.pickle
    -- Generated devicetree_generated.h: /home/zephyr/zephyrproject/build/zephyr/include/generated/zephyr/devicetree_generated.h
    Parsing /home/zephyr/zephyrproject/zephyr/Kconfig
    Loaded configuration '/home/zephyr/zephyrproject/zephyr/boards/nordic/nrf52840dongle/nrf52840dongle_nrf52840_defconfig'
    Merged configuration '/home/zephyr/zephyrproject/zephyr/samples/basic/blinky/prj.conf'
    Configuration saved to '/home/zephyr/zephyrproject/build/zephyr/.config'
    Kconfig header saved to '/home/zephyr/zephyrproject/build/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: /home/zephyr/zephyr-sdk-0.17.4/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (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: /home/zephyr/zephyr-sdk-0.17.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Using ccache: /usr/bin/ccache
    -- Found gen_kobject_list: /home/zephyr/zephyrproject/zephyr/scripts/build/gen_kobject_list.py
    -- Configuring done (21.2s)
    -- Generating done (0.5s)
    -- Build files have been written to: /home/zephyr/zephyrproject/build
    -- west build: building application
    [0/188] Preparing syscall dependency handling [0/188] Generating include/generated/zephyr/version.h [1/188] Preparing syscall dependency handling

    [1/188] Generating misc/generated/syscalls_subdirs.trigger [2/188] Generating include/generated/zephyr/version.h
    -- Zephyr version: 4.3.99 (/home/zephyr/zephyrproject/zephyr), build: v4.3.0-1368-gd02cdc734e6e
    [3/188] Generating misc/generated/syscalls_subdirs.trigger [3/188] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json [4/188] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json [4/188] Generating include/generated/z...nclude/generated/zephyr/syscall_list.h [4/188] Generating include/generated/zephyr/driver-validation.h [4/188] Generating include/generated/z...clude/generated/zephyr/otype-to-size.h [4/188] Generating include/generated/d...de/generated/device-api-sections.cmake [5/188] Generating include/generated/d...de/generated/device-api-sections.cmake [6/188] Generating include/generated/z...nclude/generated/zephyr/syscall_list.h [7/188] Generating include/generated/zephyr/driver-validation.h [8/188] Generating include/generated/z...clude/generated/zephyr/otype-to-size.h [8/188] Building C object zephyr/CMake...ir/arch/arm/core/offsets/offsets.c.obj [9/188] Building C object zephyr/CMake...ir/arch/arm/core/offsets/offsets.c.obj [9/188] Generating include/generated/zephyr/offsets.h [10/188] Generating include/generated/zephyr/offsets.h [10/188] Building C object zephyr/arch...eFiles/isr_tables.dir/isr_tables.c.obj [10/188] Building C object CMakeFiles/app.dir/src/main.c.obj [10/188] Building C object zephyr/CMak...ephyr.dir/lib/libc/validate_libc.c.obj [10/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj [10/188] Building C object zephyr/CMak...hyr.dir/lib/os/cbprintf_packaged.c.obj [10/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/clock.c.obj [11/188] Building C object zephyr/arch...eFiles/isr_tables.dir/isr_tables.c.obj [11/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj [12/188] Building C object zephyr/CMak...ephyr.dir/lib/libc/validate_libc.c.obj [12/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj [13/188] Building C object CMakeFiles/app.dir/src/main.c.obj [13/188] Building C object zephyr/CMak...s/zephyr.dir/lib/os/thread_entry.c.obj [14/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj [14/188] Building C object zephyr/CMak...hyr.dir/lib/os/cbprintf_complete.c.obj [15/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/clock.c.obj [15/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj [16/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj [16/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj [17/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj [17/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj [18/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj [18/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj [19/188] Building C object zephyr/CMak...s/zephyr.dir/lib/os/thread_entry.c.obj [19/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj [20/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj [20/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj [21/188] Building C object zephyr/CMak...hyr.dir/lib/os/cbprintf_packaged.c.obj [21/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitmask.c.obj [22/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj [22/188] Building C object zephyr/CMak...phyr.dir/lib/utils/getopt/getopt.c.obj [23/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitmask.c.obj [23/188] Building C object zephyr/CMak...r/lib/utils/getopt/getopt_common.c.obj [24/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj [24/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/onoff.c.obj [25/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj [25/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/notify.c.obj [26/188] Building C object zephyr/CMak...r/lib/utils/getopt/getopt_common.c.obj [26/188] Building C object zephyr/CMak...zephyr.dir/lib/utils/ring_buffer.c.obj [27/188] Building C object zephyr/CMak...phyr.dir/lib/utils/getopt/getopt.c.obj [27/188] Building C object zephyr/CMak...yr.dir/lib/utils/last_section_id.c.obj [28/188] Building C object zephyr/CMak...yr.dir/lib/utils/last_section_id.c.obj [28/188] Building C object zephyr/CMak...ephyr.dir/misc/generated/configs.c.obj [29/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj [29/188] Building C object zephyr/CMak...hyr.dir/subsys/mem_mgmt/mem_attr.c.obj [30/188] Building C object zephyr/CMak...hyr.dir/lib/os/cbprintf_complete.c.obj [30/188] Building C object zephyr/CMak....dir/subsys/tracing/tracing_none.c.obj [31/188] Building C object zephyr/CMak...ephyr.dir/misc/generated/configs.c.obj [31/188] Building C object zephyr/CMak...b/device_next/app/cdc_acm_serial.c.obj [32/188] Building C object zephyr/CMak...zephyr.dir/lib/utils/ring_buffer.c.obj [32/188] Generating linker_zephyr_pre0.cmd [33/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/notify.c.obj [33/188] Building C object zephyr/arch...s/arch__common.dir/sw_isr_common.c.obj [34/188] Generating linker_zephyr_pre0.cmd [34/188] Building C object zephyr/arch...CMakeFiles/arch__common.dir/init.c.obj [35/188] Building C object zephyr/CMak...hyr.dir/subsys/mem_mgmt/mem_attr.c.obj [35/188] Building C object zephyr/arch.../CMakeFiles/arch__common.dir/xip.c.obj [36/188] Building C object zephyr/CMak....dir/subsys/tracing/tracing_none.c.obj [36/188] Linking C static library zephyr/arch/common/libisr_tables.a [37/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/onoff.c.obj [37/188] Building C object zephyr/arch...eFiles/arch__arm__core.dir/fatal.c.obj [38/188] Linking C static library zephyr/arch/common/libisr_tables.a [38/188] Building C object zephyr/arch...akeFiles/arch__arm__core.dir/nmi.c.obj [39/188] Building C object zephyr/arch...CMakeFiles/arch__common.dir/init.c.obj [39/188] Building ASM object zephyr/ar...arch__arm__core.dir/nmi_on_reset.S.obj [40/188] Building ASM object zephyr/ar...arch__arm__core.dir/nmi_on_reset.S.obj [40/188] Building C object zephyr/arch...akeFiles/arch__arm__core.dir/tls.c.obj [41/188] Building C object zephyr/arch...s/arch__common.dir/sw_isr_common.c.obj [41/188] Building C object zephyr/arch...arm__core__cortex_m.dir/exc_exit.c.obj [42/188] Building C object zephyr/CMak...b/device_next/app/cdc_acm_serial.c.obj [42/188] Building C object zephyr/arch...h__arm__core__cortex_m.dir/fault.c.obj [43/188] Building C object zephyr/arch...akeFiles/arch__arm__core.dir/nmi.c.obj [43/188] Building ASM object zephyr/ar..._arm__core__cortex_m.dir/fault_s.S.obj [44/188] Building ASM object zephyr/ar..._arm__core__cortex_m.dir/fault_s.S.obj [44/188] Building C object zephyr/arch...rch__arm__core__cortex_m.dir/fpu.c.obj [45/188] Building C object zephyr/arch.../CMakeFiles/arch__common.dir/xip.c.obj [45/188] Building ASM object zephyr/ar...h__arm__core__cortex_m.dir/reset.S.obj [46/188] Building C object zephyr/arch...arm__core__cortex_m.dir/exc_exit.c.obj [46/188] Building C object zephyr/arch...rch__arm__core__cortex_m.dir/scb.c.obj [47/188] Building ASM object zephyr/ar...h__arm__core__cortex_m.dir/reset.S.obj [47/188] Building C object zephyr/arch..._core__cortex_m.dir/thread_abort.c.obj [48/188] Building C object zephyr/arch...eFiles/arch__arm__core.dir/fatal.c.obj [48/188] Building ASM object zephyr/ar..._core__cortex_m.dir/vector_table.S.obj [49/188] Building C object zephyr/arch...akeFiles/arch__arm__core.dir/tls.c.obj [49/188] Building ASM object zephyr/ar...__core__cortex_m.dir/swap_helper.S.obj [50/188] Building ASM object zephyr/ar..._core__cortex_m.dir/vector_table.S.obj [50/188] Building C object zephyr/arch...m__core__cortex_m.dir/irq_manage.c.obj [51/188] Building ASM object zephyr/ar...__core__cortex_m.dir/swap_helper.S.obj [51/188] Building C object zephyr/arch...__arm__core__cortex_m.dir/prep_c.c.obj [52/188] Building C object zephyr/arch...h__arm__core__cortex_m.dir/fault.c.obj [52/188] Building C object zephyr/arch...__arm__core__cortex_m.dir/thread.c.obj [53/188] Building C object zephyr/arch...rch__arm__core__cortex_m.dir/scb.c.obj [53/188] Building C object zephyr/arch...arm__core__cortex_m.dir/cpu_idle.c.obj [54/188] Building C object zephyr/arch...rch__arm__core__cortex_m.dir/fpu.c.obj [54/188] Building C object zephyr/arch...arm__core__cortex_m.dir/irq_init.c.obj [55/188] Building C object zephyr/arch..._core__cortex_m.dir/thread_abort.c.obj [55/188] Building C object zephyr/arch...__core__cortex_m.dir/isr_wrapper.c.obj [56/188] Building C object zephyr/arch...arm__core__cortex_m.dir/irq_init.c.obj [56/188] Building ASM object zephyr/ar...re__cortex_m.dir/__aeabi_read_tp.S.obj [57/188] Building C object zephyr/arch...__arm__core__cortex_m.dir/thread.c.obj [57/188] Building C object zephyr/arch..._arm__core__mpu.dir/arm_core_mpu.c.obj [58/188] Building ASM object zephyr/ar...re__cortex_m.dir/__aeabi_read_tp.S.obj [58/188] Building C object zephyr/arch...arch__arm__core__mpu.dir/arm_mpu.c.obj [59/188] Building C object zephyr/arch...arm__core__cortex_m.dir/cpu_idle.c.obj [59/188] Building C object zephyr/arch...m__core__mpu.dir/arm_mpu_regions.c.obj [60/188] Building C object zephyr/arch...__core__cortex_m.dir/isr_wrapper.c.obj [60/188] Building C object zephyr/lib/...s/lib__libc__picolibc.dir/assert.c.obj [61/188] Building C object zephyr/arch...m__core__cortex_m.dir/irq_manage.c.obj [61/188] Building C object zephyr/lib/...lib__libc__picolibc.dir/cbprintf.c.obj [62/188] Building C object zephyr/arch...__arm__core__cortex_m.dir/prep_c.c.obj [62/188] Building C object zephyr/lib/...lib__libc__picolibc.dir/chk_fail.c.obj [63/188] Building C object zephyr/arch...m__core__mpu.dir/arm_mpu_regions.c.obj [63/188] Building C object zephyr/lib/...b__libc__picolibc.dir/errno_wrap.c.obj [64/188] Building C object zephyr/arch..._arm__core__mpu.dir/arm_core_mpu.c.obj [64/188] Building C object zephyr/lib/...les/lib__libc__picolibc.dir/exit.c.obj [65/188] Building C object zephyr/lib/...lib__libc__picolibc.dir/cbprintf.c.obj [65/188] Building C object zephyr/lib/...es/lib__libc__picolibc.dir/locks.c.obj [66/188] Building C object zephyr/lib/...s/lib__libc__picolibc.dir/assert.c.obj [66/188] Building C object zephyr/lib/...es/lib__libc__picolibc.dir/stdio.c.obj [67/188] Building C object zephyr/arch...arch__arm__core__mpu.dir/arm_mpu.c.obj [67/188] Building C object zephyr/lib/...__common.dir/source/stdlib/abort.c.obj [68/188] Building C object zephyr/lib/...lib__libc__picolibc.dir/chk_fail.c.obj [68/188] Building C object zephyr/lib/...ibc__common.dir/source/time/time.c.obj [69/188] Building C object zephyr/lib/...b__libc__picolibc.dir/errno_wrap.c.obj [69/188] Building C object zephyr/lib/..._common.dir/source/stdlib/malloc.c.obj [70/188] Building C object zephyr/lib/...es/lib__libc__picolibc.dir/stdio.c.obj [70/188] Building C object zephyr/lib/...ib__posix__c_lib_ext.dir/fnmatch.c.obj [71/188] Building C object zephyr/lib/...ibc__common.dir/source/time/time.c.obj [71/188] Building C object zephyr/lib/..._posix__c_lib_ext.dir/getentropy.c.obj [72/188] Building C object zephyr/lib/...__common.dir/source/stdlib/abort.c.obj [72/188] Building C object zephyr/lib/...posix__c_lib_ext.dir/getopt_shim.c.obj [73/188] Building C object zephyr/lib/...les/lib__libc__picolibc.dir/exit.c.obj [73/188] Building C object zephyr/lib/.../CMakeFiles/lib__net_buf.dir/buf.c.obj [74/188] Building C object zephyr/lib/...es/lib__libc__picolibc.dir/locks.c.obj [74/188] Building C object zephyr/lib/...iles/lib__net_buf.dir/buf_simple.c.obj [75/188] Building C object zephyr/lib/...ib__posix__c_lib_ext.dir/fnmatch.c.obj [75/188] Building C object zephyr/soc/...rdic.dir/validate_base_addresses.c.obj [76/188] Building C object zephyr/lib/..._posix__c_lib_ext.dir/getentropy.c.obj [76/188] Building C object zephyr/soc/...dic.dir/validate_binding_headers.c.obj [77/188] Building C object zephyr/lib/...posix__c_lib_ext.dir/getopt_shim.c.obj [77/188] Building C object zephyr/soc/...c.dir/validate_enabled_instances.c.obj [78/188] Building C object zephyr/lib/..._common.dir/source/stdlib/malloc.c.obj [78/188] Building C object zephyr/soc/...eFiles/soc__nordic.dir/nrf52/soc.c.obj [79/188] Building C object zephyr/soc/...rdic.dir/validate_base_addresses.c.obj [79/188] Building C object zephyr/soc/...es/soc__nordic.dir/common/reboot.c.obj [80/188] Building C object zephyr/soc/...dic.dir/validate_binding_headers.c.obj [80/188] Building C object zephyr/soc/...soc__nordic.dir/common/gppi_init.c.obj [81/188] Building C object zephyr/soc/...c.dir/validate_enabled_instances.c.obj [81/188] Building C object zephyr/soc/...c__nordic.dir/common/gpiote_nrfx.c.obj [82/188] Building C object zephyr/soc/...eFiles/soc__nordic.dir/nrf52/soc.c.obj [82/188] Building C object zephyr/boar...nordic__nrf52840dongle.dir/board.c.obj [83/188] Building C object zephyr/soc/...es/soc__nordic.dir/common/reboot.c.obj [83/188] Building C object zephyr/subs...usb__device_next.dir/usbd_device.c.obj [84/188] Building C object zephyr/soc/...soc__nordic.dir/common/gppi_init.c.obj [84/188] Building C object zephyr/subs...__usb__device_next.dir/usbd_desc.c.obj [85/188] Building C object zephyr/boar...nordic__nrf52840dongle.dir/board.c.obj [85/188] Building C object zephyr/subs...s__usb__device_next.dir/usbd_ch9.c.obj [86/188] Building C object zephyr/lib/.../CMakeFiles/lib__net_buf.dir/buf.c.obj [86/188] Building C object zephyr/subs...__usb__device_next.dir/usbd_core.c.obj [87/188] Building C object zephyr/lib/...iles/lib__net_buf.dir/buf_simple.c.obj [87/188] Building C object zephyr/subs...__usb__device_next.dir/usbd_init.c.obj [88/188] Building C object zephyr/soc/...c__nordic.dir/common/gpiote_nrfx.c.obj [88/188] Building C object zephyr/subs...usb__device_next.dir/usbd_config.c.obj [89/188] Building C object zephyr/subs...__usb__device_next.dir/usbd_desc.c.obj [89/188] Building C object zephyr/subs..._usb__device_next.dir/usbd_class.c.obj [90/188] Building C object zephyr/subs...usb__device_next.dir/usbd_device.c.obj [90/188] Building C object zephyr/subs...__device_next.dir/usbd_interface.c.obj [91/188] Building C object zephyr/subs...__usb__device_next.dir/usbd_core.c.obj [91/188] Building C object zephyr/subs...b__device_next.dir/usbd_endpoint.c.obj [92/188] Building C object zephyr/subs...__usb__device_next.dir/usbd_init.c.obj [92/188] Building C object zephyr/subs...s__usb__device_next.dir/usbd_msg.c.obj [93/188] Building C object zephyr/subs...s__usb__device_next.dir/usbd_ch9.c.obj [93/188] Building C object zephyr/subs...vice_next.dir/class/usbd_cdc_acm.c.obj [94/188] Building C object zephyr/subs...b__device_next.dir/usbd_endpoint.c.obj [94/188] Building C object zephyr/driv...drivers__usb__udc.dir/udc_common.c.obj [95/188] Building C object zephyr/subs...usb__device_next.dir/usbd_config.c.obj [95/188] Building C object zephyr/driv...es/drivers__usb__udc.dir/udc_nrf.c.obj [96/188] Building C object zephyr/subs...__device_next.dir/usbd_interface.c.obj [96/188] Building C object zephyr/driv..._usbd_common.dir/nrf_usbd_common.c.obj [97/188] Building C object zephyr/subs..._usb__device_next.dir/usbd_class.c.obj [97/188] Building C object zephyr/driv...ck_control.dir/clock_control_nrf.c.obj [98/188] Building C object zephyr/subs...s__usb__device_next.dir/usbd_msg.c.obj [98/188] Building C object zephyr/driv...rivers__console.dir/uart_console.c.obj [99/188] Building C object zephyr/subs...vice_next.dir/class/usbd_cdc_acm.c.obj [99/188] Building C object zephyr/driv...iles/drivers__gpio.dir/gpio_nrfx.c.obj [100/188] Building C object zephyr/dri...rivers__console.dir/uart_console.c.obj [100/188] Building C object zephyr/dri...ers__hwinfo.dir/hwinfo_weak_impl.c.obj [101/188] Building C object zephyr/dri...drivers__usb__udc.dir/udc_common.c.obj [101/188] Building C object zephyr/dri...s/drivers__hwinfo.dir/hwinfo_nrf.c.obj [102/188] Building C object zephyr/dri...ck_control.dir/clock_control_nrf.c.obj [102/188] Building C object zephyr/dri...iles/drivers__pinctrl.dir/common.c.obj [103/188] Building C object zephyr/dri...ers__hwinfo.dir/hwinfo_weak_impl.c.obj [103/188] Building C object zephyr/dri...drivers__pinctrl.dir/pinctrl_nrf.c.obj [104/188] Building C object zephyr/dri...iles/drivers__pinctrl.dir/common.c.obj [104/188] Building C object zephyr/dri...yrproject/zephyr/misc/empty_file.c.obj [105/188] Building C object zephyr/dri...yrproject/zephyr/misc/empty_file.c.obj [105/188] Building C object zephyr/dri...vers__serial.dir/uart_nrfx_uarte.c.obj [106/188] Building C object zephyr/dri...s/drivers__hwinfo.dir/hwinfo_nrf.c.obj [106/188] Building C object zephyr/dri...rivers__timer.dir/sys_clock_init.c.obj [107/188] Building C object zephyr/dri...es/drivers__usb__udc.dir/udc_nrf.c.obj [107/188] Building C object zephyr/dri...drivers__timer.dir/nrf_rtc_timer.c.obj [108/188] Building C object zephyr/dri..._usbd_common.dir/nrf_usbd_common.c.obj [108/188] Building C object modules/ha...x/bsp/stable/mdk/system_nrf52840.c.obj [109/188] Building C object modules/ha...x/bsp/stable/mdk/system_nrf52840.c.obj [109/188] Building C object modules/ha...fx/CMakeFiles/nrfx.dir/nrfx_glue.c.obj [110/188] Building C object zephyr/dri...rivers__timer.dir/sys_clock_init.c.obj [110/188] Building C object modules/ha...fx/helpers/nrfx_flag32_allocator.c.obj [111/188] Building C object zephyr/dri...drivers__pinctrl.dir/pinctrl_nrf.c.obj [111/188] Building C object modules/ha...ordic/nrfx/helpers/nrfx_ram_ctrl.c.obj [112/188] Building C object zephyr/dri...iles/drivers__gpio.dir/gpio_nrfx.c.obj [112/188] Building C object modules/ha...ordic/nrfx/helpers/nrfx_gppi_ppi.c.obj [113/188] Building C object modules/ha...fx/helpers/nrfx_flag32_allocator.c.obj [113/188] Building C object modules/ha...rdic/nrfx/drivers/src/nrfx_clock.c.obj [114/188] Building C object zephyr/dri...drivers__timer.dir/nrf_rtc_timer.c.obj [114/188] Building C object modules/ha...rfx/drivers/src/nrfx_clock_hfclk.c.obj [115/188] Building C object modules/ha...fx/CMakeFiles/nrfx.dir/nrfx_glue.c.obj [115/188] Building C object modules/ha...rivers/src/nrfx_clock_hfclkaudio.c.obj [116/188] Building C object modules/ha...ordic/nrfx/helpers/nrfx_ram_ctrl.c.obj [116/188] Building C object modules/ha...drivers/src/nrfx_clock_hfclk192m.c.obj [117/188] Building C object modules/ha...rivers/src/nrfx_clock_hfclkaudio.c.obj [117/188] Building C object modules/ha...rfx/drivers/src/nrfx_clock_lfclk.c.obj [118/188] Building C object modules/ha...rdic/nrfx/drivers/src/nrfx_clock.c.obj [118/188] Building C object modules/ha...c/nrfx/drivers/src/nrfx_clock_xo.c.obj [119/188] Building C object modules/ha...rfx/drivers/src/nrfx_clock_hfclk.c.obj [119/188] Building C object modules/ha...rfx/drivers/src/nrfx_clock_xo24m.c.obj [120/188] Building C object modules/ha...ordic/nrfx/helpers/nrfx_gppi_ppi.c.obj [120/188] Building C object modules/ha...dic/nrfx/drivers/src/nrfx_gpiote.c.obj [121/188] Building C object modules/ha...drivers/src/nrfx_clock_hfclk192m.c.obj [121/188] Building C object modules/ha...rdic/nrfx/drivers/src/nrfx_power.c.obj [122/188] Building C object modules/ha...c/nrfx/drivers/src/nrfx_clock_xo.c.obj [122/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj [123/188] Building C object modules/ha...rfx/drivers/src/nrfx_clock_xo24m.c.obj [123/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj [124/188] Building C object modules/ha...rfx/drivers/src/nrfx_clock_lfclk.c.obj [124/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj [125/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj [125/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj [126/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj [126/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj [127/188] Building C object modules/ha...rdic/nrfx/drivers/src/nrfx_power.c.obj [127/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj [128/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj [128/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj [129/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj [129/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj [130/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj [130/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj [131/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj [131/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/float.c.obj [132/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj [132/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj [133/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/float.c.obj [133/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj [134/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj [134/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj [135/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj [135/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj [136/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj [136/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj [137/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj [137/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj [138/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj [138/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj [139/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj [139/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj [140/188] Building C object modules/ha...dic/nrfx/drivers/src/nrfx_gpiote.c.obj [140/188] Building C object zephyr/ker...keFiles/kernel.dir/system_work_q.c.obj [141/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj [141/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj [142/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj [142/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj [143/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj [143/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj [144/188] Building C object zephyr/ker...keFiles/kernel.dir/system_work_q.c.obj [144/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj [145/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj [145/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/pipe.c.obj [146/188] Building C object zephyr/dri...vers__serial.dir/uart_nrfx_uarte.c.obj [146/188] Building C object zephyr/ker...MakeFiles/kernel.dir/timeslicing.c.obj [147/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj [147/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj [148/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj [148/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj [149/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj [149/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/events.c.obj [150/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/pipe.c.obj [150/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj [151/188] Building C object zephyr/ker...MakeFiles/kernel.dir/timeslicing.c.obj [151/188] Building C object zephyr/ker...iles/kernel.dir/dynamic_disabled.c.obj [152/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj [152/188] Linking C static library app/libapp.a [153/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj [153/188] Linking C static library zephyr/libzephyr.a [154/188] Linking C static library app/libapp.a [154/188] Building C object zephyr/CMa.../zephyr_pre0.dir/misc/empty_file.c.obj [155/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj [155/188] Linking C static library zephyr/arch/common/libarch__common.a [156/188] Building C object zephyr/CMa.../zephyr_pre0.dir/misc/empty_file.c.obj [156/188] Linking C static library zep...rch/arch/arm/core/libarch__arm__core.a [157/188] Building C object zephyr/ker...iles/kernel.dir/dynamic_disabled.c.obj [157/188] Linking C static library zep...ortex_m/libarch__arm__core__cortex_m.a [158/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/events.c.obj [158/188] Linking C static library zep...arm/core/mpu/libarch__arm__core__mpu.a [159/188] Linking C static library zephyr/arch/common/libarch__common.a [159/188] Linking C static library zep...libc/picolibc/liblib__libc__picolibc.a [160/188] Linking C static library zep...rch/arch/arm/core/libarch__arm__core.a [160/188] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a [161/188] Linking C static library zephyr/libzephyr.a [161/188] Linking C static library zep...x/c_lib_ext/liblib__posix__c_lib_ext.a [162/188] Linking C static library zep...arm/core/mpu/libarch__arm__core__mpu.a [162/188] Linking C static library zephyr/lib/net_buf/liblib__net_buf.a [163/188] Linking C static library zep...ortex_m/libarch__arm__core__cortex_m.a [163/188] Linking C static library zephyr/soc/soc/nrf52840/libsoc__nordic.a [164/188] Linking C static library zep...libc/picolibc/liblib__libc__picolibc.a [164/188] Linking C static library zep...le/libboards__nordic__nrf52840dongle.a [165/188] Linking C static library zep...x/c_lib_ext/liblib__posix__c_lib_ext.a [165/188] Linking C static library zep...ice_next/libsubsys__usb__device_next.a [166/188] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a [166/188] Linking C static library zephyr/drivers/usb/udc/libdrivers__usb__udc.a [167/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj [167/188] Linking C static library zep...rivers__usb__common__nrf_usbd_common.a [168/188] Linking C static library zephyr/lib/net_buf/liblib__net_buf.a [168/188] Linking C static library zep...ck_control/libdrivers__clock_control.a [169/188] Linking C static library zephyr/soc/soc/nrf52840/libsoc__nordic.a [169/188] Linking C static library zephyr/drivers/console/libdrivers__console.a [170/188] Linking C static library zep...le/libboards__nordic__nrf52840dongle.a [170/188] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a [171/188] Linking C static library zephyr/drivers/usb/udc/libdrivers__usb__udc.a [171/188] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a [172/188] Linking C static library zep...rivers__usb__common__nrf_usbd_common.a [172/188] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a [173/188] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a [173/188] Linking C static library zephyr/drivers/serial/libdrivers__serial.a [174/188] Linking C static library zephyr/drivers/console/libdrivers__console.a [174/188] Linking C static library zephyr/drivers/timer/libdrivers__timer.a [175/188] Linking C static library zep...ice_next/libsubsys__usb__device_next.a [175/188] Linking C static library modules/hal_nordic/nrfx/libnrfx.a [176/188] Linking C static library zep...ck_control/libdrivers__clock_control.a [176/188] Linking C static library zephyr/kernel/libkernel.a [177/188] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a [178/188] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a [179/188] Linking C static library zephyr/drivers/serial/libdrivers__serial.a [180/188] Linking C static library zephyr/drivers/timer/libdrivers__timer.a [181/188] Linking C static library modules/hal_nordic/nrfx/libnrfx.a [182/188] Linking C static library zephyr/kernel/libkernel.a [182/188] Linking C executable zephyr/zephyr_pre0.elf [183/188] Linking C executable zephyr/zephyr_pre0.elf [183/188] Generating linker.cmd [184/188] Generating linker.cmd [184/188] Generating isr_tables.c, isr_tables_vt.ld, isr_tables_swi.ld [185/188] Generating isr_tables.c, isr_tables_vt.ld, isr_tables_swi.ld [185/188] Building C object zephyr/CMa...zephyr_final.dir/misc/empty_file.c.obj [185/188] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj [186/188] Building C object zephyr/CMa...zephyr_final.dir/misc/empty_file.c.obj [187/188] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj [187/188] Linking C executable zephyr/zephyr.elf [188/188] Linking C executable zephyr/zephyr.elf
    Memory region Used Size Region Size %age Used
    FLASH: 44944 B 1020 KB 4.30%
    RAM: 13560 B 256 KB 5.17%
    IDT_LIST: 0 GB 32 KB 0.00%
    Generating files from /home/zephyr/zephyrproject/build/zephyr/zephyr.elf for board: nrf52840dongle
    (zephyr-venv) zephyr@ZephyrRTOS:~/zephyrproject $ ls /dev/ttyACM*ls /dev/ttyACM*
    /dev/ttyACM0
    (zephyr-venv) zephyr@ZephyrRTOS:~/zephyrproject $ nrfutil pkg generate --hw-version 52 --sd-req 0x00 --application build/zephyr/zephyr.hex --application-version 1 blinky.zip
    nrfutil dfu usb-serial -pkg blinky.zip -p /dev/ttyACM0nrfutil pkg generate --hw-version 52 --sd-req 0x00 --application build/zephyr/zephyr.hex --application-version 1 blinky.zip
    nrfutil dfu usb-serial -pkg blinky.zip -p /dev/ttyACM0

    |===============================================================|
    |## ## ### ######## ## ## #### ## ## ###### |
    |## ## ## ## ## ## ## ### ## ## ### ## ## ## |
    |## ## ## ## ## ## ## #### ## ## #### ## ## |
    |## ## ## ## ## ######## ## ## ## ## ## ## ## ## ####|
    |## ## ## ######### ## ## ## #### ## ## #### ## ## |
    |## ## ## ## ## ## ## ## ### ## ## ### ## ## |
    | ### ### ## ## ## ## ## ## #### ## ## ###### |
    |===============================================================|
    |You are not providing a signature key, which means the DFU |
    |files will not be signed, and are vulnerable to tampering. |
    |This is only compatible with a signature-less bootloader and is|
    |not suitable for production environments. |
    |===============================================================|

    Traceback (most recent call last):
    File "/home/zephyr/zephyr-venv/bin/nrfutil", line 7, in <module>
    sys.exit(cli())
    ~~~^^
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/click/core.py", line 1485, in __call__
    return self.main(*args, **kwargs)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/click/core.py", line 1406, in main
    rv = self.invoke(ctx)
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/click/core.py", line 1873, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/click/core.py", line 1873, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/click/core.py", line 1269, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/click/core.py", line 824, in invoke
    return callback(*args, **kwargs)
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/nordicsemi/__main__.py", line 867, in generate
    package.generate_package(zipfile_path)
    ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/nordicsemi/dfu/package.py", line 403, in generate_package
    for key, firmware_data in self.firmwares_data.iteritems():
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'dict' object has no attribute 'iteritems'
    Usage: nrfutil dfu usb-serial [OPTIONS]
    Try 'nrfutil dfu usb-serial --help' for help.

    Error: Invalid value for '-pkg' / '--package': File 'blinky.zip' does not exist.
    (zephyr-venv) zephyr@ZephyrRTOS:~/zephyrproject $ exit
    logout

Reply
  • I have attached a log indicating a complete compilation of the blinky program for USB dongle nrf52840 through the zephyr development, but the inability of the nrfutil to configure a .zip file.  In the specific case nrfutili 5.2 was utilized. 

    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2025.12.01 08:08:30 =~=~=~=~=~=~=~=~=~=~=~=
    Using username "zephyr".
    [email protected]'s password:
    Linux ZephyrRTOS 6.12.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64

    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Mon Dec 1 10:07:01 2025 from 192.168.1.143
    (zephyr-venv) zephyr@ZephyrRTOS:~ $ # Ensure you're in the venv (if not: source ~/zephyr-venv/bin/activate)
    pip install --upgrade "PyYAML>=6.0"

    # Verify: No more conflicts with west/nrfutil
    pip check # Should show no errors (or just warnings we can ignore)

    # If pip check complains about click (from earlier), upgrade it too:
    pip install --upgrade "click>=8.0"
    pip check # Re-run to confirm (zephyr-venv) zephyr@ZephyrRTOS:~ $ # Ensure you're in the venv (if not: source ~/zephyr-venv/bin/activate)
    pip install --upgrade "PyYAML>=6.0"

    # Verify: No more conflicts with west/nrfutil
    pip check # Should show no errors (or just warnings we can ignore)

    # If pip check complains about click (from earlier), upgrade it too:
    pip install --upgrade "click>=8.0"
    pip check # Re-run to confirm
    Collecting PyYAML>=6.0
    Using cached pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.metadata (2.4 kB)
    Using cached pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (767 kB)
    Installing collected packages: PyYAML
    Attempting uninstall: PyYAML
    Found existing installation: PyYAML 4.2b4
    Uninstalling PyYAML-4.2b4:
    Successfully uninstalled PyYAML-4.2b4
    ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    nrfutil 5.2.0 requires pyyaml~=4.2b1, but you have pyyaml 6.0.3 which is incompatible.
    Successfully installed PyYAML-6.0.3
    reuse 6.2.0 has requirement click>=8.1, but you have click 7.1.2.
    nrfutil 5.2.0 has requirement pyyaml~=4.2b1, but you have pyyaml 6.0.3.
    gitlint-core 0.19.1 has requirement click>=8, but you have click 7.1.2.
    Collecting click>=8.0
    Using cached click-8.3.1-py3-none-any.whl.metadata (2.6 kB)
    Using cached click-8.3.1-py3-none-any.whl (108 kB)
    Installing collected packages: click
    Attempting uninstall: click
    Found existing installation: click 7.1.2
    Uninstalling click-7.1.2:
    Successfully uninstalled click-7.1.2
    ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    nrfutil 5.2.0 requires click~=7.0, but you have click 8.3.1 which is incompatible.
    nrfutil 5.2.0 requires pyyaml~=4.2b1, but you have pyyaml 6.0.3 which is incompatible.
    Successfully installed click-8.3.1
    nrfutil 5.2.0 has requirement click~=7.0, but you have click 8.3.1.
    nrfutil 5.2.0 has requirement pyyaml~=4.2b1, but you have pyyaml 6.0.3.
    (zephyr-venv) zephyr@ZephyrRTOS:~ $ cd ~/zephyrproject
    west build -b nrf52840dongle_nrf52840 zephyr/samples/basic/blinky --pristine cd ~/zephyrproject
    west build -b nrf52840dongle_nrf52840 zephyr/samples/basic/blinky --pristine
    -- west build: making build dir /home/zephyr/zephyrproject/build pristine
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: /home/zephyr/zephyrproject/zephyr/samples/basic/blinky
    -- CMake version: 3.31.6
    -- Found Python3: /home/zephyr/zephyr-venv/bin/python3 (found suitable version "3.13.5", minimum required is "3.10") found components: Interpreter
    -- Cache files will be written to: /home/zephyr/.cache/zephyr
    -- Zephyr version: 4.3.99 (/home/zephyr/zephyrproject/zephyr)
    -- Found west (found suitable version "1.5.0", minimum required is "0.14.0")
    -- Board: nrf52840dongle, qualifiers: nrf52840
    -- Found host-tools: zephyr 0.17.4 (/home/zephyr/zephyr-sdk-0.17.4)
    -- Found toolchain: zephyr 0.17.4 (/home/zephyr/zephyr-sdk-0.17.4)
    -- Found Dtc: /home/zephyr/zephyr-sdk-0.17.4/sysroots/aarch64-pokysdk-linux/usr/bin/dtc (found suitable version "1.7.0", minimum required is "1.4.6")
    -- Found BOARD.dts: /home/zephyr/zephyrproject/zephyr/boards/nordic/nrf52840dongle/nrf52840dongle_nrf52840.dts
    -- Generated zephyr.dts: /home/zephyr/zephyrproject/build/zephyr/zephyr.dts
    -- Generated pickled edt: /home/zephyr/zephyrproject/build/zephyr/edt.pickle
    -- Generated devicetree_generated.h: /home/zephyr/zephyrproject/build/zephyr/include/generated/zephyr/devicetree_generated.h
    Parsing /home/zephyr/zephyrproject/zephyr/Kconfig
    Loaded configuration '/home/zephyr/zephyrproject/zephyr/boards/nordic/nrf52840dongle/nrf52840dongle_nrf52840_defconfig'
    Merged configuration '/home/zephyr/zephyrproject/zephyr/samples/basic/blinky/prj.conf'
    Configuration saved to '/home/zephyr/zephyrproject/build/zephyr/.config'
    Kconfig header saved to '/home/zephyr/zephyrproject/build/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: /home/zephyr/zephyr-sdk-0.17.4/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (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: /home/zephyr/zephyr-sdk-0.17.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Using ccache: /usr/bin/ccache
    -- Found gen_kobject_list: /home/zephyr/zephyrproject/zephyr/scripts/build/gen_kobject_list.py
    -- Configuring done (21.2s)
    -- Generating done (0.5s)
    -- Build files have been written to: /home/zephyr/zephyrproject/build
    -- west build: building application
    [0/188] Preparing syscall dependency handling [0/188] Generating include/generated/zephyr/version.h [1/188] Preparing syscall dependency handling

    [1/188] Generating misc/generated/syscalls_subdirs.trigger [2/188] Generating include/generated/zephyr/version.h
    -- Zephyr version: 4.3.99 (/home/zephyr/zephyrproject/zephyr), build: v4.3.0-1368-gd02cdc734e6e
    [3/188] Generating misc/generated/syscalls_subdirs.trigger [3/188] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json [4/188] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json [4/188] Generating include/generated/z...nclude/generated/zephyr/syscall_list.h [4/188] Generating include/generated/zephyr/driver-validation.h [4/188] Generating include/generated/z...clude/generated/zephyr/otype-to-size.h [4/188] Generating include/generated/d...de/generated/device-api-sections.cmake [5/188] Generating include/generated/d...de/generated/device-api-sections.cmake [6/188] Generating include/generated/z...nclude/generated/zephyr/syscall_list.h [7/188] Generating include/generated/zephyr/driver-validation.h [8/188] Generating include/generated/z...clude/generated/zephyr/otype-to-size.h [8/188] Building C object zephyr/CMake...ir/arch/arm/core/offsets/offsets.c.obj [9/188] Building C object zephyr/CMake...ir/arch/arm/core/offsets/offsets.c.obj [9/188] Generating include/generated/zephyr/offsets.h [10/188] Generating include/generated/zephyr/offsets.h [10/188] Building C object zephyr/arch...eFiles/isr_tables.dir/isr_tables.c.obj [10/188] Building C object CMakeFiles/app.dir/src/main.c.obj [10/188] Building C object zephyr/CMak...ephyr.dir/lib/libc/validate_libc.c.obj [10/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj [10/188] Building C object zephyr/CMak...hyr.dir/lib/os/cbprintf_packaged.c.obj [10/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/clock.c.obj [11/188] Building C object zephyr/arch...eFiles/isr_tables.dir/isr_tables.c.obj [11/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj [12/188] Building C object zephyr/CMak...ephyr.dir/lib/libc/validate_libc.c.obj [12/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj [13/188] Building C object CMakeFiles/app.dir/src/main.c.obj [13/188] Building C object zephyr/CMak...s/zephyr.dir/lib/os/thread_entry.c.obj [14/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj [14/188] Building C object zephyr/CMak...hyr.dir/lib/os/cbprintf_complete.c.obj [15/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/clock.c.obj [15/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj [16/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj [16/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj [17/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj [17/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj [18/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj [18/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj [19/188] Building C object zephyr/CMak...s/zephyr.dir/lib/os/thread_entry.c.obj [19/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj [20/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj [20/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj [21/188] Building C object zephyr/CMak...hyr.dir/lib/os/cbprintf_packaged.c.obj [21/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitmask.c.obj [22/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj [22/188] Building C object zephyr/CMak...phyr.dir/lib/utils/getopt/getopt.c.obj [23/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitmask.c.obj [23/188] Building C object zephyr/CMak...r/lib/utils/getopt/getopt_common.c.obj [24/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj [24/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/onoff.c.obj [25/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj [25/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/notify.c.obj [26/188] Building C object zephyr/CMak...r/lib/utils/getopt/getopt_common.c.obj [26/188] Building C object zephyr/CMak...zephyr.dir/lib/utils/ring_buffer.c.obj [27/188] Building C object zephyr/CMak...phyr.dir/lib/utils/getopt/getopt.c.obj [27/188] Building C object zephyr/CMak...yr.dir/lib/utils/last_section_id.c.obj [28/188] Building C object zephyr/CMak...yr.dir/lib/utils/last_section_id.c.obj [28/188] Building C object zephyr/CMak...ephyr.dir/misc/generated/configs.c.obj [29/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj [29/188] Building C object zephyr/CMak...hyr.dir/subsys/mem_mgmt/mem_attr.c.obj [30/188] Building C object zephyr/CMak...hyr.dir/lib/os/cbprintf_complete.c.obj [30/188] Building C object zephyr/CMak....dir/subsys/tracing/tracing_none.c.obj [31/188] Building C object zephyr/CMak...ephyr.dir/misc/generated/configs.c.obj [31/188] Building C object zephyr/CMak...b/device_next/app/cdc_acm_serial.c.obj [32/188] Building C object zephyr/CMak...zephyr.dir/lib/utils/ring_buffer.c.obj [32/188] Generating linker_zephyr_pre0.cmd [33/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/notify.c.obj [33/188] Building C object zephyr/arch...s/arch__common.dir/sw_isr_common.c.obj [34/188] Generating linker_zephyr_pre0.cmd [34/188] Building C object zephyr/arch...CMakeFiles/arch__common.dir/init.c.obj [35/188] Building C object zephyr/CMak...hyr.dir/subsys/mem_mgmt/mem_attr.c.obj [35/188] Building C object zephyr/arch.../CMakeFiles/arch__common.dir/xip.c.obj [36/188] Building C object zephyr/CMak....dir/subsys/tracing/tracing_none.c.obj [36/188] Linking C static library zephyr/arch/common/libisr_tables.a [37/188] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/onoff.c.obj [37/188] Building C object zephyr/arch...eFiles/arch__arm__core.dir/fatal.c.obj [38/188] Linking C static library zephyr/arch/common/libisr_tables.a [38/188] Building C object zephyr/arch...akeFiles/arch__arm__core.dir/nmi.c.obj [39/188] Building C object zephyr/arch...CMakeFiles/arch__common.dir/init.c.obj [39/188] Building ASM object zephyr/ar...arch__arm__core.dir/nmi_on_reset.S.obj [40/188] Building ASM object zephyr/ar...arch__arm__core.dir/nmi_on_reset.S.obj [40/188] Building C object zephyr/arch...akeFiles/arch__arm__core.dir/tls.c.obj [41/188] Building C object zephyr/arch...s/arch__common.dir/sw_isr_common.c.obj [41/188] Building C object zephyr/arch...arm__core__cortex_m.dir/exc_exit.c.obj [42/188] Building C object zephyr/CMak...b/device_next/app/cdc_acm_serial.c.obj [42/188] Building C object zephyr/arch...h__arm__core__cortex_m.dir/fault.c.obj [43/188] Building C object zephyr/arch...akeFiles/arch__arm__core.dir/nmi.c.obj [43/188] Building ASM object zephyr/ar..._arm__core__cortex_m.dir/fault_s.S.obj [44/188] Building ASM object zephyr/ar..._arm__core__cortex_m.dir/fault_s.S.obj [44/188] Building C object zephyr/arch...rch__arm__core__cortex_m.dir/fpu.c.obj [45/188] Building C object zephyr/arch.../CMakeFiles/arch__common.dir/xip.c.obj [45/188] Building ASM object zephyr/ar...h__arm__core__cortex_m.dir/reset.S.obj [46/188] Building C object zephyr/arch...arm__core__cortex_m.dir/exc_exit.c.obj [46/188] Building C object zephyr/arch...rch__arm__core__cortex_m.dir/scb.c.obj [47/188] Building ASM object zephyr/ar...h__arm__core__cortex_m.dir/reset.S.obj [47/188] Building C object zephyr/arch..._core__cortex_m.dir/thread_abort.c.obj [48/188] Building C object zephyr/arch...eFiles/arch__arm__core.dir/fatal.c.obj [48/188] Building ASM object zephyr/ar..._core__cortex_m.dir/vector_table.S.obj [49/188] Building C object zephyr/arch...akeFiles/arch__arm__core.dir/tls.c.obj [49/188] Building ASM object zephyr/ar...__core__cortex_m.dir/swap_helper.S.obj [50/188] Building ASM object zephyr/ar..._core__cortex_m.dir/vector_table.S.obj [50/188] Building C object zephyr/arch...m__core__cortex_m.dir/irq_manage.c.obj [51/188] Building ASM object zephyr/ar...__core__cortex_m.dir/swap_helper.S.obj [51/188] Building C object zephyr/arch...__arm__core__cortex_m.dir/prep_c.c.obj [52/188] Building C object zephyr/arch...h__arm__core__cortex_m.dir/fault.c.obj [52/188] Building C object zephyr/arch...__arm__core__cortex_m.dir/thread.c.obj [53/188] Building C object zephyr/arch...rch__arm__core__cortex_m.dir/scb.c.obj [53/188] Building C object zephyr/arch...arm__core__cortex_m.dir/cpu_idle.c.obj [54/188] Building C object zephyr/arch...rch__arm__core__cortex_m.dir/fpu.c.obj [54/188] Building C object zephyr/arch...arm__core__cortex_m.dir/irq_init.c.obj [55/188] Building C object zephyr/arch..._core__cortex_m.dir/thread_abort.c.obj [55/188] Building C object zephyr/arch...__core__cortex_m.dir/isr_wrapper.c.obj [56/188] Building C object zephyr/arch...arm__core__cortex_m.dir/irq_init.c.obj [56/188] Building ASM object zephyr/ar...re__cortex_m.dir/__aeabi_read_tp.S.obj [57/188] Building C object zephyr/arch...__arm__core__cortex_m.dir/thread.c.obj [57/188] Building C object zephyr/arch..._arm__core__mpu.dir/arm_core_mpu.c.obj [58/188] Building ASM object zephyr/ar...re__cortex_m.dir/__aeabi_read_tp.S.obj [58/188] Building C object zephyr/arch...arch__arm__core__mpu.dir/arm_mpu.c.obj [59/188] Building C object zephyr/arch...arm__core__cortex_m.dir/cpu_idle.c.obj [59/188] Building C object zephyr/arch...m__core__mpu.dir/arm_mpu_regions.c.obj [60/188] Building C object zephyr/arch...__core__cortex_m.dir/isr_wrapper.c.obj [60/188] Building C object zephyr/lib/...s/lib__libc__picolibc.dir/assert.c.obj [61/188] Building C object zephyr/arch...m__core__cortex_m.dir/irq_manage.c.obj [61/188] Building C object zephyr/lib/...lib__libc__picolibc.dir/cbprintf.c.obj [62/188] Building C object zephyr/arch...__arm__core__cortex_m.dir/prep_c.c.obj [62/188] Building C object zephyr/lib/...lib__libc__picolibc.dir/chk_fail.c.obj [63/188] Building C object zephyr/arch...m__core__mpu.dir/arm_mpu_regions.c.obj [63/188] Building C object zephyr/lib/...b__libc__picolibc.dir/errno_wrap.c.obj [64/188] Building C object zephyr/arch..._arm__core__mpu.dir/arm_core_mpu.c.obj [64/188] Building C object zephyr/lib/...les/lib__libc__picolibc.dir/exit.c.obj [65/188] Building C object zephyr/lib/...lib__libc__picolibc.dir/cbprintf.c.obj [65/188] Building C object zephyr/lib/...es/lib__libc__picolibc.dir/locks.c.obj [66/188] Building C object zephyr/lib/...s/lib__libc__picolibc.dir/assert.c.obj [66/188] Building C object zephyr/lib/...es/lib__libc__picolibc.dir/stdio.c.obj [67/188] Building C object zephyr/arch...arch__arm__core__mpu.dir/arm_mpu.c.obj [67/188] Building C object zephyr/lib/...__common.dir/source/stdlib/abort.c.obj [68/188] Building C object zephyr/lib/...lib__libc__picolibc.dir/chk_fail.c.obj [68/188] Building C object zephyr/lib/...ibc__common.dir/source/time/time.c.obj [69/188] Building C object zephyr/lib/...b__libc__picolibc.dir/errno_wrap.c.obj [69/188] Building C object zephyr/lib/..._common.dir/source/stdlib/malloc.c.obj [70/188] Building C object zephyr/lib/...es/lib__libc__picolibc.dir/stdio.c.obj [70/188] Building C object zephyr/lib/...ib__posix__c_lib_ext.dir/fnmatch.c.obj [71/188] Building C object zephyr/lib/...ibc__common.dir/source/time/time.c.obj [71/188] Building C object zephyr/lib/..._posix__c_lib_ext.dir/getentropy.c.obj [72/188] Building C object zephyr/lib/...__common.dir/source/stdlib/abort.c.obj [72/188] Building C object zephyr/lib/...posix__c_lib_ext.dir/getopt_shim.c.obj [73/188] Building C object zephyr/lib/...les/lib__libc__picolibc.dir/exit.c.obj [73/188] Building C object zephyr/lib/.../CMakeFiles/lib__net_buf.dir/buf.c.obj [74/188] Building C object zephyr/lib/...es/lib__libc__picolibc.dir/locks.c.obj [74/188] Building C object zephyr/lib/...iles/lib__net_buf.dir/buf_simple.c.obj [75/188] Building C object zephyr/lib/...ib__posix__c_lib_ext.dir/fnmatch.c.obj [75/188] Building C object zephyr/soc/...rdic.dir/validate_base_addresses.c.obj [76/188] Building C object zephyr/lib/..._posix__c_lib_ext.dir/getentropy.c.obj [76/188] Building C object zephyr/soc/...dic.dir/validate_binding_headers.c.obj [77/188] Building C object zephyr/lib/...posix__c_lib_ext.dir/getopt_shim.c.obj [77/188] Building C object zephyr/soc/...c.dir/validate_enabled_instances.c.obj [78/188] Building C object zephyr/lib/..._common.dir/source/stdlib/malloc.c.obj [78/188] Building C object zephyr/soc/...eFiles/soc__nordic.dir/nrf52/soc.c.obj [79/188] Building C object zephyr/soc/...rdic.dir/validate_base_addresses.c.obj [79/188] Building C object zephyr/soc/...es/soc__nordic.dir/common/reboot.c.obj [80/188] Building C object zephyr/soc/...dic.dir/validate_binding_headers.c.obj [80/188] Building C object zephyr/soc/...soc__nordic.dir/common/gppi_init.c.obj [81/188] Building C object zephyr/soc/...c.dir/validate_enabled_instances.c.obj [81/188] Building C object zephyr/soc/...c__nordic.dir/common/gpiote_nrfx.c.obj [82/188] Building C object zephyr/soc/...eFiles/soc__nordic.dir/nrf52/soc.c.obj [82/188] Building C object zephyr/boar...nordic__nrf52840dongle.dir/board.c.obj [83/188] Building C object zephyr/soc/...es/soc__nordic.dir/common/reboot.c.obj [83/188] Building C object zephyr/subs...usb__device_next.dir/usbd_device.c.obj [84/188] Building C object zephyr/soc/...soc__nordic.dir/common/gppi_init.c.obj [84/188] Building C object zephyr/subs...__usb__device_next.dir/usbd_desc.c.obj [85/188] Building C object zephyr/boar...nordic__nrf52840dongle.dir/board.c.obj [85/188] Building C object zephyr/subs...s__usb__device_next.dir/usbd_ch9.c.obj [86/188] Building C object zephyr/lib/.../CMakeFiles/lib__net_buf.dir/buf.c.obj [86/188] Building C object zephyr/subs...__usb__device_next.dir/usbd_core.c.obj [87/188] Building C object zephyr/lib/...iles/lib__net_buf.dir/buf_simple.c.obj [87/188] Building C object zephyr/subs...__usb__device_next.dir/usbd_init.c.obj [88/188] Building C object zephyr/soc/...c__nordic.dir/common/gpiote_nrfx.c.obj [88/188] Building C object zephyr/subs...usb__device_next.dir/usbd_config.c.obj [89/188] Building C object zephyr/subs...__usb__device_next.dir/usbd_desc.c.obj [89/188] Building C object zephyr/subs..._usb__device_next.dir/usbd_class.c.obj [90/188] Building C object zephyr/subs...usb__device_next.dir/usbd_device.c.obj [90/188] Building C object zephyr/subs...__device_next.dir/usbd_interface.c.obj [91/188] Building C object zephyr/subs...__usb__device_next.dir/usbd_core.c.obj [91/188] Building C object zephyr/subs...b__device_next.dir/usbd_endpoint.c.obj [92/188] Building C object zephyr/subs...__usb__device_next.dir/usbd_init.c.obj [92/188] Building C object zephyr/subs...s__usb__device_next.dir/usbd_msg.c.obj [93/188] Building C object zephyr/subs...s__usb__device_next.dir/usbd_ch9.c.obj [93/188] Building C object zephyr/subs...vice_next.dir/class/usbd_cdc_acm.c.obj [94/188] Building C object zephyr/subs...b__device_next.dir/usbd_endpoint.c.obj [94/188] Building C object zephyr/driv...drivers__usb__udc.dir/udc_common.c.obj [95/188] Building C object zephyr/subs...usb__device_next.dir/usbd_config.c.obj [95/188] Building C object zephyr/driv...es/drivers__usb__udc.dir/udc_nrf.c.obj [96/188] Building C object zephyr/subs...__device_next.dir/usbd_interface.c.obj [96/188] Building C object zephyr/driv..._usbd_common.dir/nrf_usbd_common.c.obj [97/188] Building C object zephyr/subs..._usb__device_next.dir/usbd_class.c.obj [97/188] Building C object zephyr/driv...ck_control.dir/clock_control_nrf.c.obj [98/188] Building C object zephyr/subs...s__usb__device_next.dir/usbd_msg.c.obj [98/188] Building C object zephyr/driv...rivers__console.dir/uart_console.c.obj [99/188] Building C object zephyr/subs...vice_next.dir/class/usbd_cdc_acm.c.obj [99/188] Building C object zephyr/driv...iles/drivers__gpio.dir/gpio_nrfx.c.obj [100/188] Building C object zephyr/dri...rivers__console.dir/uart_console.c.obj [100/188] Building C object zephyr/dri...ers__hwinfo.dir/hwinfo_weak_impl.c.obj [101/188] Building C object zephyr/dri...drivers__usb__udc.dir/udc_common.c.obj [101/188] Building C object zephyr/dri...s/drivers__hwinfo.dir/hwinfo_nrf.c.obj [102/188] Building C object zephyr/dri...ck_control.dir/clock_control_nrf.c.obj [102/188] Building C object zephyr/dri...iles/drivers__pinctrl.dir/common.c.obj [103/188] Building C object zephyr/dri...ers__hwinfo.dir/hwinfo_weak_impl.c.obj [103/188] Building C object zephyr/dri...drivers__pinctrl.dir/pinctrl_nrf.c.obj [104/188] Building C object zephyr/dri...iles/drivers__pinctrl.dir/common.c.obj [104/188] Building C object zephyr/dri...yrproject/zephyr/misc/empty_file.c.obj [105/188] Building C object zephyr/dri...yrproject/zephyr/misc/empty_file.c.obj [105/188] Building C object zephyr/dri...vers__serial.dir/uart_nrfx_uarte.c.obj [106/188] Building C object zephyr/dri...s/drivers__hwinfo.dir/hwinfo_nrf.c.obj [106/188] Building C object zephyr/dri...rivers__timer.dir/sys_clock_init.c.obj [107/188] Building C object zephyr/dri...es/drivers__usb__udc.dir/udc_nrf.c.obj [107/188] Building C object zephyr/dri...drivers__timer.dir/nrf_rtc_timer.c.obj [108/188] Building C object zephyr/dri..._usbd_common.dir/nrf_usbd_common.c.obj [108/188] Building C object modules/ha...x/bsp/stable/mdk/system_nrf52840.c.obj [109/188] Building C object modules/ha...x/bsp/stable/mdk/system_nrf52840.c.obj [109/188] Building C object modules/ha...fx/CMakeFiles/nrfx.dir/nrfx_glue.c.obj [110/188] Building C object zephyr/dri...rivers__timer.dir/sys_clock_init.c.obj [110/188] Building C object modules/ha...fx/helpers/nrfx_flag32_allocator.c.obj [111/188] Building C object zephyr/dri...drivers__pinctrl.dir/pinctrl_nrf.c.obj [111/188] Building C object modules/ha...ordic/nrfx/helpers/nrfx_ram_ctrl.c.obj [112/188] Building C object zephyr/dri...iles/drivers__gpio.dir/gpio_nrfx.c.obj [112/188] Building C object modules/ha...ordic/nrfx/helpers/nrfx_gppi_ppi.c.obj [113/188] Building C object modules/ha...fx/helpers/nrfx_flag32_allocator.c.obj [113/188] Building C object modules/ha...rdic/nrfx/drivers/src/nrfx_clock.c.obj [114/188] Building C object zephyr/dri...drivers__timer.dir/nrf_rtc_timer.c.obj [114/188] Building C object modules/ha...rfx/drivers/src/nrfx_clock_hfclk.c.obj [115/188] Building C object modules/ha...fx/CMakeFiles/nrfx.dir/nrfx_glue.c.obj [115/188] Building C object modules/ha...rivers/src/nrfx_clock_hfclkaudio.c.obj [116/188] Building C object modules/ha...ordic/nrfx/helpers/nrfx_ram_ctrl.c.obj [116/188] Building C object modules/ha...drivers/src/nrfx_clock_hfclk192m.c.obj [117/188] Building C object modules/ha...rivers/src/nrfx_clock_hfclkaudio.c.obj [117/188] Building C object modules/ha...rfx/drivers/src/nrfx_clock_lfclk.c.obj [118/188] Building C object modules/ha...rdic/nrfx/drivers/src/nrfx_clock.c.obj [118/188] Building C object modules/ha...c/nrfx/drivers/src/nrfx_clock_xo.c.obj [119/188] Building C object modules/ha...rfx/drivers/src/nrfx_clock_hfclk.c.obj [119/188] Building C object modules/ha...rfx/drivers/src/nrfx_clock_xo24m.c.obj [120/188] Building C object modules/ha...ordic/nrfx/helpers/nrfx_gppi_ppi.c.obj [120/188] Building C object modules/ha...dic/nrfx/drivers/src/nrfx_gpiote.c.obj [121/188] Building C object modules/ha...drivers/src/nrfx_clock_hfclk192m.c.obj [121/188] Building C object modules/ha...rdic/nrfx/drivers/src/nrfx_power.c.obj [122/188] Building C object modules/ha...c/nrfx/drivers/src/nrfx_clock_xo.c.obj [122/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj [123/188] Building C object modules/ha...rfx/drivers/src/nrfx_clock_xo24m.c.obj [123/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj [124/188] Building C object modules/ha...rfx/drivers/src/nrfx_clock_lfclk.c.obj [124/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj [125/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj [125/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj [126/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj [126/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj [127/188] Building C object modules/ha...rdic/nrfx/drivers/src/nrfx_power.c.obj [127/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj [128/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj [128/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj [129/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj [129/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj [130/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj [130/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj [131/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj [131/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/float.c.obj [132/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj [132/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj [133/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/float.c.obj [133/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj [134/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj [134/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj [135/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj [135/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj [136/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj [136/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj [137/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj [137/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj [138/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj [138/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj [139/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj [139/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj [140/188] Building C object modules/ha...dic/nrfx/drivers/src/nrfx_gpiote.c.obj [140/188] Building C object zephyr/ker...keFiles/kernel.dir/system_work_q.c.obj [141/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj [141/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj [142/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj [142/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj [143/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj [143/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj [144/188] Building C object zephyr/ker...keFiles/kernel.dir/system_work_q.c.obj [144/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj [145/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj [145/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/pipe.c.obj [146/188] Building C object zephyr/dri...vers__serial.dir/uart_nrfx_uarte.c.obj [146/188] Building C object zephyr/ker...MakeFiles/kernel.dir/timeslicing.c.obj [147/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj [147/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj [148/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj [148/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj [149/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj [149/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/events.c.obj [150/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/pipe.c.obj [150/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj [151/188] Building C object zephyr/ker...MakeFiles/kernel.dir/timeslicing.c.obj [151/188] Building C object zephyr/ker...iles/kernel.dir/dynamic_disabled.c.obj [152/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj [152/188] Linking C static library app/libapp.a [153/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj [153/188] Linking C static library zephyr/libzephyr.a [154/188] Linking C static library app/libapp.a [154/188] Building C object zephyr/CMa.../zephyr_pre0.dir/misc/empty_file.c.obj [155/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj [155/188] Linking C static library zephyr/arch/common/libarch__common.a [156/188] Building C object zephyr/CMa.../zephyr_pre0.dir/misc/empty_file.c.obj [156/188] Linking C static library zep...rch/arch/arm/core/libarch__arm__core.a [157/188] Building C object zephyr/ker...iles/kernel.dir/dynamic_disabled.c.obj [157/188] Linking C static library zep...ortex_m/libarch__arm__core__cortex_m.a [158/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/events.c.obj [158/188] Linking C static library zep...arm/core/mpu/libarch__arm__core__mpu.a [159/188] Linking C static library zephyr/arch/common/libarch__common.a [159/188] Linking C static library zep...libc/picolibc/liblib__libc__picolibc.a [160/188] Linking C static library zep...rch/arch/arm/core/libarch__arm__core.a [160/188] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a [161/188] Linking C static library zephyr/libzephyr.a [161/188] Linking C static library zep...x/c_lib_ext/liblib__posix__c_lib_ext.a [162/188] Linking C static library zep...arm/core/mpu/libarch__arm__core__mpu.a [162/188] Linking C static library zephyr/lib/net_buf/liblib__net_buf.a [163/188] Linking C static library zep...ortex_m/libarch__arm__core__cortex_m.a [163/188] Linking C static library zephyr/soc/soc/nrf52840/libsoc__nordic.a [164/188] Linking C static library zep...libc/picolibc/liblib__libc__picolibc.a [164/188] Linking C static library zep...le/libboards__nordic__nrf52840dongle.a [165/188] Linking C static library zep...x/c_lib_ext/liblib__posix__c_lib_ext.a [165/188] Linking C static library zep...ice_next/libsubsys__usb__device_next.a [166/188] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a [166/188] Linking C static library zephyr/drivers/usb/udc/libdrivers__usb__udc.a [167/188] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj [167/188] Linking C static library zep...rivers__usb__common__nrf_usbd_common.a [168/188] Linking C static library zephyr/lib/net_buf/liblib__net_buf.a [168/188] Linking C static library zep...ck_control/libdrivers__clock_control.a [169/188] Linking C static library zephyr/soc/soc/nrf52840/libsoc__nordic.a [169/188] Linking C static library zephyr/drivers/console/libdrivers__console.a [170/188] Linking C static library zep...le/libboards__nordic__nrf52840dongle.a [170/188] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a [171/188] Linking C static library zephyr/drivers/usb/udc/libdrivers__usb__udc.a [171/188] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a [172/188] Linking C static library zep...rivers__usb__common__nrf_usbd_common.a [172/188] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a [173/188] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a [173/188] Linking C static library zephyr/drivers/serial/libdrivers__serial.a [174/188] Linking C static library zephyr/drivers/console/libdrivers__console.a [174/188] Linking C static library zephyr/drivers/timer/libdrivers__timer.a [175/188] Linking C static library zep...ice_next/libsubsys__usb__device_next.a [175/188] Linking C static library modules/hal_nordic/nrfx/libnrfx.a [176/188] Linking C static library zep...ck_control/libdrivers__clock_control.a [176/188] Linking C static library zephyr/kernel/libkernel.a [177/188] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a [178/188] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a [179/188] Linking C static library zephyr/drivers/serial/libdrivers__serial.a [180/188] Linking C static library zephyr/drivers/timer/libdrivers__timer.a [181/188] Linking C static library modules/hal_nordic/nrfx/libnrfx.a [182/188] Linking C static library zephyr/kernel/libkernel.a [182/188] Linking C executable zephyr/zephyr_pre0.elf [183/188] Linking C executable zephyr/zephyr_pre0.elf [183/188] Generating linker.cmd [184/188] Generating linker.cmd [184/188] Generating isr_tables.c, isr_tables_vt.ld, isr_tables_swi.ld [185/188] Generating isr_tables.c, isr_tables_vt.ld, isr_tables_swi.ld [185/188] Building C object zephyr/CMa...zephyr_final.dir/misc/empty_file.c.obj [185/188] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj [186/188] Building C object zephyr/CMa...zephyr_final.dir/misc/empty_file.c.obj [187/188] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj [187/188] Linking C executable zephyr/zephyr.elf [188/188] Linking C executable zephyr/zephyr.elf
    Memory region Used Size Region Size %age Used
    FLASH: 44944 B 1020 KB 4.30%
    RAM: 13560 B 256 KB 5.17%
    IDT_LIST: 0 GB 32 KB 0.00%
    Generating files from /home/zephyr/zephyrproject/build/zephyr/zephyr.elf for board: nrf52840dongle
    (zephyr-venv) zephyr@ZephyrRTOS:~/zephyrproject $ ls /dev/ttyACM*ls /dev/ttyACM*
    /dev/ttyACM0
    (zephyr-venv) zephyr@ZephyrRTOS:~/zephyrproject $ nrfutil pkg generate --hw-version 52 --sd-req 0x00 --application build/zephyr/zephyr.hex --application-version 1 blinky.zip
    nrfutil dfu usb-serial -pkg blinky.zip -p /dev/ttyACM0nrfutil pkg generate --hw-version 52 --sd-req 0x00 --application build/zephyr/zephyr.hex --application-version 1 blinky.zip
    nrfutil dfu usb-serial -pkg blinky.zip -p /dev/ttyACM0

    |===============================================================|
    |## ## ### ######## ## ## #### ## ## ###### |
    |## ## ## ## ## ## ## ### ## ## ### ## ## ## |
    |## ## ## ## ## ## ## #### ## ## #### ## ## |
    |## ## ## ## ## ######## ## ## ## ## ## ## ## ## ####|
    |## ## ## ######### ## ## ## #### ## ## #### ## ## |
    |## ## ## ## ## ## ## ## ### ## ## ### ## ## |
    | ### ### ## ## ## ## ## ## #### ## ## ###### |
    |===============================================================|
    |You are not providing a signature key, which means the DFU |
    |files will not be signed, and are vulnerable to tampering. |
    |This is only compatible with a signature-less bootloader and is|
    |not suitable for production environments. |
    |===============================================================|

    Traceback (most recent call last):
    File "/home/zephyr/zephyr-venv/bin/nrfutil", line 7, in <module>
    sys.exit(cli())
    ~~~^^
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/click/core.py", line 1485, in __call__
    return self.main(*args, **kwargs)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/click/core.py", line 1406, in main
    rv = self.invoke(ctx)
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/click/core.py", line 1873, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/click/core.py", line 1873, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/click/core.py", line 1269, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/click/core.py", line 824, in invoke
    return callback(*args, **kwargs)
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/nordicsemi/__main__.py", line 867, in generate
    package.generate_package(zipfile_path)
    ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
    File "/home/zephyr/zephyr-venv/lib/python3.13/site-packages/nordicsemi/dfu/package.py", line 403, in generate_package
    for key, firmware_data in self.firmwares_data.iteritems():
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'dict' object has no attribute 'iteritems'
    Usage: nrfutil dfu usb-serial [OPTIONS]
    Try 'nrfutil dfu usb-serial --help' for help.

    Error: Invalid value for '-pkg' / '--package': File 'blinky.zip' does not exist.
    (zephyr-venv) zephyr@ZephyrRTOS:~/zephyrproject $ exit
    logout

Children
Related