cannot create a new application an existing west workspace

Parents Reply
  • Ok, so the current workaround for you is to edit the CMakeLists.txt in d:\nrf91\application_update to e.g.

    #
    # Copyright (c) 2019 Nordic Semiconductor
    #
    # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
    #
    
    cmake_minimum_required(VERSION 3.20.0)
    
    find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
    project(application_update)
    
    # NORDIC SDK APP START
    target_sources(app PRIVATE src/main.c)
    target_sources(app PRIVATE D:/NCS/v2.0.2/nrf/samples/nrf9160/http_update/common/src/update.c)
    target_include_directories(app PRIVATE D:/NCS/v2.0.2/nrf/samples/nrf9160/http_update/common/include)
    # NORDIC SDK APP END

    Plase make sure the path is correct.and then do a pristine build.

    Let me know how that works for you.

    Kind regards,
    Øyvind

Children
Related