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

Thread CLI sample, file not found

i am using VS code, nrf Connect SDK version 1.7.0, nrf 5340 DK board. Attempting to run the CLI example. 

The Cmakelist.txt:

#
# Copyright (c) 2020 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
cmake_minimum_required(VERSION 3.20.0)

list(INSERT OVERLAY_CONFIG 0 ../common/overlay-ot-defaults.conf)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})

project(openthread_cli)

# NORDIC SDK APP START
target_sources(app PRIVATE src/main.c)
# NORDIC SDK APP END

target_sources_ifdef(CONFIG_BT app PRIVATE src/ble.c)

Issue:  File not found: C:/Nodic/Apps/CLI_Test/../common/overlay-ot-defaults.conf

Is this conf file the correct one to be used and if so where is it located?

  • Hi Robojoe,

    This sample depends on the common folder located in nrf\samples\openthread\common.

    For the new sample, you need to either copy the common folder to C:/Nodic/Apps/ or set its path to nrf\samples\openthread. VS Code nRF Extentions cannot do this automatically now.

    Best regards,

    Charlie

Related