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

nRF52 ble uart and LSM9DS1 libraries

Hi, I am trying to use the nRF52 to pass IMU information through BLE to a smartphone. We have a custom chip with the nRF52 and LSM9DS1 on the same board. I am able to program the board with the nRFSDK11 example for ble_peripheral_uart and it works successfully. What I am having trouble with is integrating the LSM9DS1 library into that example. All of the libraries that are provided for the LSM9DS1 are written in C++ and Keil seems to not like that at all. I even tried to convert it to C using structs instead of classes and using typedef infront of structs and enums like the example files do. How do I make these two things work together?

Related