This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Open solution failed after updated to SDK 1.7.1

Hi all,

I am using SES in Win10. After I updated my NCS to 1.7.1, I failed to open my solution. However, it runs succussfully in SDK 1.6.1. The infomation is below:

Creating solution peripheral_0822.emProject
D:/77/v1.7.1/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf5340dk_nrf5340_cpuapp -DBOARD_DIR=D:\77\v1.7.1\zephyr\boards\arm\nrf5340dk_nrf5340 -BD:\222\peripheral_0822\build_nrf5340dk_nrf5340_cpuapp -SD:\222\peripheral_0822 -DNCS_TOOLCHAIN_VERSION=1.7.1 -DDTC_OVERLAY_FILE=D:/222/peripheral_0822/nrf5340dk_nrf5340_cpuapp.overlay -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=D:\77\v1.7.1\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py
-- Application: D:/222/peripheral_0822
-- Zephyr version: 2.6.99 (D:/77/v1.7.1/zephyr), build: v2.6.99-ncs1-1
-- Found Python3: D:/77/v1.7.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
-- Found west (found suitable version "0.11.1", minimum required is "0.7.1")
-- Configuring incomplete, errors occurred!
Including boilerplate (Zephyr base): D:/77/v1.7.1/zephyr/cmake/app/boilerplate.cmake
-- Using NCS Toolchain 1.7.1 for building. (D:/77/v1.7.1/toolchain/cmake)
CMake Error at D:/77/v1.7.1/zephyr/cmake/zephyr_module.cmake:61 (message):
  Unmet or cyclic dependencies in modules:

  D:/77/v1.7.1/nrfxlib depends on: ['hal_nordic']

And I tried to open the example project such as "periphral_lbs", it failed again:

Creating solution peripheral_lbs.emProject
D:/77/v1.7.1/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf5340dk_nrf5340_cpuapp -DBOARD_DIR=D:\77\v1.7.1\zephyr\boards\arm\nrf5340dk_nrf5340 -BD:\77\v1.7.1\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp -SD:\77\v1.7.1\nrf\samples\bluetooth\peripheral_lbs -DNCS_TOOLCHAIN_VERSION=1.7.1 -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=D:\77\v1.7.1\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py
-- Application: D:/77/v1.7.1/nrf/samples/bluetooth/peripheral_lbs
-- Zephyr version: 2.6.99 (D:/77/v1.7.1/zephyr), build: v2.6.99-ncs1-1
-- Found Python3: D:/77/v1.7.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
-- Found west (found suitable version "0.11.1", minimum required is "0.7.1")
-- Configuring incomplete, errors occurred!
Including boilerplate (Zephyr base): D:/77/v1.7.1/zephyr/cmake/app/boilerplate.cmake
-- Using NCS Toolchain 1.7.1 for building. (D:/77/v1.7.1/toolchain/cmake)
CMake Error at D:/77/v1.7.1/zephyr/cmake/zephyr_module.cmake:61 (message):
  Unmet or cyclic dependencies in modules:

  D:/77/v1.7.1/nrfxlib depends on: ['hal_nordic']

I reinstall SDK 1.7.1 several times, such time I got the same result.

Any idea?

Parents
  • Hello!

    So if I've understood you correctly, it generally seems that everything building on ncs 1.7.1 returns this error? Both your own examples and ours, such as peripheral_lbs? And they all still work on NCS 1.6.1?

    Did install 1.7.1 on the same drive as 1.6.1? And did you install it using Toolchain Manager? 

    Could you try building it from command line with west?

    Best regards,

    Elfving

Reply
  • Hello!

    So if I've understood you correctly, it generally seems that everything building on ncs 1.7.1 returns this error? Both your own examples and ours, such as peripheral_lbs? And they all still work on NCS 1.6.1?

    Did install 1.7.1 on the same drive as 1.6.1? And did you install it using Toolchain Manager? 

    Could you try building it from command line with west?

    Best regards,

    Elfving

Children
No Data
Related