I have the module nrf52840
You are about to download the nrf5SDKforMeshv310src file to run the Bluetooth mesh example.
As I build, I get the following error. How do I fix it?
I have the module nrf52840
You are about to download the nrf5SDKforMeshv310src file to run the Bluetooth mesh example.
As I build, I get the following error. How do I fix it?
I would suggest that you take a look at the Building the mesh stack and examples.
Under "First time setup":
Before building the mesh examples with SEGGER Embedded Studio for the first time, you must complete a one-time setup of the SDK_ROOT
macro in SEGGER Embedded Studio. This macro is used to find the nRF5 SDK files.
You can either:
SDK_ROOT
macro. It defaults to an nRF5 SDK 15.2.0 instance unzipped right next to the mesh folder.SDK_ROOT
macro to a custom nRF5 SDK instance.To set the SDK_ROOT
macro manually in SEGGER Embedded Studio:
SDK_ROOT=<the path to nRF5 SDK instance>
.You can verify the path by opening one of the source files under the nRF5 SDK file group. If the macro is set correctly, the file opens in the editor window. If not, an error message is displayed with information that the file cannot be found.
Regards,
Joakim
I don't understand
"Under Build in the configuration list, edit Global macros to contain SDK_ROOT=<the path to nRF5 SDK instance>
."
I fixed "SDK_ROOT=<C:\Nordic_Semi\nRF5SDK153059ac345\nRF5_SDK_15.3.0_59ac345>" right??
If that is the path to your instance of the nRF5 SDK, then it's correct.
I would like to note that The nRF5 SDK for Mesh v.3.1.0 requires the nRF5 SDK 15.2.0 to compile. I haven't tried using nRF5 SDK v.15.3.0.
If that is the path to your instance of the nRF5 SDK, then it's correct.
I would like to note that The nRF5 SDK for Mesh v.3.1.0 requires the nRF5 SDK 15.2.0 to compile. I haven't tried using nRF5 SDK v.15.3.0.
without the '<' at the beginning, and '>' at the end - of course ... ?
Well, good point. The angle brackets should not be part of the SDK_ROOT macro.