Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Incorporating nRF5 SDK into Mesh SDK

Hey all!

I have been trying for over 2 months to incorporate the simple SPI example into the light switch server example in order to integrate nRF5 SDK code into the SDK for Mesh. However, every single time, I am met with a slew of errors, warnings, linker errors and so on... I have tried everything from changing the sdk_config.h file, to adding the include directories from the SPI project into the Mesh example, to adding the actual .c files from the SPI project into the Mesh example, but to no avail.

I have even tried overriding #defines (a kind of hacky method) in order to get certain functions to be included (since they were throwing me lots of errors).

Moreover, I have followed the steps posted on this URL: https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v3.2.0%2Fmd_doc_getting_started_how_to_nordicSDK.html

Does anyone have any tips/examples to help me out?

It seems to me that winning the lottery is more probable for me than getting both the SDKs to work together!

Thank you so much in advance.

Related