Hi
Im trying to build an application which has an out of tree driver for an i2c based sensor
i tried these steps, but it resulted in the following error
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: C:/Users/Public/vs_projects/ncs_sample_oot/my-workspace/example-application/app
-- CMake version: 3.26.4
-- Found Python3: C:/Users/NEEVEE TECH/AppData/Local/Programs/Python/Python311/python.exe (found suitable version "3.11.0", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: C:/Users/Public/vs_projects/ncs_sample_oot/my-workspace/zephyr/.cache
-- Zephyr version: 3.6.99 (C:/Users/Public/vs_projects/ncs_sample_oot/my-workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf52840dk, qualifiers: nrf52840
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
CMake Error at C:/Users/Public/vs_projects/ncs_sample_oot/my-workspace/zephyr/cmake/modules/FindZephyr-sdk.cmake:109 (find_package):
Could not find a package configuration file provided by "Zephyr-sdk"
(requested version 0.16) with any of the following names:
Zephyr-sdkConfig.cmake
zephyr-sdk-config.cmake
Add the installation prefix of "Zephyr-sdk" to CMAKE_PREFIX_PATH or set
"Zephyr-sdk_DIR" to a directory containing one of the above files. If
"Zephyr-sdk" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
C:/Users/Public/vs_projects/ncs_sample_oot/my-workspace/zephyr/cmake/modules/FindHostTools.cmake:53 (find_package)
C:/Users/Public/vs_projects/ncs_sample_oot/my-workspace/zephyr/cmake/modules/dts.cmake:9 (find_package)
C:/Users/Public/vs_projects/ncs_sample_oot/my-workspace/zephyr/cmake/modules/zephyr_default.cmake:132 (include)
C:/Users/Public/vs_projects/ncs_sample_oot/my-workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
C:/Users/Public/vs_projects/ncs_sample_oot/my-workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:8 (find_package)
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=C:/Users/NEEVEE TECH/AppData/Local/Programs/Python/Python311/python.exe' '-BC:\Users\Public\vs_projects\ncs_sample_oot\my-workspace\example-application\build' -GNinja -DBOARD=nrf52840dk/nrf52840 '-SC:\Users\Public\vs_projects\ncs_sample_oot\my-workspace\example-application\app'
what am i doing wrong here??
Kindly guide me through the oot driver developement