Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Adding a C++ file to an example project

Hello,

I am developing an application based on the BLE examples from the nrf5 sdk using he Segger Embedded Studio.

I am porting a library for a peripheral component and this library is written in c++ language.

I found some questions with similar inquiries (https://devzone.nordicsemi.com/f/nordic-q-a/19007/including-c-library-in-c-project) (https://devzone.nordicsemi.com/f/nordic-q-a/33615/segger-embedded-studio-c-and-the-standard-library) but none of the solutions worked for me.

I have installed also the STLPort package but coudn't follow the steps to enable it because I haven't find the steps discribed in this https://studio.segger.com/packages/index.htm?https://studio.segger.com/packages/STLport.htm

How can I compile and make work a project with a .cpp library?

Thanks

Related