Hi All,
I have downloaded nrf5_SDK_for_Mesh_v2.2.0_src and trying to build the LIGHT SWITCH example but when i try to compile iam getting lot errors attached the screen shot for the same please help to resolve this issue.
Thanks in advence,
PK
Hi All,
I have downloaded nrf5_SDK_for_Mesh_v2.2.0_src and trying to build the LIGHT SWITCH example but when i try to compile iam getting lot errors attached the screen shot for the same please help to resolve this issue.
Thanks in advence,
PK
Hi PK.
Have you included the files you are missing correctly? Have you done the first time setup for Mesh in Segger Embedded Studio?
- Andreas
Hello, You have to use nrf mesh sdk and nrf sdk
as said in the documents, you have to use in same folder both sdk's.
main folder and names' should be exactly like this.
if you don't have sdk, you can follow these instructions from this link
The nRF5 SDK for Mesh now requires the nRF5 SDK to compile. By default, the nRF5 SDK is expected to be stored next to the nRF5 SDK for Mesh, in a directory structure that looks like this:
. +-- nrf5_sdk_for_mesh/ +-- nRF5_SDK_16.0.0_98a08e2/
You can get the correct SDK either manually or using a custom CMake target.
Download the nRF5 SDK version 16.0.0 from the nRF5 SDK website. Extract the package in the same folder as the nRF5 SDK for Mesh to match the folder structure above.
Generate CMake build files:
nrf5_sdk_for_mesh $ mkdir build nrf5_sdk_for_mesh $ cd build build $ cmake -GNinja ..
You will get a warning that the nRF5 SDK is not found.
Run the nRF5_SDK
target:
build $ ninja nRF5_SDK
This command downloads and extracts the correct nRF5 SDK in the folder next to the nRF5 SDK for Mesh.
build $ cmake ..