cannot create a new application an existing west workspace

Parents Reply Children
  • 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

  • Hi Øyvind:

    Thank you very much for your help.It succeed.

    I have another question. Is this NRF91 OTA? And how to use it OTA?

  • john.liu said:
    Thank you very much for your help.It succeed.

    Happy to help!

    john.liu said:
    I have another question. Is this NRF91 OTA? And how to use it OTA?

    Could you please register a new ticket with that question, as it is out of scope for the original question. 

    Thanks!

    Kind regards,
    Øyvind

Related