create_nordic_project.py failed(1)

Hello,

I am currently using nRF Connect SDK v1.7.1 with a nrf9160DK. I keep getting "create_nordic_project.py filed (1)" when I try to open a new project with a overlay file.  Same projects can be opened if I delete the overlay.  I tried pretty much all the solutions/suggestions from the devzone, but so far no luck.  This situation also happened when I was using v1.7.0.  I also tried reinstalling the SDK, but didn't work.  Did I miss anything?  Is there a procedure I have to follow in order to load in a overlay file?  Thank you.

Parents
  • I open hello_world without the overlay.  No problem there.  Then I add a overlay and Run CMake.  I have the following error.  This is a freshly installed SDK v1.7.1.  I believe this is the same error as I open hello_world with a overlay file.  What have I done wrong?

    Creating solution hello_world.emProject
    -- Application: C:/Users/flau/ncs/v1.7.1/zephyr/samples/hello_world
    -- Zephyr version: 2.6.99 (C:/Users/flau/ncs/v1.7.1/zephyr), build: v2.6.99-ncs1-1
    -- Found west (found suitable version "0.11.1", minimum required is "0.7.1")
    -- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0
    -- Cache files will be written to: C:/Users/flau/ncs/v1.7.1/zephyr/.cache
    -- Found dtc: C:/Users/flau/ncs/v1.7.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (C:/Users/flau/ncs/v1.7.1/toolchain/opt)
    -- Found BOARD.dts: C:/Users/flau/ncs/v1.7.1/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts
    -- Found devicetree overlay: C:/Users/flau/ncs/v1.7.1/zephyr/samples/hello_world/nrf9160dk_nrf9160_ns.overlay
    -- Configuring incomplete, errors occurred!
    See also "C:/Users/flau/ncs/v1.7.1/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/CMakeFiles/CMakeOutput.log".
    See also "C:/Users/flau/ncs/v1.7.1/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/CMakeFiles/CMakeError.log".
    Including boilerplate (Zephyr base (cached)): C:/Users/flau/ncs/v1.7.1/zephyr/cmake/app/boilerplate.cmake
    -- Using NCS Toolchain 1.7.1 for building. (C:/Users/flau/ncs/v1.7.1/toolchain/cmake)
    Error: nrf9160dk_nrf9160_ns.dts.pre.tmp:656.2-657.1 syntax error
    FATAL ERROR: Unable to parse input tree
    CMake Error at C:/Users/flau/ncs/v1.7.1/zephyr/cmake/dts.cmake:219 (message):
    command failed with return code: 1
    Call Stack (most recent call first):
    C:/Users/flau/ncs/v1.7.1/zephyr/cmake/app/boilerplate.cmake:553 (include)
    C:/Users/flau/ncs/v1.7.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
    C:/Users/flau/ncs/v1.7.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
    CMakeLists.txt:5 (find_package)

    error: cmake failed
    create_nordic_project.py failed (1)

Reply
  • I open hello_world without the overlay.  No problem there.  Then I add a overlay and Run CMake.  I have the following error.  This is a freshly installed SDK v1.7.1.  I believe this is the same error as I open hello_world with a overlay file.  What have I done wrong?

    Creating solution hello_world.emProject
    -- Application: C:/Users/flau/ncs/v1.7.1/zephyr/samples/hello_world
    -- Zephyr version: 2.6.99 (C:/Users/flau/ncs/v1.7.1/zephyr), build: v2.6.99-ncs1-1
    -- Found west (found suitable version "0.11.1", minimum required is "0.7.1")
    -- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0
    -- Cache files will be written to: C:/Users/flau/ncs/v1.7.1/zephyr/.cache
    -- Found dtc: C:/Users/flau/ncs/v1.7.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (C:/Users/flau/ncs/v1.7.1/toolchain/opt)
    -- Found BOARD.dts: C:/Users/flau/ncs/v1.7.1/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts
    -- Found devicetree overlay: C:/Users/flau/ncs/v1.7.1/zephyr/samples/hello_world/nrf9160dk_nrf9160_ns.overlay
    -- Configuring incomplete, errors occurred!
    See also "C:/Users/flau/ncs/v1.7.1/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/CMakeFiles/CMakeOutput.log".
    See also "C:/Users/flau/ncs/v1.7.1/zephyr/samples/hello_world/build_nrf9160dk_nrf9160_ns/CMakeFiles/CMakeError.log".
    Including boilerplate (Zephyr base (cached)): C:/Users/flau/ncs/v1.7.1/zephyr/cmake/app/boilerplate.cmake
    -- Using NCS Toolchain 1.7.1 for building. (C:/Users/flau/ncs/v1.7.1/toolchain/cmake)
    Error: nrf9160dk_nrf9160_ns.dts.pre.tmp:656.2-657.1 syntax error
    FATAL ERROR: Unable to parse input tree
    CMake Error at C:/Users/flau/ncs/v1.7.1/zephyr/cmake/dts.cmake:219 (message):
    command failed with return code: 1
    Call Stack (most recent call first):
    C:/Users/flau/ncs/v1.7.1/zephyr/cmake/app/boilerplate.cmake:553 (include)
    C:/Users/flau/ncs/v1.7.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
    C:/Users/flau/ncs/v1.7.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
    CMakeLists.txt:5 (find_package)

    error: cmake failed
    create_nordic_project.py failed (1)

Children
No Data
Related