I am trying to build my light switch example, It is giving me errors. I am posting this for the third time. Please help with it.
Thanks.
I am trying to build my light switch example, It is giving me errors. I am posting this for the third time. Please help with it.
Thanks.
This means that you will need to include this in the "Set User Include Directories". Find out where "boards.h" is located in the sdk, & make sure to include it in the path in Segger Embedded Studios. Right click on Project 'light_switch_client' in the top left corner -> Edit Options -> change to Common configuration in the top left corner -> Preprocessor tab -> double click on "User Include Directories" & make sure the path to "boards.h" is included there.
This means that you will need to include this in the "Set User Include Directories". Find out where "boards.h" is located in the sdk, & make sure to include it in the path in Segger Embedded Studios. Right click on Project 'light_switch_client' in the top left corner -> Edit Options -> change to Common configuration in the top left corner -> Preprocessor tab -> double click on "User Include Directories" & make sure the path to "boards.h" is included there.
I have all of this set up from your previous answers. You said you will come back to me on this after talking to one of your application engineer. Do you have something for me now? Thanks,
Sorry for the delayed response. Which mesh sdk version are you using again? You mentioned in your previous answer that you set SDK root in your global macros as : SDK_ROOT=C:\Nordic_Semi\nRF5_SDK_15.0.0_a53641a. I have not done this at all, as the mesh SDK defaults to a nRF5 SDK 15 instance unzipped in the same path as your mesh sdk, see below:
I have tried to define the SDK_ROOT like you did: SDK_ROOT=C:\NordicSemi\SDKs\nRF5_SDK_15.0.0_a53641a & that worked too. I am using the same Segger Embedded Studio version as you too. Are you able to open any other source file that is a part of sdk 15? If yes, it might be something wrong with boards.h & your global macro to sdk 15 has been defined correctly.
Please see my both SDK's in the same folder. I am using SDK for mesh 2.1.1 . I saw this link http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v2.0.1%2Fmd_doc_getting_started_getting_started.html&cp=4_1_0_3 to add SDK_ROOT. I am unable to open any source file related to sdk 15. But I am able to run examples from sdk 15. The issue is with only sdk mesh. Please help me to get over with this so that I can proceed further with my project. Thanks,
What if you try changing SDK_ROOT=C:\Nordic_Semi\nRF5_SDK_15.0.0_a53641a to SDK_ROOT=C:/Nordic_Semi/nRF5_SDK_15.0.0_a53641a ?