I have a custom board file which is based on nrf9160, I want to use it using the west build command and later flash it. I tried the steps under this tutorial: Nordic academy and used DBoardname in the build command but it is still failing. The error is as follows :
PS C:\Users\FutureLab\zephyrproject\zephyr> west build -b ciot_connectivity_boardns -- -DBOARD_ROOT="C:\Users\FutureLab\zephyrproject\zephyr\cellular-edge-sdk-master\boards\arm" cellular-edge-sdk-master/samples/getting_started -- west build: generating a build system Loading Zephyr default modules (Zephyr base (cached)). -- Application: C:/Users/FutureLab/zephyrproject/zephyr/cellular-edge-sdk-master/samples/getting_started -- CMake version: 3.28.0-rc1 -- Cache files will be written to: C:/Users/FutureLab/zephyrproject/zephyr/.cache -- Zephyr version: 3.6.99 (C:/Users/FutureLab/zephyrproject/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") CMake Warning at C:/Users/FutureLab/zephyrproject/zephyr/cmake/modules/boards.cmake:136 (message): BOARD_ROOT element without a 'boards' subdirectory: C:\Users\FutureLab\zephyrproject\zephyr\cellular-edge-sdk-master\boards\arm Hints: - if your board directory is '/foo/bar/boards/<ARCH>/my_board' then add '/foo/bar' to BOARD_ROOT, not the entire board directory - if in doubt, use absolute paths Call Stack (most recent call first): C:/Users/FutureLab/zephyrproject/zephyr/cmake/modules/zephyr_default.cmake:132 (include) C:/Users/FutureLab/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) C:/Users/FutureLab/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate) CMakeLists.txt:11 (find_package) No board named 'ciot_connectivity_boardns' found.is there something I am missing?
what else do I need do?
I already have the board files so I dont think there is any need to again use the custom baord option in VS code to create the board files again.