Currently I want to build the light_switch examples from the nrf5_SDK_for_Mesh_v4.2.0 on my nrf52840 dev board but this gives the following error "boards.h: No such file or directory". I have placed the nRF5_SDK_17.0.0_9d13099 in the same folder as the nrf5_SDK_for_Mesh_v4.2.0, but I still keep the same issue.
What am I missing?
My folder structure should then be such:
Mesh SDK v4.2.0 supports nRF5 SDK 16.0.0 and SDK_ROOT path is by default set to this SDK. Your folder structure is correct just that you have to use nRF5 SDK 16.0.0 instead of nRF5 SDK 17.0.0 if you don't change the SDK_ROOT path.
If you want to use v17.0.0 you can change the SDK_ROOT path to your nRF5 SDK 17.0.0. In SDK 17, new softdevice versions have been added. These are minor versions so it should work, but just note that there aren't any official support for v17.0.0 added yet so we don't have any guarantees that it won't cause any problems.
I download nRF5 SDK 16.0.0.
I copy nRF5 SDK 16.0.0 and nrf5_SDK_for_Mesh_v4.2.0_src to folder (nrf-mesh).
It show fatal error: ble.h: No such file or directory.
Help me, Thank you.