Hello,
I am using nordic sdk and working with C files.
But i would like to work on with C++ files as well.
How will i modify the makefile so that it can build both C and C++ can you show me an example ? Thanks
Hello,
I am using nordic sdk and working with C files.
But i would like to work on with C++ files as well.
How will i modify the makefile so that it can build both C and C++ can you show me an example ? Thanks
Hi,
Here is a makefile that is made for the ble_app_template example for PCA10028:
You also have to add #extern "C" {}
around everything that talks to the C-domain from cpp. Main.c have to be changed to main.cpp. Here is the ble_app_template project with the ledwrapper Torbjørn made:
None that I know of.
None that I know of.