BOARD: nrf9160_pca20035 (origin: CMakeCache.txt)
The cmake cache may have incorrect/outdated data, does west build have a parameter to force cmake to reconfigure ?
erasing the build folder often has the same effect.
I would look at the documentation for that project and see if you missed a step to produce the build file. For one of the projects I work on, Meson is used to produce the build file, then Ninja is used to build. Your project may handle this differently. But if you are meant to use ninja to build it, then somewhere, a build.ninja file must be created telling ninja how and what to build.
]]> west build -b nrf9160_pca20035 samples/bluetooth/hci_uart
I am greeted with an error of:
--west build: build configuration:
source directory: /home/rex/.zephyrproject/zephyr/samples/bluetooth/hci_uart
build directory: /home/rex/.zephyrproject/zephyr/build
BOARD: nrf9160_pca20035 (origin: CMakeCache.txt)
--west build: building application
ninja: error: loading 'build.ninja' : No such file or directory
ERROR: command exited with status 1: /usr/bin/cmake --build /home/rex/.zephyrproject/zephyr/build
I do not know where to begin here. I have made sure all the dependencies have been met and my system is up to date. Can anyone shed some light?
The tool chain and environment was set with:
export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
]]>