Build error while running DFU over bluetooth Sample in BL653 board.

Hi,

I am using Nrf Connect Sdk version 1.9.1. I am trying to build the sample code for Ble DFU using BL653 board. The link of sample code is here

I am getting Kconfig warnings and Cmake error when I try to build the same. The error is as follows:

error: Aborting due to Kconfig warnings

CMake Error at D:/nrf/v1.9.1/zephyr/cmake/kconfig.cmake:272 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  D:/nrf/v1.9.1/zephyr/cmake/app/boilerplate.cmake:544 (include)
  D:/nrf/v1.9.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  D:/nrf/v1.9.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
  CMakeLists.txt:44 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at D:/nrf/v1.9.1/nrf/cmake/multi_image.cmake:409 (message):
  CMake generation for mcuboot failed, aborting.  Command: 1
Call Stack (most recent call first):
  D:/nrf/v1.9.1/nrf/cmake/multi_image.cmake:150 (add_child_image_from_source)
  D:/nrf/v1.9.1/nrf/modules/mcuboot/CMakeLists.txt:216 (add_child_image)


-- Configuring incomplete, errors occurred!
See also "D:/learning/Project5/peripheral_lbs_BLE_DFU/build/CMakeFiles/CMakeOutput.log".
See also "D:/learning/Project5/peripheral_lbs_BLE_DFU/build/CMakeFiles/CMakeError.log".
FATAL ERROR: command exited with status 1: 'd:\nrf\v1.9.1\toolchain\opt\bin\cmake.EXE' '-DWEST_PYTHON=d:\nrf\v1.9.1\toolchain\opt\bin\python.exe' '-Bd:\learning\Project5\peripheral_lbs_BLE_DFU\build' '-Sd:\learning\Project5\peripheral_lbs_BLE_DFU' -GNinja -DBOARD=bl653_dvk -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DBOARD_ROOT:STRING=d:/learning/Project5/peripheral_lbs_BLE_DFU

What could be the issue and how to solve this issue?

