Recursive 'source' of 'Kconfig.zephyr' detected

I am working with the nRF5340 development board. I got the multicore example from the SDK to build without an issue. I then copied the source code and CMake scripts into a different directory so that I could try to develop my own simple application. I ran "west init" and "west update" to configure the new project. When I run "west build -b nrf5340dk_nrf5340_cpuapp", I get the error message shown below. I am assuming that I am missing a basic configuration option.

Parsing C:/GitHub/multicore/Kconfig
C:/GitHub/multicore/zephyr/scripts/kconfig/kconfig.py: C:/GitHub/multicore/zephyr/Kconfig:8: recursive 'source' of 'Kconfig.zephyr' detected. Check that environment variables are set correctly.
Include path:
C:/GitHub/multicore/Kconfig:7
Kconfig.zephyr:33
modules/Kconfig:6
C:/GitHub/multicore/build/Kconfig/Kconfig.modules:140
C:/GitHub/multicore/zephyr/Kconfig:8
CMake Error at zephyr/cmake/modules/kconfig.cmake:293 (message):
command failed with return code: 1
Call Stack (most recent call first):
zephyr/cmake/modules/zephyr_default.cmake:121 (include)
zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
CMakeLists.txt:11 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=C:\Python310\python.exe' '-BC:\GitHub\multicore\build' -GNinja -DBOARD=nrf5340dk_nrf5340_cpuapp '-SC:\GitHub\multicore'

Related