This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Drivers from nRF5_SDK to Mesh SDK

Hello,

I would like to add the ST7735 driver from the nRF5_SDK to the Mesh SDK along with the necessary components (SPI,..). I copied the entire components directory to my Mesh SDK. But I have an issue with the cmake operation when trying to build the example as it cannot find the include files.

What is the best way to solve this issue? Should I modify some CMake files?

Thanks.

UPDATE 19/01/2018: mesh_pwm.zip Screenshot Mesh_PWM.png

Parents
  • It should be easy to fix yes but I cannot see what is the problem. I tried a simple test of just adding a header file (associated to a c file) to my main and added the necessary lines to the CMakeList but I still get undefined reference for the function used. It is the same issue with the PWM driver, GFX or even my own, it always creates an error "undefined reference". I would assume the issue is with the CMakeLists but I have the same as your's. Could it be an issue of Cmake not "fully" recompiling after adding the driver?

Reply
  • It should be easy to fix yes but I cannot see what is the problem. I tried a simple test of just adding a header file (associated to a c file) to my main and added the necessary lines to the CMakeList but I still get undefined reference for the function used. It is the same issue with the PWM driver, GFX or even my own, it always creates an error "undefined reference". I would assume the issue is with the CMakeLists but I have the same as your's. Could it be an issue of Cmake not "fully" recompiling after adding the driver?

Children
No Data
Related