nrf9160 ota hello_world

Hi:

I want to use hello_world example OTA nrf9160.

Reference application_update example.

How to use application_update?And How to modify hello_world into a file that can be used for OTA?

NCS:V2.1.2

Parents Reply
  • And CmakeLists.txt Config:

    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 C:/ncs/v2.1.2/nrf/samples/nrf9160/http_update/common/src/update.c)
    target_include_directories(app PRIVATE C:/ncs/v2.1.2/nrf/samples/nrf9160/http_update/common/include)
    # NORDIC SDK APP END
    

    I don't know if it matters.

Children
Related