Parents
  • Hello,

    Please try to build MCUBOOT with CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_MAX_SKIP=0 as suggested in this answer RE: BL653 soft reset fails in sample DFU App . If this also fails, please upload the full build log so I can see what the Kconfig warnings were.

    Best regards,

    Vidar 

  • Hi Vidar Berg,

    I added MCUBOOT with CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_MAX_SKIP=0 in my prj.conf file. After that, I run pristine build. Still I am facing the same problem as before. I'll share the full build error log with you.

    Due to some issue with the website, I am not able to upload or attach the build error log here.

     

  • As I am not able to attach the file here. I'll share the log here itself.

    Here's the build error log:

    --------------------------------------------------------------------------------------------------------------------------------------------

    Building peripheral_lbs_ble_dfu
    C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir d:\learning\Folder6\peripheral_lbs_ble_dfu\build d:\learning\Folder6\peripheral_lbs_ble_dfu --pristine --board bl653_dvk -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DBOARD_ROOT:STRING="d:/learning/Project5/peripheral_lbs_BLE_DFU;d:/learning/Folder6/peripheral_lbs_ble_dfu""

    -- west build: generating a build system
    Including boilerplate (Zephyr base): D:/nrf/v1.9.1/zephyr/cmake/app/boilerplate.cmake
    -- Application: D:/learning/Folder6/peripheral_lbs_ble_dfu
    -- Zephyr version: 2.7.99 (D:/nrf/v1.9.1/zephyr), build: v2.7.99-ncs1-1
    -- Found Python3: D:/nrf/v1.9.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
    -- Board: bl653_dvk
    -- Cache files will be written to: D:/nrf/v1.9.1/zephyr/.cache
    -- Found dtc: D:/nrf/v1.9.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (d:/nrf/v1.9.1/toolchain/opt)
    -- Found BOARD.dts: D:/nrf/v1.9.1/zephyr/boards/arm/bl653_dvk/bl653_dvk.dts
    -- Generated zephyr.dts: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/include/generated/device_extern.h
    -- Including generated dts.cmake file: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/dts.cmake
    Parsing D:/learning/Folder6/peripheral_lbs_ble_dfu/Kconfig
    Loaded configuration 'D:/nrf/v1.9.1/zephyr/boards/arm/bl653_dvk/bl653_dvk_defconfig'
    Merged configuration 'D:/learning/Folder6/peripheral_lbs_ble_dfu/prj.conf'
    Configuration saved to 'D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/.config'
    Kconfig header saved to 'D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 9.2.1
    -- The CXX compiler identification is GNU 9.2.1
    -- The ASM compiler identification is GNU
    -- Found assembler: D:/nrf/v1.9.1/toolchain/opt/bin/arm-none-eabi-gcc.exe
    CMake Warning at D:/nrf/v1.9.1/zephyr/CMakeLists.txt:1687 (message):
    __ASSERT() statements are globally ENABLED


    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/learning/Folder6/peripheral_lbs_ble_dfu/build
    -- west build: building application
    [1/220] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
    [2/220] Generating include/generated/driver-validation.h
    [3/220] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
    [4/220] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
    [5/220] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
    [6/220] Generating include/generated/offsets.h
    [7/220] Building C object zephyr/CMakeFiles/zephyr.dir/D_/nrf/v1.9.1/modules/crypto/tinycrypt/lib/source/aes_decrypt.c.obj
    [8/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_line.c.obj
    [9/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_init.c.obj
    [10/220] Building C object zephyr/CMakeFiles/zephyr.dir/D_/nrf/v1.9.1/modules/crypto/tinycrypt/lib/source/cmac_mode.c.obj
    [11/220] Building C object zephyr/CMakeFiles/zephyr.dir/D_/nrf/v1.9.1/modules/crypto/tinycrypt/lib/source/aes_encrypt.c.obj
    [12/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/pm.c.obj
    [13/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_nvs.c.obj
    [14/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/constraint.c.obj
    [15/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings.c.obj
    [16/220] Building C object zephyr/CMakeFiles/zephyr.dir/D_/nrf/v1.9.1/nrf/subsys/bluetooth/services/lbs.c.obj
    [17/220] Building C object zephyr/CMakeFiles/zephyr.dir/D_/nrf/v1.9.1/modules/crypto/tinycrypt/lib/source/utils.c.obj
    [18/220] Building C object zephyr/CMakeFiles/zephyr.dir/D_/nrf/v1.9.1/modules/crypto/tinycrypt/lib/source/ecc_dh.c.obj
    [19/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/policy/residency.c.obj
    [20/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
    [21/220] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
    [22/220] Generating linker_zephyr_pre1.cmd
    [23/220] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
    [24/220] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
    [25/220] Generating linker_zephyr_pre0.cmd
    [26/220] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
    [27/220] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
    [28/220] Building C object zephyr/CMakeFiles/zephyr.dir/D_/nrf/v1.9.1/modules/crypto/tinycrypt/lib/source/ecc.c.obj
    [29/220] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
    [30/220] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
    [31/220] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
    [32/220] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
    [33/220] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
    [34/220] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
    [35/220] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
    [36/220] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
    [37/220] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
    [38/220] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
    [39/220] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
    [40/220] Linking C static library zephyr\arch\common\libisr_tables.a
    [41/220] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
    [42/220] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
    [43/220] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
    [44/220] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
    [45/220] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
    [46/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
    [47/220] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_mpu.c.obj
    [48/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
    [49/220] Linking C static library zephyr\arch\arch\arm\core\aarch32\libarch__arm__core__aarch32.a
    [50/220] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
    [51/220] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj
    [52/220] Linking C static library zephyr\arch\common\libarch__common.a
    [53/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
    [54/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
    [55/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
    [56/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
    [57/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/qsort.c.obj
    [58/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
    [59/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
    [60/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
    [61/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
    [62/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
    [63/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
    [64/220] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\libarch__arm__core__aarch32__cortex_m.a
    [65/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
    [66/220] Linking C static library zephyr\arch\arch\arm\core\aarch32\mpu\libarch__arm__core__aarch32__mpu.a
    [67/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
    [68/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32c_sw.c.obj
    [69/220] Building C object CMakeFiles/app.dir/src/main.c.obj
    [70/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
    [71/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
    [72/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
    [73/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
    [74/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
    [75/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
    [76/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
    [77/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
    [78/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
    [79/220] Linking C static library app\libapp.a
    [80/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
    [81/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
    [82/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
    [83/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
    [84/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
    [85/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
    [86/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
    [87/220] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj
    [88/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
    [89/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
    [90/220] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
    [91/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
    [92/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
    [93/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
    [94/220] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
    [95/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map.c.obj
    [96/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
    [97/220] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
    [98/220] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
    [99/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map_layout.c.obj
    [100/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map_default.c.obj
    [101/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
    [102/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/addr.c.obj
    [103/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/buf.c.obj
    [104/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
    [105/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_common.c.obj
    [106/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_store.c.obj
    [107/220] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
    [108/220] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/nvs/nvs.c.obj
    [109/220] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
    [110/220] Building C object zephyr/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj
    [111/220] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/dummy.c.obj
    [112/220] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/log.c.obj
    [113/220] Building C object zephyr/soc/arm/nordic_nrf/nrf52/CMakeFiles/soc__arm__nordic_nrf__nrf52.dir/soc.c.obj
    [114/220] Building C object zephyr/soc/arm/nordic_nrf/nrf52/CMakeFiles/soc__arm__nordic_nrf__nrf52.dir/power.c.obj
    [115/220] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
    [116/220] Linking C static library zephyr\lib\libc\minimal\liblib__libc__minimal.a
    [117/220] Linking C static library zephyr\soc\arm\common\cortex_m\libsoc__arm__common__cortex_m.a
    [118/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/uuid.c.obj
    [119/220] Linking C static library zephyr\libzephyr.a
    [120/220] Linking C static library zephyr\lib\posix\liblib__posix.a
    [121/220] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/rpa.c.obj
    [122/220] Linking C static library zephyr\soc\arm\nordic_nrf\nrf52\libsoc__arm__nordic_nrf__nrf52.a
    [123/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/settings.c.obj
    [124/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_ecc.c.obj
    [125/220] Linking C static library zephyr\subsys\bluetooth\common\libsubsys__bluetooth__common.a
    [126/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/l2cap.c.obj
    [127/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/ecc.c.obj
    [128/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_core.c.obj
    [129/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/conn.c.obj
    [130/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/adv.c.obj
    [131/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/id.c.obj
    [132/220] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_entropy_device.c.obj
    [133/220] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
    [134/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/keys.c.obj
    [135/220] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj
    [136/220] Building C object modules/nrf/lib/dk_buttons_and_leds/CMakeFiles/..__nrf__lib__dk_buttons_and_leds.dir/dk_buttons_and_leds.c.obj
    [137/220] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_nrf.c.obj
    [138/220] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/buf.c.obj
    [139/220] Linking C static library zephyr\subsys\random\libsubsys__random.a
    [140/220] Linking C static library zephyr\drivers\console\libdrivers__console.a
    [141/220] Linking C static library zephyr\drivers\gpio\libdrivers__gpio.a
    [142/220] Linking C static library zephyr\drivers\clock_control\libdrivers__clock_control.a
    [143/220] Linking C static library modules\nrf\lib\dk_buttons_and_leds\lib..__nrf__lib__dk_buttons_and_leds.a
    [144/220] Linking C static library zephyr\subsys\net\libsubsys__net.a
    [145/220] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_page_layout.c.obj
    [146/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/att.c.obj
    [147/220] Building C object zephyr/drivers/entropy/CMakeFiles/drivers__entropy.dir/entropy_nrf5.c.obj
    [148/220] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
    [149/220] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/soc_flash_nrf.c.obj
    [150/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/gatt.c.obj
    [151/220] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uart.c.obj
    [152/220] Building C object modules/nrf/lib/multithreading_lock/CMakeFiles/..__nrf__lib__multithreading_lock.dir/multithreading_lock.c.obj
    [153/220] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/nrf_rtc_timer.c.obj
    [154/220] Building C object modules/nrf/lib/fatal_error/CMakeFiles/..__nrf__lib__fatal_error.dir/fatal_error.c.obj
    [155/220] Linking C static library zephyr\drivers\entropy\libdrivers__entropy.a
    [156/220] Building C object modules/nrf/subsys/bluetooth/controller/CMakeFiles/..__nrf__subsys__bluetooth__controller.dir/crypto.c.obj
    [157/220] Linking C static library zephyr\drivers\serial\libdrivers__serial.a
    [158/220] Linking C static library zephyr\drivers\flash\libdrivers__flash.a
    [159/220] Linking C static library modules\nrf\lib\multithreading_lock\lib..__nrf__lib__multithreading_lock.a
    [160/220] Linking C static library zephyr\drivers\timer\libdrivers__timer.a
    [161/220] Building C object modules/nrf/subsys/bluetooth/controller/CMakeFiles/..__nrf__subsys__bluetooth__controller.dir/hci_internal.c.obj
    [162/220] Linking C static library modules\nrf\lib\fatal_error\lib..__nrf__lib__fatal_error.a
    [163/220] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/smp.c.obj
    [164/220] Building C object modules/nrf/drivers/mpsl/clock_control/CMakeFiles/..__nrf__drivers__mpsl__clock_control.dir/nrfx_clock_mpsl.c.obj
    [165/220] Building C object modules/nrf/subsys/bluetooth/controller/CMakeFiles/..__nrf__subsys__bluetooth__controller.dir/hci_driver.c.obj
    [166/220] Building C object modules/nrf/subsys/mpsl/init/CMakeFiles/..__nrf__subsys__mpsl__init.dir/mpsl_init.c.obj
    [167/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
    [168/220] Building C object modules/nrf/drivers/mpsl/flash_sync/CMakeFiles/..__nrf__drivers__mpsl__flash_sync.dir/flash_sync_mpsl.c.obj
    [169/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
    [170/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
    [171/220] Linking C static library zephyr\subsys\bluetooth\host\libsubsys__bluetooth__host.a
    [172/220] Linking C static library modules\nrf\drivers\mpsl\clock_control\lib..__nrf__drivers__mpsl__clock_control.a
    [173/220] Linking C static library modules\nrf\subsys\mpsl\init\lib..__nrf__subsys__mpsl__init.a
    [174/220] Linking C static library modules\nrf\subsys\bluetooth\controller\lib..__nrf__subsys__bluetooth__controller.a
    [175/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
    [176/220] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/D_/nrf/v1.9.1/modules/hal/nordic/nrfx/mdk/system_nrf52833.c.obj
    [177/220] Linking C static library modules\nrf\drivers\mpsl\flash_sync\lib..__nrf__drivers__mpsl__flash_sync.a
    [178/220] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
    [179/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
    [180/220] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/D_/nrf/v1.9.1/modules/hal/nordic/nrfx/helpers/nrfx_flag32_allocator.c.obj
    [181/220] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/D_/nrf/v1.9.1/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
    [182/220] Building C object modules/segger/CMakeFiles/modules__segger.dir/SEGGER_RTT_zephyr.c.obj
    [183/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
    [184/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
    [185/220] Building C object modules/segger/CMakeFiles/modules__segger.dir/D_/nrf/v1.9.1/modules/debug/segger/SEGGER/SEGGER_RTT.c.obj
    [186/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
    [187/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
    [188/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
    [189/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
    [190/220] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/D_/nrf/v1.9.1/modules/hal/nordic/nrfx/drivers/src/nrfx_gpiote.c.obj
    [191/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
    [192/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
    [193/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
    [194/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
    [195/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
    [196/220] Linking C static library modules\segger\libmodules__segger.a
    [197/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
    [198/220] Linking C static library modules\hal_nordic\nrfx\libmodules__hal_nordic__nrfx.a
    [199/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
    [200/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
    [201/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/pipes.c.obj
    [202/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
    [203/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
    [204/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
    [205/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
    [206/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
    [207/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
    [208/220] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
    [209/220] Linking C static library zephyr\kernel\libkernel.a
    [210/220] Linking C executable zephyr\zephyr_pre0.elf

    [211/220] Generating dev_handles.c
    [212/220] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/misc/empty_file.c.obj
    [213/220] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/dev_handles.c.obj
    [214/220] Linking C executable zephyr\zephyr_pre1.elf

    [215/220] Generating linker.cmd
    [216/220] Generating isr_tables.c, isrList.bin
    [217/220] Building C object zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj
    [218/220] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj
    [219/220] Building C object zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj
    [220/220] Linking C executable zephyr\zephyr.elf
    Memory region Used Size Region Size %age Used
    FLASH: 173828 B 512 KB 33.16%
    SRAM: 26953 B 128 KB 20.56%
    IDT_LIST: 0 GB 2 KB 0.00%
    * Terminal will be reused by tasks, press any key to close it.

    * Executing task: nRF Connect: Build: peripheral_lbs_ble_dfu/build (active)

    Building peripheral_lbs_ble_dfu
    C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir d:\learning\Folder6\peripheral_lbs_ble_dfu\build d:\learning\Folder6\peripheral_lbs_ble_dfu"

    [0/1] Re-running CMake...
    Including boilerplate (Zephyr base (cached)): D:/nrf/v1.9.1/zephyr/cmake/app/boilerplate.cmake
    -- Application: D:/learning/Folder6/peripheral_lbs_ble_dfu
    -- Zephyr version: 2.7.99 (D:/nrf/v1.9.1/zephyr), build: v2.7.99-ncs1-1
    -- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
    -- Board: bl653_dvk
    -- Cache files will be written to: D:/nrf/v1.9.1/zephyr/.cache
    -- Found dtc: D:/nrf/v1.9.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (d:/nrf/v1.9.1/toolchain/opt)
    -- Found BOARD.dts: D:/nrf/v1.9.1/zephyr/boards/arm/bl653_dvk/bl653_dvk.dts
    -- Generated zephyr.dts: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/include/generated/device_extern.h
    -- Including generated dts.cmake file: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/dts.cmake
    Parsing D:/learning/Folder6/peripheral_lbs_ble_dfu/Kconfig
    Loaded configuration 'D:/nrf/v1.9.1/zephyr/boards/arm/bl653_dvk/bl653_dvk_defconfig'
    Merged configuration 'D:/learning/Folder6/peripheral_lbs_ble_dfu/prj.conf'
    Configuration saved to 'D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/.config'
    Kconfig header saved to 'D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/include/generated/autoconf.h'

    === child image mcuboot - begin ===
    loading initial cache file D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/child_image_preload.cmake
    Including boilerplate (Zephyr base): D:/nrf/v1.9.1/zephyr/cmake/app/boilerplate.cmake
    -- Application: D:/nrf/v1.9.1/bootloader/mcuboot/boot/zephyr
    -- Zephyr version: 2.7.99 (D:/nrf/v1.9.1/zephyr), build: v2.7.99-ncs1-1
    -- Found Python3: D:/nrf/v1.9.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
    -- Board: bl653_dvk
    -- Cache files will be written to: D:/nrf/v1.9.1/zephyr/.cache
    -- Found dtc: D:/nrf/v1.9.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (d:/nrf/v1.9.1/toolchain/opt)
    -- Found BOARD.dts: D:/nrf/v1.9.1/zephyr/boards/arm/bl653_dvk/bl653_dvk.dts
    -- Found devicetree overlay: D:/nrf/v1.9.1/nrf/modules/mcuboot/usb.overlay
    -- Found devicetree overlay: D:/nrf/v1.9.1/bootloader/mcuboot/boot/zephyr/dts.overlay
    -- Generated zephyr.dts: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/include/generated/device_extern.h
    -- Including generated dts.cmake file: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/dts.cmake

    warning: TEMP_NRF5 (defined at drivers/sensor/nrf5/Kconfig:13) has direct dependencies HAS_HW_NRF_TEMP && (MULTITHREADING || TEMP_NRF5_FORCE_ALT) && SENSOR with value n, but is currently being y-selected by the following symbols:
    - CLOCK_CONTROL_NRF_USES_TEMP_SENSOR (defined at drivers/clock_control/Kconfig.nrf:119), with value y, direct dependencies HAS_HW_NRF_TEMP && CLOCK_CONTROL_NRF_DRIVER_CALIBRATION && CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION && CLOCK_CONTROL_NRF && CLOCK_CONTROL (value: y), and select condition HAS_HW_NRF_TEMP && CLOCK_CONTROL_NRF_DRIVER_CALIBRATION && CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION && CLOCK_CONTROL_NRF && CLOCK_CONTROL (value: y)

    Parsing D:/nrf/v1.9.1/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration 'D:/nrf/v1.9.1/zephyr/boards/arm/bl653_dvk/bl653_dvk_defconfig'
    Merged configuration 'D:/nrf/v1.9.1/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration 'D:/nrf/v1.9.1/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Merged configuration 'D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
    error: Aborting due to Kconfig warnings

    CMake Error at D:/nrf/v1.9.1/zephyr/cmake/kconfig.cmake:272 (message):
    command failed with return code: 1
    Call Stack (most recent call first):
    D:/nrf/v1.9.1/zephyr/cmake/app/boilerplate.cmake:544 (include)
    D:/nrf/v1.9.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
    D:/nrf/v1.9.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
    CMakeLists.txt:44 (find_package)


    -- Configuring incomplete, errors occurred!
    CMake Error at D:/nrf/v1.9.1/nrf/cmake/multi_image.cmake:409 (message):
    CMake generation for mcuboot failed, aborting. Command: 1
    Call Stack (most recent call first):
    D:/nrf/v1.9.1/nrf/cmake/multi_image.cmake:150 (add_child_image_from_source)
    D:/nrf/v1.9.1/nrf/modules/mcuboot/CMakeLists.txt:216 (add_child_image)


    -- Configuring incomplete, errors occurred!
    See also "D:/learning/Folder6/peripheral_lbs_ble_dfu/build/CMakeFiles/CMakeOutput.log".
    See also "D:/learning/Folder6/peripheral_lbs_ble_dfu/build/CMakeFiles/CMakeError.log".
    FAILED: build.ninja
    D:\nrf\v1.9.1\toolchain\opt\bin\cmake.exe --regenerate-during-build -SD:\learning\Folder6\peripheral_lbs_ble_dfu -BD:\learning\Folder6\peripheral_lbs_ble_dfu\build
    ninja: error: rebuilding 'build.ninja': subcommand failed
    FATAL ERROR: command exited with status 1: 'd:\nrf\v1.9.1\toolchain\opt\bin\cmake.EXE' --build 'd:\learning\Folder6\peripheral_lbs_ble_dfu\build'

    * The terminal process terminated with exit code: 1.
    * Terminal will be reused by tasks, press any key to close it.

    * Executing task: nRF Connect: Build: peripheral_lbs_ble_dfu/build (active)

    Building peripheral_lbs_ble_dfu
    C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir d:\learning\Folder6\peripheral_lbs_ble_dfu\build d:\learning\Folder6\peripheral_lbs_ble_dfu"

    [0/1] Re-running CMake...
    Including boilerplate (Zephyr base (cached)): D:/nrf/v1.9.1/zephyr/cmake/app/boilerplate.cmake
    -- Application: D:/learning/Folder6/peripheral_lbs_ble_dfu
    -- Zephyr version: 2.7.99 (D:/nrf/v1.9.1/zephyr), build: v2.7.99-ncs1-1
    -- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
    -- Board: bl653_dvk
    -- Cache files will be written to: D:/nrf/v1.9.1/zephyr/.cache
    -- Found dtc: D:/nrf/v1.9.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (d:/nrf/v1.9.1/toolchain/opt)
    -- Found BOARD.dts: D:/nrf/v1.9.1/zephyr/boards/arm/bl653_dvk/bl653_dvk.dts
    -- Generated zephyr.dts: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/include/generated/device_extern.h
    -- Including generated dts.cmake file: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/dts.cmake
    Parsing D:/learning/Folder6/peripheral_lbs_ble_dfu/Kconfig
    Loaded configuration 'D:/nrf/v1.9.1/zephyr/boards/arm/bl653_dvk/bl653_dvk_defconfig'
    Merged configuration 'D:/learning/Folder6/peripheral_lbs_ble_dfu/prj.conf'
    Configuration saved to 'D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/.config'
    Kconfig header saved to 'D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/include/generated/autoconf.h'

    === child image mcuboot - begin ===
    loading initial cache file D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/child_image_preload.cmake
    Including boilerplate (Zephyr base (cached)): D:/nrf/v1.9.1/zephyr/cmake/app/boilerplate.cmake
    -- Application: D:/nrf/v1.9.1/bootloader/mcuboot/boot/zephyr
    -- Zephyr version: 2.7.99 (D:/nrf/v1.9.1/zephyr), build: v2.7.99-ncs1-1
    -- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
    -- Board: bl653_dvk
    -- Cache files will be written to: D:/nrf/v1.9.1/zephyr/.cache
    -- Found dtc: D:/nrf/v1.9.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (d:/nrf/v1.9.1/toolchain/opt)
    -- Found BOARD.dts: D:/nrf/v1.9.1/zephyr/boards/arm/bl653_dvk/bl653_dvk.dts
    -- Found devicetree overlay: D:/nrf/v1.9.1/nrf/modules/mcuboot/usb.overlay
    -- Found devicetree overlay: D:/nrf/v1.9.1/bootloader/mcuboot/boot/zephyr/dts.overlay
    -- Generated zephyr.dts: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/include/generated/device_extern.h
    -- Including generated dts.cmake file: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/dts.cmake
    Parsing D:/nrf/v1.9.1/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration 'D:/nrf/v1.9.1/zephyr/boards/arm/bl653_dvk/bl653_dvk_defconfig'
    Merged configuration 'D:/nrf/v1.9.1/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration 'D:/nrf/v1.9.1/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Merged configuration 'D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'

    warning: TEMP_NRF5 (defined at drivers/sensor/nrf5/Kconfig:13) has direct dependencies HAS_HW_NRF_TEMP && (MULTITHREADING || TEMP_NRF5_FORCE_ALT) && SENSOR with value n, but is currently being y-selected by the following symbols:
    - CLOCK_CONTROL_NRF_USES_TEMP_SENSOR (defined at drivers/clock_control/Kconfig.nrf:119), with value y, direct dependencies HAS_HW_NRF_TEMP && CLOCK_CONTROL_NRF_DRIVER_CALIBRATION && CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION && CLOCK_CONTROL_NRF && CLOCK_CONTROL (value: y), and select condition HAS_HW_NRF_TEMP && CLOCK_CONTROL_NRF_DRIVER_CALIBRATION && CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION && CLOCK_CONTROL_NRF && CLOCK_CONTROL (value: y)

    error: Aborting due to Kconfig warnings

    CMake Error at D:/nrf/v1.9.1/zephyr/cmake/kconfig.cmake:272 (message):
    command failed with return code: 1
    Call Stack (most recent call first):
    D:/nrf/v1.9.1/zephyr/cmake/app/boilerplate.cmake:544 (include)
    D:/nrf/v1.9.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
    D:/nrf/v1.9.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
    CMakeLists.txt:44 (find_package)


    -- Configuring incomplete, errors occurred!
    CMake Error at D:/nrf/v1.9.1/nrf/cmake/multi_image.cmake:409 (message):
    CMake generation for mcuboot failed, aborting. Command: 1
    Call Stack (most recent call first):
    D:/nrf/v1.9.1/nrf/cmake/multi_image.cmake:150 (add_child_image_from_source)
    D:/nrf/v1.9.1/nrf/modules/mcuboot/CMakeLists.txt:216 (add_child_image)


    -- Configuring incomplete, errors occurred!
    See also "D:/learning/Folder6/peripheral_lbs_ble_dfu/build/CMakeFiles/CMakeOutput.log".
    See also "D:/learning/Folder6/peripheral_lbs_ble_dfu/build/CMakeFiles/CMakeError.log".
    FAILED: build.ninja
    D:\nrf\v1.9.1\toolchain\opt\bin\cmake.exe --regenerate-during-build -SD:\learning\Folder6\peripheral_lbs_ble_dfu -BD:\learning\Folder6\peripheral_lbs_ble_dfu\build
    ninja: error: rebuilding 'build.ninja': subcommand failed
    FATAL ERROR: command exited with status 1: 'd:\nrf\v1.9.1\toolchain\opt\bin\cmake.EXE' --build 'd:\learning\Folder6\peripheral_lbs_ble_dfu\build'

    * The terminal process terminated with exit code: 1.
    * Terminal will be reused by tasks, press any key to close it.

    * Executing task: nRF Connect: Build [pristine]: peripheral_lbs_ble_dfu/build (active)

    Building peripheral_lbs_ble_dfu
    C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir d:\learning\Folder6\peripheral_lbs_ble_dfu\build d:\learning\Folder6\peripheral_lbs_ble_dfu --pristine --board bl653_dvk -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DBOARD_ROOT:STRING="d:/learning/Project5/peripheral_lbs_BLE_DFU;d:/learning/Folder6/peripheral_lbs_ble_dfu" -DCONF_FILE:STRING="d:/learning/Folder6/peripheral_lbs_ble_dfu/prj.conf""

    -- west build: generating a build system
    Including boilerplate (Zephyr base): D:/nrf/v1.9.1/zephyr/cmake/app/boilerplate.cmake
    -- Application: D:/learning/Folder6/peripheral_lbs_ble_dfu
    -- Zephyr version: 2.7.99 (D:/nrf/v1.9.1/zephyr), build: v2.7.99-ncs1-1
    -- Found Python3: D:/nrf/v1.9.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
    -- Board: bl653_dvk
    -- Cache files will be written to: D:/nrf/v1.9.1/zephyr/.cache
    -- Found dtc: D:/nrf/v1.9.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (d:/nrf/v1.9.1/toolchain/opt)
    -- Found BOARD.dts: D:/nrf/v1.9.1/zephyr/boards/arm/bl653_dvk/bl653_dvk.dts
    -- Generated zephyr.dts: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/include/generated/device_extern.h
    -- Including generated dts.cmake file: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/dts.cmake
    Parsing D:/learning/Folder6/peripheral_lbs_ble_dfu/Kconfig
    Loaded configuration 'D:/nrf/v1.9.1/zephyr/boards/arm/bl653_dvk/bl653_dvk_defconfig'
    Merged configuration 'd:/learning/Folder6/peripheral_lbs_ble_dfu/prj.conf'
    Configuration saved to 'D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/.config'
    Kconfig header saved to 'D:/learning/Folder6/peripheral_lbs_ble_dfu/build/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 9.2.1
    -- The CXX compiler identification is GNU 9.2.1
    -- The ASM compiler identification is GNU
    -- Found assembler: D:/nrf/v1.9.1/toolchain/opt/bin/arm-none-eabi-gcc.exe

    === child image mcuboot - begin ===
    loading initial cache file D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/child_image_preload.cmake
    -- Application: D:/nrf/v1.9.1/bootloader/mcuboot/boot/zephyr
    Including boilerplate (Zephyr base): D:/nrf/v1.9.1/zephyr/cmake/app/boilerplate.cmake
    -- Zephyr version: 2.7.99 (D:/nrf/v1.9.1/zephyr), build: v2.7.99-ncs1-1
    -- Found Python3: D:/nrf/v1.9.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
    -- Board: bl653_dvk
    -- Cache files will be written to: D:/nrf/v1.9.1/zephyr/.cache
    -- Found dtc: D:/nrf/v1.9.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (d:/nrf/v1.9.1/toolchain/opt)
    -- Found BOARD.dts: D:/nrf/v1.9.1/zephyr/boards/arm/bl653_dvk/bl653_dvk.dts
    -- Found devicetree overlay: D:/nrf/v1.9.1/nrf/modules/mcuboot/usb.overlay
    -- Found devicetree overlay: D:/nrf/v1.9.1/bootloader/mcuboot/boot/zephyr/dts.overlay
    -- Generated zephyr.dts: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/include/generated/device_extern.h
    -- Including generated dts.cmake file: D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/dts.cmake

    warning: TEMP_NRF5 (defined at drivers/sensor/nrf5/Kconfig:13) has direct dependencies HAS_HW_NRF_TEMP && (MULTITHREADING || TEMP_NRF5_FORCE_ALT) && SENSOR with value n, but is currently being y-selected by the following symbols:
    Parsing D:/nrf/v1.9.1/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration 'D:/nrf/v1.9.1/zephyr/boards/arm/bl653_dvk/bl653_dvk_defconfig'
    Merged configuration 'D:/nrf/v1.9.1/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration 'D:/nrf/v1.9.1/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Merged configuration 'D:/learning/Folder6/peripheral_lbs_ble_dfu/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
    - CLOCK_CONTROL_NRF_USES_TEMP_SENSOR (defined at drivers/clock_control/Kconfig.nrf:119), with value y, direct dependencies HAS_HW_NRF_TEMP && CLOCK_CONTROL_NRF_DRIVER_CALIBRATION && CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION && CLOCK_CONTROL_NRF && CLOCK_CONTROL (value: y), and select condition HAS_HW_NRF_TEMP && CLOCK_CONTROL_NRF_DRIVER_CALIBRATION && CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION && CLOCK_CONTROL_NRF && CLOCK_CONTROL (value: y)

    error: Aborting due to Kconfig warnings

    CMake Error at D:/nrf/v1.9.1/zephyr/cmake/kconfig.cmake:272 (message):
    command failed with return code: 1
    Call Stack (most recent call first):
    D:/nrf/v1.9.1/zephyr/cmake/app/boilerplate.cmake:544 (include)
    D:/nrf/v1.9.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
    D:/nrf/v1.9.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
    CMakeLists.txt:44 (find_package)


    -- Configuring incomplete, errors occurred!
    CMake Error at D:/nrf/v1.9.1/nrf/cmake/multi_image.cmake:409 (message):
    CMake generation for mcuboot failed, aborting. Command: 1
    Call Stack (most recent call first):
    D:/nrf/v1.9.1/nrf/cmake/multi_image.cmake:150 (add_child_image_from_source)
    D:/nrf/v1.9.1/nrf/modules/mcuboot/CMakeLists.txt:216 (add_child_image)


    -- Configuring incomplete, errors occurred!
    See also "D:/learning/Folder6/peripheral_lbs_ble_dfu/build/CMakeFiles/CMakeOutput.log".
    See also "D:/learning/Folder6/peripheral_lbs_ble_dfu/build/CMakeFiles/CMakeError.log".
    FATAL ERROR: command exited with status 1: 'd:\nrf\v1.9.1\toolchain\opt\bin\cmake.EXE' '-DWEST_PYTHON=d:\nrf\v1.9.1\toolchain\opt\bin\python.exe' '-Bd:\learning\Folder6\peripheral_lbs_ble_dfu\build' '-Sd:\learning\Folder6\peripheral_lbs_ble_dfu' -GNinja -DBOARD=bl653_dvk -DNCS_TOOLCHAIN_VERSION:STRING=NONE '-DBOARD_ROOT:STRING=d:/learning/Project5/peripheral_lbs_BLE_DFU;d:/learning/Folder6/peripheral_lbs_ble_dfu' -DCONF_FILE:STRING=d:/learning/Folder6/peripheral_lbs_ble_dfu/prj.conf

    * The terminal process terminated with exit code: 1.
    * Terminal will be reused by tasks, press any key to close it.

  • Hi,

    You are changing the configuration of the application and not the bootloader when you add CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_MAX_SKIP=0 to your prj.conf.

    To apply this setting to the bootloader, you can create a new folder named 'child_image' and add your mcuboot configuration there.

    E.g.

    <project dir>
    ├── child_image
    │   └── mcuboot.conf
    ├── CMakeLists.txt
    ├── Kconfig
    ├── prj.conf
    ├── README.rst
    ├── sample.yaml
    └── src
    └── main.c

     

Reply
  • Hi,

    You are changing the configuration of the application and not the bootloader when you add CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_MAX_SKIP=0 to your prj.conf.

    To apply this setting to the bootloader, you can create a new folder named 'child_image' and add your mcuboot configuration there.

    E.g.

    <project dir>
    ├── child_image
    │   └── mcuboot.conf
    ├── CMakeLists.txt
    ├── Kconfig
    ├── prj.conf
    ├── README.rst
    ├── sample.yaml
    └── src
    └── main.c

     

Children
Related