Dear ,
I use toolchain Manager to install the whole project.
Would you teach me how to solve this ?
Dear ,
I use toolchain Manager to install the whole project.
Would you teach me how to solve this ?
Hello,
The error will present itself in the output tab in SES. Please provide details on what is failing and what project you are trying to run.
Kind regards,
Øyvind
Creating solution peripheral_lbs.emProject D:/Arrow/Nordic/nRF5340/v1.9.0/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf5340dk_nrf5340_cpuapp -DBOARD_DIR=D:\Arrow\Nordic\nRF5340\v1.9.0\zephyr\boards\arm\nrf5340dk_nrf5340 -BD:\Arrow\Nordic\nRF5340\v1.9.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp -SD:\Arrow\Nordic\nRF5340\v1.9.0\nrf\samples\bluetooth\peripheral_lbs -DNCS_TOOLCHAIN_VERSION=1.9.0 -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=D:\Arrow\Nordic\nRF5340\v1.9.0\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py -- Application: D:/Arrow/Nordic/nRF5340/v1.9.0/nrf/samples/bluetooth/peripheral_lbs -- Zephyr version: 2.7.99 (D:/Arrow/Nordic/nRF5340/v1.9.0/zephyr), build: v2.7.99-ncs1 -- Found Python3: D:/Arrow/Nordic/nRF5340/v1.9.0/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: nrf5340dk_nrf5340_cpuapp -- Cache files will be written to: D:/Arrow/Nordic/nRF5340/v1.9.0/zephyr/.cache -- Found dtc: D:/Arrow/Nordic/nRF5340/v1.9.0/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found toolchain: gnuarmemb (D:/Arrow/Nordic/nRF5340/v1.9.0/toolchain/opt) -- Found BOARD.dts: D:/Arrow/Nordic/nRF5340/v1.9.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts -- Generated zephyr.dts: D:/Arrow/Nordic/nRF5340/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: D:/Arrow/Nordic/nRF5340/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/zephyr/include/generated/devicetree_unfixed.h -- Generated device_extern.h: D:/Arrow/Nordic/nRF5340/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/zephyr/include/generated/device_extern.h -- Including generated dts.cmake file: D:/Arrow/Nordic/nRF5340/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/zephyr/dts.cmake Parsing D:/Arrow/Nordic/nRF5340/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/Kconfig Loaded configuration 'D:/Arrow/Nordic/nRF5340/v1.9.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig' Merged configuration 'D:/Arrow/Nordic/nRF5340/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/prj.conf' -- Configuring incomplete, errors occurred! Including boilerplate (Zephyr base): D:/Arrow/Nordic/nRF5340/v1.9.0/zephyr/cmake/app/boilerplate.cmake -- Using NCS Toolchain 1.9.0 for building. (D:/Arrow/Nordic/nRF5340/v1.9.0/toolchain/cmake) warning: the hex symbol NRF_MODEM_LIB_SHMEM_CTRL_SIZE (defined at D:/Arrow/Nordic/nRF5340/v1.9.0/nrf\lib\nrf_modem_lib\Kconfig.modemlib:97) has a non-hex default NRF_MODEM_SHMEM_CTRL_SIZE (undefined) warning: HAS_NORDIC_DRIVERS (defined at modules\hal_nordic\Kconfig:7) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols: - SOC_SERIES_NRF53X (defined at soc/arm/nordic_nrf\nrf53\Kconfig.series:6), with value y, direct dependencies <choice> (value: y), and select condition <choice> (value: y) warning: HAS_NRFX (defined at modules\hal_nordic\nrfx/Kconfig:4) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols: - SOC_SERIES_NRF53X (defined at soc/arm/nordic_nrf\nrf53\Kconfig.series:6), with value y, direct dependencies <choice> (value: y), and select condition <choice> (value: y) warning: NRFX_CLOCK (defined at modules\hal_nordic\nrfx/Kconfig:14) has direct dependencies HAS_HW_NRF_CLOCK && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols: - CLOCK_CONTROL_NRF (defined at drivers/clock_control/Kconfig.nrf:13), with value y, direct dependencies SOC_COMPATIBLE_NRF && CLOCK_CONTROL (value: y), and select condition !CLOCK_CONTROL_NRF_FORCE_ALT && SOC_COMPATIBLE_NRF && CLOCK_CONTROL (value: y) warning: NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED (defined at modules\hal_nordic\nrfx/Kconfig:18) has direct dependencies NRFX_CLOCK && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols: - CLOCK_CONTROL_NRF_K32SRC_XTAL (defined at drivers/clock_control/Kconfig.nrf:36), with value y, direct dependencies <choice CLOCK_CONTROL_NRF_SOURCE> (value: y), and select condition !SOC_SERIES_BSIM_NRFXX && !CLOCK_CONTROL_NRF_FORCE_ALT && <choice CLOCK_CONTROL_NRF_SOURCE> (value: y) warning: NRFX_DPPI (defined at modules\hal_nordic\nrfx/Kconfig:26, drivers/serial/Kconfig.nrfx:385) has direct dependencies (HAS_HW_NRF_DPPIC && HAS_NRFX && 0) || (HAS_HW_NRF_DPPIC && (UART_0_NRF_HW_ASYNC || UART_1_NRF_HW_ASYNC || UART_2_NRF_HW_ASYNC || UART_3_NRF_HW_ASYNC) && UART_NRFX && SERIAL) with value n, but is currently being y-selected by the following symbols: - UART_ENHANCED_POLL_OUT (defined at drivers/serial/Kconfig.nrfx:398), with value y, direct dependencies (UART_0_ENHANCED_POLL_OUT || UART_1_ENHANCED_POLL_OUT || UART_2_ENHANCED_POLL_OUT || UART_3_ENHANCED_POLL_OUT) && UART_NRFX && SERIAL (value: y), and select condition HAS_HW_NRF_DPPIC && (UART_0_ENHANCED_POLL_OUT || UART_1_ENHANCED_POLL_OUT || UART_2_ENHANCED_POLL_OUT || UART_3_ENHANCED_POLL_OUT) && UART_NRFX && SERIAL (value: y) warning: NRFX_GPIOTE (defined at modules\hal_nordic\nrfx/Kconfig:65) has direct dependencies HAS_HW_NRF_GPIOTE && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols: - GPIO_NRFX (defined at drivers/gpio/Kconfig.nrfx:4), with value y, direct dependencies SOC_FAMILY_NRF && GPIO (value: y), and select condition SOC_FAMILY_NRF && GPIO (value: y) warning: NRFX_IPC (defined at modules\hal_nordic\nrfx/Kconfig:81) has direct dependencies HAS_HW_NRF_IPC && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols: - IPM_NRFX (defined at D:/Arrow/Nordic/nRF5340/v1.9.0/zephyr/boards/arm/nrf5340dk_nrf5340/Kconfig:6, drivers/ipm/Kconfig:71), with value y, direct dependencies y (value: y), and select condition HAS_HW_NRF_IPC && IPM (value: y) warning: NRFX_NVMC (defined at modules\hal_nordic\nrfx/Kconfig:95) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols: - SOC_FLASH_NRF (defined at drivers/flash/Kconfig.nrf:10), with value y, direct dependencies SOC_FAMILY_NRF && !FLASH_NRF_FORCE_ALT && FLASH (value: y), and select condition SOC_FAMILY_NRF && !FLASH_NRF_FORCE_ALT && FLASH (value: y) error: Aborting due to Kconfig warnings CMake Error at D:/Arrow/Nordic/nRF5340/v1.9.0/zephyr/cmake/kconfig.cmake:272 (message): command failed with return code: 1 Call Stack (most recent call first): D:/Arrow/Nordic/nRF5340/v1.9.0/zephyr/cmake/app/boilerplate.cmake:544 (include) D:/Arrow/Nordic/nRF5340/v1.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) D:/Arrow/Nordic/nRF5340/v1.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:12 (find_package) error: cmake failed create_nordic_project.py failed (1)
Dear Øyvind,
I copied and pasted output for your reference.
Hello,
liujirong888 said:Would you let me know how to generate support information from the Command Pallette in VS Code?
This can be run in the command pallette of VS Code
Then type in the following in the command pallette
liujirong888 said:I copied and pasted output for your reference.
I'm not seeing these warnings on my side. Have you edited the project in any way? Specifically I don't understand the warning on NRF_MODEM_LIB_SHMEM_CTRL_SIZE, which is not used in this sample.
Here is the output from my SES, building untouched peripheral_lbs.
Creating solution peripheral_lbs.emProject C:/NordicSemi/v1.9.0/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf5340dk_nrf5340_cpuapp -DBOARD_DIR=C:\NordicSemi\v1.9.0\zephyr\boards\arm\nrf5340dk_nrf5340 -BC:\NordicSemi\v1.9.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp -SC:\NordicSemi\v1.9.0\nrf\samples\bluetooth\peripheral_lbs -DNCS_TOOLCHAIN_VERSION=1.9.0 -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:\NordicSemi\v1.9.0\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py -- Application: C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs -- Zephyr version: 2.7.99 (C:/NordicSemi/v1.9.0/zephyr), build: v2.7.99-ncs1 -- Found Python3: C:/NordicSemi/v1.9.0/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: nrf5340dk_nrf5340_cpuapp -- Cache files will be written to: C:/NordicSemi/v1.9.0/zephyr/.cache -- Found dtc: C:/NordicSemi/v1.9.0/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found toolchain: gnuarmemb (C:/NordicSemi/v1.9.0/toolchain/opt) -- Found BOARD.dts: C:/NordicSemi/v1.9.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts -- Generated zephyr.dts: C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/zephyr/include/generated/devicetree_unfixed.h -- Generated device_extern.h: C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/zephyr/include/generated/device_extern.h -- Including generated dts.cmake file: C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/zephyr/dts.cmake Parsing C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/Kconfig Loaded configuration 'C:/NordicSemi/v1.9.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig' Merged configuration 'C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/prj.conf' Configuration saved to 'C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/zephyr/.config' Kconfig header saved to 'C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/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: C:/NordicSemi/v1.9.0/toolchain/opt/bin/arm-none-eabi-gcc.exe loading initial cache file C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/hci_rpmsg/child_image_preload.cmake -- Application: C:/NordicSemi/v1.9.0/zephyr/samples/bluetooth/hci_rpmsg -- Zephyr version: 2.7.99 (C:/NordicSemi/v1.9.0/zephyr), build: v2.7.99-ncs1 -- Found Python3: C:/NordicSemi/v1.9.0/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: nrf5340dk_nrf5340_cpunet -- Cache files will be written to: C:/NordicSemi/v1.9.0/zephyr/.cache -- Found dtc: C:/NordicSemi/v1.9.0/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found toolchain: gnuarmemb (C:/NordicSemi/v1.9.0/toolchain/opt) -- Found BOARD.dts: C:/NordicSemi/v1.9.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts -- Generated zephyr.dts: C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/hci_rpmsg/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/hci_rpmsg/zephyr/include/generated/devicetree_unfixed.h -- Generated device_extern.h: C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/hci_rpmsg/zephyr/include/generated/device_extern.h -- Including generated dts.cmake file: C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/hci_rpmsg/zephyr/dts.cmake Parsing C:/NordicSemi/v1.9.0/zephyr/Kconfig Loaded configuration 'C:/NordicSemi/v1.9.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig' Merged configuration 'C:/NordicSemi/v1.9.0/zephyr/samples/bluetooth/hci_rpmsg/prj.conf' Merged configuration 'C:/NordicSemi/v1.9.0/nrf/subsys/partition_manager/partition_manager_enabled.conf' Configuration saved to 'C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/hci_rpmsg/zephyr/.config' Kconfig header saved to 'C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/hci_rpmsg/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: C:/NordicSemi/v1.9.0/toolchain/opt/bin/arm-none-eabi-gcc.exe -- libmetal version: 1.1.0 (C:/NordicSemi/v1.9.0/zephyr/samples/bluetooth/hci_rpmsg) -- Looking for include file stdatomic.h -- Looking for include file stdatomic.h - found -- open-amp version: 1.1.0 (C:/NordicSemi/v1.9.0/modules/lib/open-amp/open-amp) -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Configuring done -- Generating done -- Build files have been written to: C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/hci_rpmsg -- libmetal version: 1.1.0 (C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs) -- Looking for include file stdatomic.h -- Looking for include file stdatomic.h - found -- open-amp version: 1.1.0 (C:/NordicSemi/v1.9.0/modules/lib/open-amp/open-amp) -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Configuring done -- Generating done -- Build files have been written to: C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp Including boilerplate (Zephyr base): C:/NordicSemi/v1.9.0/zephyr/cmake/app/boilerplate.cmake -- Using NCS Toolchain 1.9.0 for building. (C:/NordicSemi/v1.9.0/toolchain/cmake) C:\NordicSemi\v1.9.0\toolchain\opt\bin\arm-none-eabi-gdb.exe: warning: Couldn't determine a path for the index cache directory. === child image hci_rpmsg - CPUNET begin === CMake Warning (dev) at C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/hci_rpmsg/child_image_preload.cmake:11 (set): Syntax error in cmake code at C:/NordicSemi/v1.9.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf5340dk_nrf5340_cpuapp/hci_rpmsg/child_image_preload.cmake:11 when parsing string C:\NordicSemi\v1.9.0\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py Invalid escape sequence \N Policy CMP0010 is not set: Bad variable reference syntax is an error. Run "cmake --help-policy CMP0010" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. Including boilerplate (Zephyr base): C:/NordicSemi/v1.9.0/zephyr/cmake/app/boilerplate.cmake -- Using NCS Toolchain 1.9.0 for building. (C:/NordicSemi/v1.9.0/toolchain/cmake) C:\NordicSemi\v1.9.0\toolchain\opt\bin\arm-none-eabi-gdb.exe: warning: Couldn't determine a path for the index cache directory. -- Build type: -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: arm -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: arm -- C_FLAGS : -Wall -Wextra === child image hci_rpmsg - CPUNET end === -- Build type: -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: arm -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: arm -- C_FLAGS : -Wall -Wextra CMake Warning at C:/NordicSemi/v1.9.0/zephyr/CMakeLists.txt:1687 (message): __ASSERT() statements are globally ENABLED Loading solution peripheral_lbs.emProject Loading solution build.emProject Mapping project information Mapping project zephyr/merged.hex Mapping project C:/NordicSemi/v1.9.0/zephyr/include/dt-bindings/gpio/gpio.h Mapping project C:/NordicSemi/v1.9.0/zephyr/include/dt-bindings/i2c/i2c.h Mapping project C:/NordicSemi/v1.9.0/zephyr/include/dt-bindings/pinctrl/nrf-pinctrl.h Mapping project C:/NordicSemi/v1.9.0/zephyr/misc/empty_file.c Mapping project CMakeFiles/merged_domains_hex Mapping project CMakeFiles/merged_hex Mapping project all Mapping project app/libapp.a Mapping project cmake_object_order_depends_target_..__nrf__drivers__hw_cc310 Mapping project cmake_object_order_depends_target_..__nrf__lib__dk_buttons_and_leds Mapping project cmake_object_order_depends_target_..__nrf__lib__fatal_error Mapping project cmake_object_order_depends_target_app Mapping project cmake_object_order_depends_target_arch__arm__core__aarch32 Mapping project cmake_object_order_depends_target_arch__arm__core__aarch32__cortex_m Mapping project cmake_object_order_depends_target_arch__arm__core__aarch32__cortex_m__cmse Mapping project cmake_object_order_depends_target_arch__arm__core__aarch32__mpu Mapping project cmake_object_order_depends_target_arch__common Mapping project cmake_object_order_depends_target_boards__arm__nrf5340dk_nrf5340 Mapping project cmake_object_order_depends_target_drivers__bluetooth Mapping project cmake_object_order_depends_target_drivers__clock_control Mapping project cmake_object_order_depends_target_drivers__console Mapping project cmake_object_order_depends_target_drivers__flash Mapping project cmake_object_order_depends_target_drivers__gpio Mapping project cmake_object_order_depends_target_drivers__ipm Mapping project cmake_object_order_depends_target_drivers__serial Mapping project cmake_object_order_depends_target_drivers__timer Mapping project cmake_object_order_depends_target_isr_tables Mapping project cmake_object_order_depends_target_kernel Mapping project cmake_object_order_depends_target_lib__libc__minimal Mapping project cmake_object_order_depends_target_lib__posix Mapping project cmake_object_order_depends_target_metal Mapping project cmake_object_order_depends_target_modules__hal_nordic__nrfx Mapping project cmake_object_order_depends_target_offsets Mapping project cmake_object_order_depends_target_open_amp Mapping project cmake_object_order_depends_target_soc__arm__common__cortex_m Mapping project cmake_object_order_depends_target_subsys__bluetooth__common Mapping project cmake_object_order_depends_target_subsys__bluetooth__host Mapping project cmake_object_order_depends_target_subsys__net Mapping project cmake_object_order_depends_target_zephyr Mapping project cmake_object_order_depends_target_zephyr_final Mapping project cmake_object_order_depends_target_zephyr_pre0 Mapping project cmake_object_order_depends_target_zephyr_pre1 Mapping project hci_rpmsg/zephyr/merged_CPUNET.hex Mapping project hci_rpmsg/zephyr/zephyr.elf Mapping project hci_rpmsg/zephyr/zephyr.hex Mapping project merged_domains_hex Mapping project merged_hex Mapping project modules/CANopenNode/all Mapping project modules/TraceRecorder/all Mapping project modules/cddl-gen/all Mapping project modules/civetweb/all Mapping project modules/cjson/all Mapping project modules/cmsis/CMSIS/Core/all Mapping project modules/cmsis/CMSIS/all Mapping project modules/cmsis/all Mapping project modules/connectedhomeip/all Mapping project modules/fatfs/all Mapping project modules/hal_nordic/all Mapping project modules/hal_nordic/nrfx/all Mapping project modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a Mapping project modules/libmetal/all Mapping project modules/libmetal/libmetal/all Mapping project modules/libmetal/libmetal/lib/all Mapping project modules/libmetal/libmetal/lib/compiler/all Mapping project modules/libmetal/libmetal/lib/compiler/armcc/all Mapping project modules/libmetal/libmetal/lib/compiler/gcc/all Mapping project modules/libmetal/libmetal/lib/compiler/iar/all Mapping project modules/libmetal/libmetal/lib/libmetal.a Mapping project modules/libmetal/libmetal/lib/processor/all Mapping project modules/libmetal/libmetal/lib/processor/arm/all Mapping project modules/libmetal/libmetal/lib/system/all Mapping project modules/libmetal/libmetal/lib/system/zephyr/all Mapping project modules/libmetal/libmetal/lib/system/zephyr/arm/all Mapping project modules/littlefs/all Mapping project modules/loramac-node/all Mapping project modules/lvgl/all Mapping project modules/lz4/all Mapping project modules/mbedtls/all Mapping project modules/mcuboot/all Mapping project modules/mcuboot/boot/bootutil/zephyr/all Mapping project modules/memfault-firmware-sdk/all Mapping project modules/mipi-sys-t/all Mapping project modules/nanopb/all Mapping project modules/nrf/all Mapping project modules/nrf/drivers/all Mapping project modules/nrf/drivers/entropy/all Mapping project modules/nrf/drivers/flash/all Mapping project modules/nrf/drivers/gps/all Mapping project modules/nrf/drivers/hw_cc310/all Mapping project modules/nrf/drivers/hw_cc310/lib..__nrf__drivers__hw_cc310.a Mapping project modules/nrf/drivers/serial/all Mapping project modules/nrf/ext/all Mapping project modules/nrf/lib/all Mapping project modules/nrf/lib/bin/all Mapping project modules/nrf/lib/dk_buttons_and_leds/all Mapping project modules/nrf/lib/dk_buttons_and_leds/lib..__nrf__lib__dk_buttons_and_leds.a Mapping project modules/nrf/lib/fatal_error/all Mapping project modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a Mapping project modules/nrf/lib/flash_patch/all Mapping project modules/nrf/modules/all Mapping project modules/nrf/samples/CMakeFiles/hci_rpmsg_subimage Mapping project modules/nrf/samples/CMakeFiles/hci_rpmsg_subimage-complete Mapping project modules/nrf/samples/all Mapping project modules/nrf/samples/hci_rpmsg_subimage Mapping project modules/nrf/samples/hci_rpmsg_subimage-prefix/src/hci_rpmsg_subimage-stamp/hci_rpmsg_subimage-build Mapping project modules/nrf/samples/hci_rpmsg_subimage-prefix/src/hci_rpmsg_subimage-stamp/hci_rpmsg_subimage-configure Mapping project modules/nrf/samples/hci_rpmsg_subimage-prefix/src/hci_rpmsg_subimage-stamp/hci_rpmsg_subimage-done Mapping project modules/nrf/samples/hci_rpmsg_subimage-prefix/src/hci_rpmsg_subimage-stamp/hci_rpmsg_subimage-download Mapping project modules/nrf/samples/hci_rpmsg_subimage-prefix/src/hci_rpmsg_subimage-stamp/hci_rpmsg_subimage-install Mapping project modules/nrf/samples/hci_rpmsg_subimage-prefix/src/hci_rpmsg_subimage-stamp/hci_rpmsg_subimage-mkdir Mapping project modules/nrf/samples/hci_rpmsg_subimage-prefix/src/hci_rpmsg_subimage-stamp/hci_rpmsg_subimage-patch Mapping project modules/nrf/samples/hci_rpmsg_subimage-prefix/src/hci_rpmsg_subimage-stamp/hci_rpmsg_subimage-update Mapping project modules/nrf/subsys/all Mapping project modules/nrf/subsys/bluetooth/all Mapping project modules/nrf/subsys/bluetooth/services/all Mapping project modules/nrf/subsys/debug/all Mapping project modules/nrf/subsys/dfu/all Mapping project modules/nrf/subsys/net/all Mapping project modules/nrf/subsys/net/lib/all Mapping project modules/nrf/subsys/partition_manager/all Mapping project modules/nrf/tests/all Mapping project modules/nrf_hw_models/all Mapping project modules/nrfxlib/all Mapping project modules/nrfxlib/nrf_802154/all Mapping project modules/nrfxlib/nrfxlib/all Mapping project modules/nrfxlib/nrfxlib/crypto/all Mapping project modules/nrfxlib/nrfxlib/softdevice_controller/all Mapping project modules/open-amp/all Mapping project modules/open-amp/open-amp/all Mapping project modules/open-amp/open-amp/lib/all Mapping project modules/open-amp/open-amp/lib/libopen_amp.a Mapping project modules/open-amp/open-amp/lib/remoteproc/all Mapping project modules/open-amp/open-amp/lib/rpmsg/all Mapping project modules/open-amp/open-amp/lib/virtio/all Mapping project modules/openthread/all Mapping project modules/segger/all Mapping project modules/st/all Mapping project modules/tinycbor/all Mapping project modules/tinycrypt/all Mapping project modules/tinycrypt/lib/all Mapping project modules/trusted-firmware-m/all Mapping project modules/zscilib/all Mapping project zephyr/CMakeFiles/driver_validation_h_target Mapping project zephyr/CMakeFiles/kobj_types_h_target Mapping project zephyr/CMakeFiles/linker_zephyr_final_script_target Mapping project zephyr/CMakeFiles/linker_zephyr_pre0_script Mapping project zephyr/CMakeFiles/linker_zephyr_prebuilt_script_target Mapping project zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj Mapping project zephyr/CMakeFiles/offsets_h Mapping project zephyr/CMakeFiles/parse_syscalls_target Mapping project zephyr/CMakeFiles/syscall_list_h_target Mapping project zephyr/all Mapping project zephyr/arch/all Mapping project zephyr/arch/arch/arm/all Mapping project zephyr/arch/arch/arm/core/aarch32/all Mapping project zephyr/arch/arch/arm/core/aarch32/cortex_m/all Mapping project zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/all Mapping project zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/libarch__arm__core__aarch32__cortex_m__cmse.a Mapping project zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a Mapping project zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a Mapping project zephyr/arch/arch/arm/core/aarch32/mpu/all Mapping project zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a Mapping project zephyr/arch/common/all Mapping project zephyr/arch/common/libarch__common.a Mapping project zephyr/arch/common/libisr_tables.a Mapping project zephyr/boards/all Mapping project zephyr/boards/boards/arm/nrf5340dk_nrf5340_cpuapp/all Mapping project zephyr/boards/boards/arm/nrf5340dk_nrf5340_cpuapp/libboards__arm__nrf5340dk_nrf5340.a Mapping project zephyr/cmake/flash/all Mapping project zephyr/cmake/reports/all Mapping project zephyr/cmake/usage/all Mapping project zephyr/dev_handles.c Mapping project zephyr/driver_validation_h_target Mapping project zephyr/drivers/all Mapping project zephyr/drivers/bluetooth/all Mapping project zephyr/drivers/bluetooth/hci/all Mapping project zephyr/drivers/bluetooth/libdrivers__bluetooth.a Mapping project zephyr/drivers/clock_control/all Mapping project zephyr/drivers/clock_control/libdrivers__clock_control.a Mapping project zephyr/drivers/console/all Mapping project zephyr/drivers/console/libdrivers__console.a Mapping project zephyr/drivers/disk/all Mapping project zephyr/drivers/flash/all Mapping project zephyr/drivers/flash/libdrivers__flash.a Mapping project zephyr/drivers/gpio/all Mapping project zephyr/drivers/gpio/libdrivers__gpio.a Mapping project zephyr/drivers/interrupt_controller/all Mapping project zephyr/drivers/ipm/all Mapping project zephyr/drivers/ipm/libdrivers__ipm.a Mapping project zephyr/drivers/misc/all Mapping project zephyr/drivers/pcie/all Mapping project zephyr/drivers/serial/all Mapping project zephyr/drivers/serial/libdrivers__serial.a Mapping project zephyr/drivers/timer/all Mapping project zephyr/drivers/timer/libdrivers__timer.a Mapping project zephyr/drivers/usb/all Mapping project zephyr/include/generated/autoconf.h Mapping project zephyr/include/generated/driver-validation.h Mapping project zephyr/include/generated/kobj-types-enum.h Mapping project zephyr/include/generated/offsets.h Mapping project zephyr/include/generated/otype-to-size.h Mapping project zephyr/include/generated/otype-to-str.h Mapping project zephyr/include/generated/syscall_dispatch.c Mapping project zephyr/include/generated/syscall_list.h Mapping project zephyr/isrList.bin Mapping project zephyr/isr_tables.c Mapping project zephyr/kernel/all Mapping project zephyr/kernel/libkernel.a Mapping project zephyr/kobj_types_h_target Mapping project zephyr/lib/all Mapping project zephyr/lib/gui/all Mapping project zephyr/lib/libc/all Mapping project zephyr/lib/libc/minimal/all Mapping project zephyr/lib/libc/minimal/liblib__libc__minimal.a Mapping project zephyr/lib/open-amp/all Mapping project zephyr/lib/os/all Mapping project zephyr/lib/posix/all Mapping project zephyr/lib/posix/liblib__posix.a Mapping project zephyr/lib/util/all Mapping project zephyr/libzephyr.a Mapping project zephyr/linker.cmd Mapping project zephyr/linker_zephyr_final_script_target Mapping project zephyr/linker_zephyr_pre0.cmd Mapping project zephyr/linker_zephyr_pre0_script Mapping project zephyr/linker_zephyr_pre1.cmd Mapping project zephyr/linker_zephyr_prebuilt_script_target Mapping project zephyr/merged.hex Mapping project zephyr/merged_domains.hex Mapping project zephyr/misc/generated/struct_tags.json Mapping project zephyr/misc/generated/syscalls.json Mapping project zephyr/offsets Mapping project zephyr/offsets_h Mapping project zephyr/parse_syscalls_target Mapping project zephyr/soc/arm/all Mapping project zephyr/soc/arm/common/cortex_m/all Mapping project zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a Mapping project zephyr/soc/arm/nordic_nrf/all Mapping project zephyr/soc/arm/nordic_nrf/common/all Mapping project zephyr/soc/arm/nordic_nrf/nrf53/all Mapping project zephyr/subsys/all Mapping project zephyr/subsys/bluetooth/all Mapping project zephyr/subsys/bluetooth/common/all Mapping project zephyr/subsys/bluetooth/common/libsubsys__bluetooth__common.a Mapping project zephyr/subsys/bluetooth/host/all Mapping project zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a Mapping project zephyr/subsys/bluetooth/services/all Mapping project zephyr/subsys/canbus/all Mapping project zephyr/subsys/debug/all Mapping project zephyr/subsys/fb/all Mapping project zephyr/subsys/fs/all Mapping project zephyr/subsys/fs/nvs/all Mapping project zephyr/subsys/ipc/all Mapping project zephyr/subsys/ipc/rpmsg_service/all Mapping project zephyr/subsys/logging/all Mapping project zephyr/subsys/mgmt/all Mapping project zephyr/subsys/modbus/all Mapping project zephyr/subsys/net/all Mapping project zephyr/subsys/net/lib/all Mapping project zephyr/subsys/net/lib/utils/all Mapping project zephyr/subsys/net/libsubsys__net.a Mapping project zephyr/subsys/pm/all Mapping project zephyr/subsys/pm/policy/all Mapping project zephyr/subsys/portability/all Mapping project zephyr/subsys/random/all Mapping project zephyr/subsys/settings/all Mapping project zephyr/subsys/settings/src/all Mapping project zephyr/subsys/stats/all Mapping project zephyr/subsys/storage/all Mapping project zephyr/subsys/storage/flash_map/all Mapping project zephyr/subsys/task_wdt/all Mapping project zephyr/subsys/testsuite/all Mapping project zephyr/subsys/tracing/all Mapping project zephyr/syscall_list_h_target Mapping project zephyr/zephyr.elf Mapping project zephyr/zephyr.hex Mapping project zephyr/zephyr_generated_headers Mapping project zephyr/zephyr_pre0.elf Mapping project zephyr/zephyr_pre1.elf Preparing solution ‘peripheral_lbs’ Preparing project ‘zephyr/merged.hex’ Preparing solution ‘build’ Preparing project ‘all’ Preparing project ‘app/libapp.a’ Preparing project ‘modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a’ Preparing project ‘modules/libmetal/libmetal/lib/libmetal.a’ Preparing project ‘modules/nrf/drivers/hw_cc310/lib..__nrf__drivers__hw_cc310.a’ Preparing project ‘modules/nrf/lib/dk_buttons_and_leds/lib..__nrf__lib__dk_buttons_and_leds.a’ Preparing project ‘modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a’ Preparing project ‘modules/open-amp/open-amp/lib/libopen_amp.a’ Preparing project ‘zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj’ Preparing project ‘zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/libarch__arm__core__aarch32__cortex_m__cmse.a’ Preparing project ‘zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a’ Preparing project ‘zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a’ Preparing project ‘zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a’ Preparing project ‘zephyr/arch/common/libarch__common.a’ Preparing project ‘zephyr/arch/common/libisr_tables.a’ Preparing project ‘zephyr/boards/boards/arm/nrf5340dk_nrf5340_cpuapp/libboards__arm__nrf5340dk_nrf5340.a’ Preparing project ‘zephyr/drivers/bluetooth/libdrivers__bluetooth.a’ Preparing project ‘zephyr/drivers/clock_control/libdrivers__clock_control.a’ Preparing project ‘zephyr/drivers/console/libdrivers__console.a’ Preparing project ‘zephyr/drivers/flash/libdrivers__flash.a’ Preparing project ‘zephyr/drivers/gpio/libdrivers__gpio.a’ Preparing project ‘zephyr/drivers/ipm/libdrivers__ipm.a’ Preparing project ‘zephyr/drivers/serial/libdrivers__serial.a’ Preparing project ‘zephyr/drivers/timer/libdrivers__timer.a’ Preparing project ‘zephyr/kernel/libkernel.a’ Preparing project ‘zephyr/lib/libc/minimal/liblib__libc__minimal.a’ Preparing project ‘zephyr/lib/posix/liblib__posix.a’ Preparing project ‘zephyr/libzephyr.a’ Preparing project ‘zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a’ Preparing project ‘zephyr/subsys/bluetooth/common/libsubsys__bluetooth__common.a’ Preparing project ‘zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a’ Preparing project ‘zephyr/subsys/net/libsubsys__net.a’ Preparing project ‘zephyr/zephyr.elf’ Preparing project ‘zephyr/zephyr_pre0.elf’ Preparing project ‘zephyr/zephyr_pre1.elf’ Restoring state from previous session Preparing to load data Loading session data from file SEGGER Embedded Studio is ready to us
Dear Øyvind,
of course, I didn't modified.
Attached generate support file for your reference.
[08:56:02] west build --build-dir c:\nRF5340\hello_world\build c:\nRF5340\hello_world
[08:56:04] Failure (code 1).
[08:59:29] west build --build-dir c:\nRF5340\hello_world\build c:\nRF5340\hello_world
[08:59:35] Failure (code 1).
[09:00:35] west build --build-dir c:\nRF5340\hello_world\build c:\nRF5340\hello_world
[09:00:41] Failure (code 1).
IMPORTANT: The data below could contain sensitive or confidential information about your environment.
If you do not wish this to be seen by others, please make sure to remove it before sharing.
For help and support, visit the Nordic DevZone at https://devzone.nordicsemi.com/.
{
"platform": {
"os": "win32",
"osVersion": "Windows 10 Home China",
"osKernel": "10.0.19042",
"vscode": "1.65.0",
"electron": "13.5.2",
"node": "v14.16.0"
},
"system": {
"date": "2022-03-08T01:02:55.806Z",
"vscodeRoot": "c:\\Users\\liuji\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
"nrfConnectForDesktopInstalled": true,
"vscodeUptime": "00:07:38",
"osUptime": "00:17:46",
"cpu": {
"model": "Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz",
"speed": "2304 MHz",
"count": 4
},
"memory": {
"total": "31.76 GB",
"free": "26.57 GB"
}
},
"workspace": {
"name": "无标题 (工作区)",
"workspaceFile": "1646697647418",
"folders": [
"c:\\nRF5340\\hello_world"
]
},
"extensions": {
"internal": {
"nordic-semiconductor.nrf-connect": {
"version": "2022.1.192",
"path": "c:\\Users\\liuji\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2022.1.192",
"isActive": true
},
"nordic-semiconductor.nrf-terminal": {
"version": "2022.1.30",
"path": "c:\\Users\\liuji\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2022.1.30",
"isActive": true
},
"nordic-semiconductor.devicetree": null,
"nordic-semiconductor.kconfig": null
},
"external": {
"marus25.cortex-debug": "1.2.2",
"ms-vscode.cpptools": "1.8.4",
"ms-vscode-remote.remote-wsl-recommender": "0.0.14",
"ms-vscode.js-debug": "1.65.0",
"ms-vscode.js-debug-companion": "1.0.15",
"ms-vscode.references-view": "0.0.85",
"ms-vscode.vscode-js-profile-table": "0.0.18",
"MS-CEINTL.vscode-language-pack-zh-hans": "1.65.1",
"trond-snekvik.gnu-mapfiles": "1.1.0",
"twxs.cmake": "0.0.17"
}
},
"tools": {
"C:\\Program Files (x86)\\SEGGER\\JLink\\JLink.exe": "7.58b",
"C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.15.3",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\cmake.exe": "3.17.3",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Scripts\\west.exe": "0.11.0",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\python.exe": "3.8.2",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\ninja.exe": "1.9.0",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\gperf.exe": "3.1",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\dtc.exe": "1.4.7",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\arm-none-eabi-gcc.exe": "9-2019-q4-major",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\gn.exe": "1930",
"c:\\ncs\\v1.6.1\\toolchain\\mingw64\\bin\\git.exe": "2.26.2.windows.1"
},
"connectedDevices": [],
"config": {
"nordic-semiconductor.nrf-connect": {
"topdir": "${nrf-connect.sdk:1.6.1}",
"toolchain": {
"path": "${nrf-connect.toolchain:1.6.1}"
},
"ozonePath": "",
"applications": [
"${workspaceFolder}"
],
"jlink": {
"rtosPlugin": ""
},
"kconfig": {
"interface": "kconfig"
},
"welcome": {
"showOnStartup": true
},
"west": {
"env": {
"$base": "terminal"
}
},
"boardRoots": [],
"enableTelemetry": true
},
"nordic-semiconductor.nrf-terminal": {
"terminalMode": "character"
},
"nordic-semiconductor.devicetree": {
"modules": [
"${zephyrBase}",
"${zephyrBase}/../nrf",
"."
],
"zephyr": "",
"ctxFile": "",
"defaultBoard": ""
},
"nordic-semiconductor.kconfig": {
"root": "",
"env": {},
"cfiles": true,
"disable": false,
"zephyr": {
"base": ""
},
"python": "",
"liveValue": true
},
"marus25.cortex-debug": {
"armToolchainPath": null,
"armToolchainPrefix": "arm-none-eabi",
"gdbPath": null,
"objdumpPath": null,
"JLinkGDBServerPath": null,
"openocdPath": null,
"pyocdPath": null,
"PEGDBServerPath": null,
"stutilPath": null,
"stlinkPath": null,
"stm32cubeprogrammer": null,
"enableTelemetry": true,
"flattenAnonymous": false,
"registerUseNaturalFormat": true,
"variableUseNaturalFormat": true,
"dbgServerLogfile": null,
"showDevDebugOutput": "none"
}
},
"environment": {
"westExe": "c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Scripts\\west.exe",
"westEnv": {
"ELECTRON_RUN_AS_NODE": "1",
"HOME": "C:\\Users\\liuji",
"HOMEDRIVE": "C:",
"HOMEPATH": "\\Users\\liuji",
"Path": "c:\\ncs\\v1.6.1\\toolchain\\mingw64\\bin;c:\\ncs\\v1.6.1\\toolchain\\mingw64\\libexec\\git-core;c:\\ncs\\v1.6.1\\toolchain\\opt\\bin;c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Scripts;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Users\\liuji\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\liuji\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
"ZEPHYR_BASE": "c:\\ncs\\v1.6.1\\zephyr",
"GNUARMEMB_TOOLCHAIN_PATH": "c:\\ncs\\v1.6.1\\toolchain\\opt",
"ZEPHYR_TOOLCHAIN_VARIANT": "gnuarmemb",
"PYTHONPATH": "c:\\ncs\\v1.6.1\\toolchain\\opt\\bin;c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Lib;c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Lib\\site-packages",
"Python3_ROOT": "c:\\ncs\\v1.6.1\\toolchain\\opt\\bin"
},
"toolchainPath": "c:\\ncs\\v1.6.1\\toolchain",
"toolchainBinPath": "c:\\ncs\\v1.6.1\\toolchain\\opt\\bin",
"toolchainVersion": "1.6.1"
},
"terminal": {
"shell": null,
"defaultProfile": null
}
}
[08:56:02] west build --build-dir c:\nRF5340\hello_world\build c:\nRF5340\hello_world
[08:56:04] Failure (code 1).
[08:59:29] west build --build-dir c:\nRF5340\hello_world\build c:\nRF5340\hello_world
[08:59:35] Failure (code 1).
[09:00:35] west build --build-dir c:\nRF5340\hello_world\build c:\nRF5340\hello_world
[09:00:41] Failure (code 1).
IMPORTANT: The data below could contain sensitive or confidential information about your environment.
If you do not wish this to be seen by others, please make sure to remove it before sharing.
For help and support, visit the Nordic DevZone at https://devzone.nordicsemi.com/.
{
"platform": {
"os": "win32",
"osVersion": "Windows 10 Home China",
"osKernel": "10.0.19042",
"vscode": "1.65.0",
"electron": "13.5.2",
"node": "v14.16.0"
},
"system": {
"date": "2022-03-08T01:02:55.806Z",
"vscodeRoot": "c:\\Users\\liuji\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
"nrfConnectForDesktopInstalled": true,
"vscodeUptime": "00:07:38",
"osUptime": "00:17:46",
"cpu": {
"model": "Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz",
"speed": "2304 MHz",
"count": 4
},
"memory": {
"total": "31.76 GB",
"free": "26.57 GB"
}
},
"workspace": {
"name": "无标题 (工作区)",
"workspaceFile": "1646697647418",
"folders": [
"c:\\nRF5340\\hello_world"
]
},
"extensions": {
"internal": {
"nordic-semiconductor.nrf-connect": {
"version": "2022.1.192",
"path": "c:\\Users\\liuji\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2022.1.192",
"isActive": true
},
"nordic-semiconductor.nrf-terminal": {
"version": "2022.1.30",
"path": "c:\\Users\\liuji\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2022.1.30",
"isActive": true
},
"nordic-semiconductor.devicetree": null,
"nordic-semiconductor.kconfig": null
},
"external": {
"marus25.cortex-debug": "1.2.2",
"ms-vscode.cpptools": "1.8.4",
"ms-vscode-remote.remote-wsl-recommender": "0.0.14",
"ms-vscode.js-debug": "1.65.0",
"ms-vscode.js-debug-companion": "1.0.15",
"ms-vscode.references-view": "0.0.85",
"ms-vscode.vscode-js-profile-table": "0.0.18",
"MS-CEINTL.vscode-language-pack-zh-hans": "1.65.1",
"trond-snekvik.gnu-mapfiles": "1.1.0",
"twxs.cmake": "0.0.17"
}
},
"tools": {
"C:\\Program Files (x86)\\SEGGER\\JLink\\JLink.exe": "7.58b",
"C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.15.3",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\cmake.exe": "3.17.3",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Scripts\\west.exe": "0.11.0",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\python.exe": "3.8.2",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\ninja.exe": "1.9.0",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\gperf.exe": "3.1",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\dtc.exe": "1.4.7",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\arm-none-eabi-gcc.exe": "9-2019-q4-major",
"c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\gn.exe": "1930",
"c:\\ncs\\v1.6.1\\toolchain\\mingw64\\bin\\git.exe": "2.26.2.windows.1"
},
"connectedDevices": [],
"config": {
"nordic-semiconductor.nrf-connect": {
"topdir": "${nrf-connect.sdk:1.6.1}",
"toolchain": {
"path": "${nrf-connect.toolchain:1.6.1}"
},
"ozonePath": "",
"applications": [
"${workspaceFolder}"
],
"jlink": {
"rtosPlugin": ""
},
"kconfig": {
"interface": "kconfig"
},
"welcome": {
"showOnStartup": true
},
"west": {
"env": {
"$base": "terminal"
}
},
"boardRoots": [],
"enableTelemetry": true
},
"nordic-semiconductor.nrf-terminal": {
"terminalMode": "character"
},
"nordic-semiconductor.devicetree": {
"modules": [
"${zephyrBase}",
"${zephyrBase}/../nrf",
"."
],
"zephyr": "",
"ctxFile": "",
"defaultBoard": ""
},
"nordic-semiconductor.kconfig": {
"root": "",
"env": {},
"cfiles": true,
"disable": false,
"zephyr": {
"base": ""
},
"python": "",
"liveValue": true
},
"marus25.cortex-debug": {
"armToolchainPath": null,
"armToolchainPrefix": "arm-none-eabi",
"gdbPath": null,
"objdumpPath": null,
"JLinkGDBServerPath": null,
"openocdPath": null,
"pyocdPath": null,
"PEGDBServerPath": null,
"stutilPath": null,
"stlinkPath": null,
"stm32cubeprogrammer": null,
"enableTelemetry": true,
"flattenAnonymous": false,
"registerUseNaturalFormat": true,
"variableUseNaturalFormat": true,
"dbgServerLogfile": null,
"showDevDebugOutput": "none"
}
},
"environment": {
"westExe": "c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Scripts\\west.exe",
"westEnv": {
"ELECTRON_RUN_AS_NODE": "1",
"HOME": "C:\\Users\\liuji",
"HOMEDRIVE": "C:",
"HOMEPATH": "\\Users\\liuji",
"Path": "c:\\ncs\\v1.6.1\\toolchain\\mingw64\\bin;c:\\ncs\\v1.6.1\\toolchain\\mingw64\\libexec\\git-core;c:\\ncs\\v1.6.1\\toolchain\\opt\\bin;c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Scripts;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Users\\liuji\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\liuji\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
"ZEPHYR_BASE": "c:\\ncs\\v1.6.1\\zephyr",
"GNUARMEMB_TOOLCHAIN_PATH": "c:\\ncs\\v1.6.1\\toolchain\\opt",
"ZEPHYR_TOOLCHAIN_VARIANT": "gnuarmemb",
"PYTHONPATH": "c:\\ncs\\v1.6.1\\toolchain\\opt\\bin;c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Lib;c:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Lib\\site-packages",
"Python3_ROOT": "c:\\ncs\\v1.6.1\\toolchain\\opt\\bin"
},
"toolchainPath": "c:\\ncs\\v1.6.1\\toolchain",
"toolchainBinPath": "c:\\ncs\\v1.6.1\\toolchain\\opt\\bin",
"toolchainVersion": "1.6.1"
},
"terminal": {
"shell": null,
"defaultProfile": null
}
}
[09:06:25] west build --build-dir c:\nRF5340\hello_world1\build c:\nRF5340\hello_world1 --pristine --board nrf52840dk_nrf52840 -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y
[09:06:43] Failure (code 1).
IMPORTANT: The data below could contain sensitive or confidential information about your environment.
If you do not wish this to be seen by others, please make sure to remove it before sharing.
For help and support, visit the Nordic DevZone at https://devzone.nordicsemi.com/.
{
"platform": {
"os": "win32",
"osVersion": "Windows 10 Home China",
"osKernel": "10.0.19042",
"vscode": "1.65.0",
"electron": "13.5.2",
"node": "v14.16.0"
},
"system": {
"date": "2022-03-08T01:09:14.660Z",
"vscodeRoot": "c:\\Users\\liuji\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
"nrfConnectForDesktopInstalled": true,
"vscodeUptime": "00:13:57",
"osUptime": "00:24:05",
"cpu": {
"model": "Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz",
"speed": "2304 MHz",
"count": 4
},
"memory": {
"total": "31.76 GB",
"free": "26.61 GB"
}
},
"workspace": {
"name": "无标题 (工作区)",
"workspaceFile": "1646697647418",
"folders": [
"c:\\nRF5340\\hello_world",
"c:\\nRF5340\\hello_world1"
]
},
"extensions": {
"internal": {
"nordic-semiconductor.nrf-connect": {
"version": "2022.1.192",
"path": "c:\\Users\\liuji\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2022.1.192",
"isActive": true
},
"nordic-semiconductor.nrf-terminal": {
"version": "2022.1.30",
"path": "c:\\Users\\liuji\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2022.1.30",
"isActive": true
},
"nordic-semiconductor.devicetree": null,
"nordic-semiconductor.kconfig": null
},
"external": {
"marus25.cortex-debug": "1.2.2",
"ms-vscode.cpptools": "1.8.4",
"ms-vscode-remote.remote-wsl-recommender": "0.0.14",
"ms-vscode.js-debug": "1.65.0",
"ms-vscode.js-debug-companion": "1.0.15",
"ms-vscode.references-view": "0.0.85",
"ms-vscode.vscode-js-profile-table": "0.0.18",
"cschlosser.doxdocgen": "1.4.0",
"jeff-hykin.better-cpp-syntax": "1.15.13",
"MS-CEINTL.vscode-language-pack-zh-hans": "1.65.1",
"ms-vscode-remote.remote-containers": "0.224.2",
"ms-vscode-remote.remote-ssh": "0.76.1",
"ms-vscode-remote.remote-ssh-edit": "0.76.1",
"ms-vscode-remote.remote-wsl": "0.64.2",
"ms-vscode.cmake-tools": "1.9.2",
"ms-vscode.cpptools-extension-pack": "1.1.0",
"ms-vscode.cpptools-themes": "1.0.0",
"trond-snekvik.gnu-mapfiles": "1.1.0",
"twxs.cmake": "0.0.17"
}
},
"tools": {
"C:\\Program Files (x86)\\SEGGER\\JLink\\JLink.exe": "7.58b",
"C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.15.3",
"d:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\cmake.exe": "3.17.3",
"d:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Scripts\\west.exe": "0.11.0",
"d:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\python.exe": "3.8.2",
"d:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\ninja.exe": "1.9.0",
"d:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\gperf.exe": "3.1",
"d:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\dtc.exe": "1.4.7",
"d:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\arm-none-eabi-gcc.exe": "9-2019-q4-major",
"d:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\gn.exe": "1930",
"d:\\ncs\\v1.6.1\\toolchain\\mingw64\\bin\\git.exe": "2.26.2.windows.1"
},
"connectedDevices": [],
"config": {
"nordic-semiconductor.nrf-connect": {
"topdir": "${nrf-connect.sdk:1.6.1}",
"toolchain": {
"path": "d:\\ncs\\v1.6.1\\toolchain"
},
"ozonePath": "",
"applications": [
"${workspaceFolder}",
"c:\\nRF5340\\hello_world1"
],
"jlink": {
"rtosPlugin": ""
},
"kconfig": {
"interface": "kconfig"
},
"welcome": {
"showOnStartup": true
},
"west": {
"env": {
"$base": "terminal"
}
},
"boardRoots": [],
"enableTelemetry": true
},
"nordic-semiconductor.nrf-terminal": {
"terminalMode": "character"
},
"nordic-semiconductor.devicetree": {
"modules": [
"${zephyrBase}",
"${zephyrBase}/../nrf",
"."
],
"zephyr": "",
"ctxFile": "",
"defaultBoard": ""
},
"nordic-semiconductor.kconfig": {
"root": "",
"env": {},
"cfiles": true,
"disable": false,
"zephyr": {
"base": ""
},
"python": "",
"liveValue": true
},
"marus25.cortex-debug": {
"armToolchainPath": null,
"armToolchainPrefix": "arm-none-eabi",
"gdbPath": null,
"objdumpPath": null,
"JLinkGDBServerPath": null,
"openocdPath": null,
"pyocdPath": null,
"PEGDBServerPath": null,
"stutilPath": null,
"stlinkPath": null,
"stm32cubeprogrammer": null,
"enableTelemetry": true,
"flattenAnonymous": false,
"registerUseNaturalFormat": true,
"variableUseNaturalFormat": true,
"dbgServerLogfile": null,
"showDevDebugOutput": "none"
}
},
"environment": {
"westExe": "d:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Scripts\\west.exe",
"westEnv": {
"ELECTRON_RUN_AS_NODE": "1",
"HOME": "C:\\Users\\liuji",
"HOMEDRIVE": "C:",
"HOMEPATH": "\\Users\\liuji",
"Path": "d:\\ncs\\v1.6.1\\toolchain\\mingw64\\bin;d:\\ncs\\v1.6.1\\toolchain\\mingw64\\libexec\\git-core;d:\\ncs\\v1.6.1\\toolchain\\opt\\bin;d:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Scripts;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Users\\liuji\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\liuji\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
"ZEPHYR_BASE": "c:\\ncs\\v1.6.1\\zephyr",
"GNUARMEMB_TOOLCHAIN_PATH": "d:\\ncs\\v1.6.1\\toolchain\\opt",
"ZEPHYR_TOOLCHAIN_VARIANT": "gnuarmemb",
"PYTHONPATH": "d:\\ncs\\v1.6.1\\toolchain\\opt\\bin;d:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Lib;d:\\ncs\\v1.6.1\\toolchain\\opt\\bin\\Lib\\site-packages",
"Python3_ROOT": "d:\\ncs\\v1.6.1\\toolchain\\opt\\bin"
},
"toolchainPath": "d:\\ncs\\v1.6.1\\toolchain",
"toolchainBinPath": "d:\\ncs\\v1.6.1\\toolchain\\opt\\bin",
"toolchainVersion": "1.6.1"
},
"terminal": {
"shell": null,
"defaultProfile": null
}
}
Dear
I re-install the windows10 and tried again using cmd.exe.
it show error below:
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=C:\Python310\python.exe' '-BC:\ncs\v1.6.1\zephyr\samples\basic\threads\build' '-SC:\ncs\v1.6.1\zephyr\samples\basic\threads' -GNinja
I also tried to use installing manually,but I found that I can't install GN meta-build system.
Becaues I can't open https://gn.googlesource.com/gn/#getting-a-binary in China.
This maybe the problem.
Hello,
I'm very confused at the moment.
The initial issue is building peripheral_lbs sample for the nRF5340DK. Correct?
In the beginning you were using v1.9.0 of the nRF Connect SDK, but last messages you have reverted to v1.6.1. Please elaborate.
liujirong888 said:I also tried to use installing manually,but I found that I can't install GN meta-build system.
Becaues I can't open https://gn.googlesource.com/gn/#getting-a-binary in China.
This is not needed in the peripheral_lbs sample.
liujirong888 said:FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=C:\Python310\python.exe' '-BC:\ncs\v1.6.1\zephyr\samples\basic\threads\build' '-SC:\ncs\v1.6.1\zephyr\samples\basic\threads' -GNinja
What samples did you try to build here? Please provide full build log.
Thanks.
Kind regards,
Øyvind
Dear ,
I found that v1.9.0 and v1.6.0 have same error.
both SDK I need to use.Attached build log for your reference.
C:\ncs\v1.6.1\nrf\samples\bluetooth\peripheral_lbs>west build -b nrf5340dk_nrf5340_cpuapp -- west build: generating a build system Including boilerplate (Zephyr base): C:/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake CMake Deprecation Warning at C:/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake:37 (cmake_policy): The OLD behavior for policy CMP0079 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): C:/ncs/v1.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) C:/ncs/v1.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:8 (find_package) -- Application: C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs -- Using NCS Toolchain 1.6.1 for building. (D:/ncs/v1.6.1/toolchain/cmake) -- Zephyr version: 2.6.0-rc1 (C:/ncs/v1.6.1/zephyr), build: v2.6.0-rc1-ncs1 -- Found Python3: D:/ncs/v1.6.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter -- Found west (found suitable version "0.11.0", minimum required is "0.7.1") -- Board: nrf5340dk_nrf5340_cpuapp -- Cache files will be written to: C:/ncs/v1.6.1/zephyr/.cache -- Found dtc: D:/ncs/v1.6.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found toolchain: gnuarmemb (D:/ncs/v1.6.1/toolchain/opt) -- Found BOARD.dts: C:/ncs/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts -- Generated zephyr.dts: C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/build/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/build/zephyr/include/generated/devicetree_unfixed.h -- Generated device_extern.h: C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/build/zephyr/include/generated/device_extern.h warning: the hex symbol NRF_MODEM_LIB_SHMEM_CTRL_SIZE (defined at C:/ncs/v1.6.1/nrf\lib\nrf_modem_lib/Kconfig:71) has a non-hex default NRF_MODEM_SHMEM_CTRL_SIZE (undefined) warning: MBEDTLS_SHA1_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls.defconfig:9, C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:1) defined without a type warning: MBEDTLS_SHA512_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:4) defined without a type warning: MBEDTLS_TLS_LIBRARY (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:9) defined without a type warning: MBEDTLS_X509_LIBRARY (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:12) defined without a type warning: MBEDTLS_DHM_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:18) defined without a type warning: MBEDTLS_ECP_C (defined at C:Parsing C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/Kconfig Loaded configuration 'C:/ncs/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig' Merged configuration 'C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/prj.conf' /ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:21) defined without a type warning: MBEDTLS_HMAC_DRBG_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:24) defined without a type warning: MBEDTLS_CIPHER_MODE_CBC (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:27) defined without a type warning: MBEDTLS_CIPHER_MODE_CTR (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:30) defined without a type warning: MBEDTLS_CMAC_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:33) defined without a type warning: MBEDTLS_CCM_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:36) defined without a type warning: MBEDTLS_GCM_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:39) defined without a type warning: MBEDTLS_CHACHA20_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:42) defined without a type warning: MBEDTLS_POLY1305_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:45) defined without a type warning: MBEDTLS_PSA_CRYPTO_STORAGE_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:48) defined without a type warning: <choice CC3XX_LOCK_VARIANT> (defined at C:/ncs/v1.6.1/nrf\subsys\net\openthread/Kconfig:66) defined with type unknown warning: <choice CC3XX_LOCK_VARIANT> (defined at C:/ncs/v1.6.1/nrf\subsys\net\openthread/Kconfig:66) defined without a prompt warning: the default selection CC3XX_ATOMIC_LOCK (undefined) of <choice CC3XX_LOCK_VARIANT> (defined at C:/ncs/v1.6.1/nrf\subsys\net\openthread/Kconfig:66) is not contained in the choice warning: the default selection CC3XX_HW_MUTEX_LOCK (undefined) of <choice CC3XX_LOCK_VARIANT> (defined at C:/ncs/v1.6.1/nrf\subsys\net\openthread/Kconfig:66) is not contained in the choice warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:/ncs/v1.6.1/nrf\modules\memfault/Kconfig:160) defined with type unknown warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:/ncs/v1.6.1/nrf\modules\memfault/Kconfig:160) defined without a prompt warning: the default selection MEMFAULT_HTTP_PERIODIC_UPLOAD_USE_DEDICATED_WORKQUEUE (undefined) of <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:/ncs/v1.6.1/nrf\modules\memfault/Kconfig:160) is not contained in the choice error: Aborting due to Kconfig warnings CMake Error at C:/ncs/v1.6.1/zephyr/cmake/kconfig.cmake:264 (message): command failed with return code: 1 Call Stack (most recent call first): C:/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake:555 (include) C:/ncs/v1.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) C:/ncs/v1.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:8 (find_package) -- Configuring incomplete, errors occurred! FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=C:\Python310\python.exe' '-BC:\ncs\v1.6.1\nrf\samples\bluetooth\peripheral_lbs\build' '-SC:\ncs\v1.6.1\nrf\samples\bluetooth\peripheral_lbs' -GNinja -DBOARD=nrf5340dk_nrf5340_cpuapp C:\ncs\v1.6.1\nrf\samples\bluetooth\peripheral_lbs>
Dear ,
I found that v1.9.0 and v1.6.0 have same error.
both SDK I need to use.Attached build log for your reference.
C:\ncs\v1.6.1\nrf\samples\bluetooth\peripheral_lbs>west build -b nrf5340dk_nrf5340_cpuapp -- west build: generating a build system Including boilerplate (Zephyr base): C:/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake CMake Deprecation Warning at C:/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake:37 (cmake_policy): The OLD behavior for policy CMP0079 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): C:/ncs/v1.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) C:/ncs/v1.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:8 (find_package) -- Application: C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs -- Using NCS Toolchain 1.6.1 for building. (D:/ncs/v1.6.1/toolchain/cmake) -- Zephyr version: 2.6.0-rc1 (C:/ncs/v1.6.1/zephyr), build: v2.6.0-rc1-ncs1 -- Found Python3: D:/ncs/v1.6.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter -- Found west (found suitable version "0.11.0", minimum required is "0.7.1") -- Board: nrf5340dk_nrf5340_cpuapp -- Cache files will be written to: C:/ncs/v1.6.1/zephyr/.cache -- Found dtc: D:/ncs/v1.6.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found toolchain: gnuarmemb (D:/ncs/v1.6.1/toolchain/opt) -- Found BOARD.dts: C:/ncs/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts -- Generated zephyr.dts: C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/build/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/build/zephyr/include/generated/devicetree_unfixed.h -- Generated device_extern.h: C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/build/zephyr/include/generated/device_extern.h warning: the hex symbol NRF_MODEM_LIB_SHMEM_CTRL_SIZE (defined at C:/ncs/v1.6.1/nrf\lib\nrf_modem_lib/Kconfig:71) has a non-hex default NRF_MODEM_SHMEM_CTRL_SIZE (undefined) warning: MBEDTLS_SHA1_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls.defconfig:9, C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:1) defined without a type warning: MBEDTLS_SHA512_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:4) defined without a type warning: MBEDTLS_TLS_LIBRARY (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:9) defined without a type warning: MBEDTLS_X509_LIBRARY (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:12) defined without a type warning: MBEDTLS_DHM_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:18) defined without a type warning: MBEDTLS_ECP_C (defined at C:Parsing C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/Kconfig Loaded configuration 'C:/ncs/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig' Merged configuration 'C:/ncs/v1.6.1/nrf/samples/bluetooth/peripheral_lbs/prj.conf' /ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:21) defined without a type warning: MBEDTLS_HMAC_DRBG_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:24) defined without a type warning: MBEDTLS_CIPHER_MODE_CBC (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:27) defined without a type warning: MBEDTLS_CIPHER_MODE_CTR (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:30) defined without a type warning: MBEDTLS_CMAC_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:33) defined without a type warning: MBEDTLS_CCM_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:36) defined without a type warning: MBEDTLS_GCM_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:39) defined without a type warning: MBEDTLS_CHACHA20_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:42) defined without a type warning: MBEDTLS_POLY1305_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:45) defined without a type warning: MBEDTLS_PSA_CRYPTO_STORAGE_C (defined at C:/ncs/v1.6.1/nrf/modules/trusted-firmware-m\Kconfig.mbedtls_minimal.defconfig:48) defined without a type warning: <choice CC3XX_LOCK_VARIANT> (defined at C:/ncs/v1.6.1/nrf\subsys\net\openthread/Kconfig:66) defined with type unknown warning: <choice CC3XX_LOCK_VARIANT> (defined at C:/ncs/v1.6.1/nrf\subsys\net\openthread/Kconfig:66) defined without a prompt warning: the default selection CC3XX_ATOMIC_LOCK (undefined) of <choice CC3XX_LOCK_VARIANT> (defined at C:/ncs/v1.6.1/nrf\subsys\net\openthread/Kconfig:66) is not contained in the choice warning: the default selection CC3XX_HW_MUTEX_LOCK (undefined) of <choice CC3XX_LOCK_VARIANT> (defined at C:/ncs/v1.6.1/nrf\subsys\net\openthread/Kconfig:66) is not contained in the choice warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:/ncs/v1.6.1/nrf\modules\memfault/Kconfig:160) defined with type unknown warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:/ncs/v1.6.1/nrf\modules\memfault/Kconfig:160) defined without a prompt warning: the default selection MEMFAULT_HTTP_PERIODIC_UPLOAD_USE_DEDICATED_WORKQUEUE (undefined) of <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:/ncs/v1.6.1/nrf\modules\memfault/Kconfig:160) is not contained in the choice error: Aborting due to Kconfig warnings CMake Error at C:/ncs/v1.6.1/zephyr/cmake/kconfig.cmake:264 (message): command failed with return code: 1 Call Stack (most recent call first): C:/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake:555 (include) C:/ncs/v1.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) C:/ncs/v1.6.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:8 (find_package) -- Configuring incomplete, errors occurred! FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=C:\Python310\python.exe' '-BC:\ncs\v1.6.1\nrf\samples\bluetooth\peripheral_lbs\build' '-SC:\ncs\v1.6.1\nrf\samples\bluetooth\peripheral_lbs' -GNinja -DBOARD=nrf5340dk_nrf5340_cpuapp C:\ncs\v1.6.1\nrf\samples\bluetooth\peripheral_lbs>