Hi All,
I was wondering if it was possible to program the nrf51x22 in c++? I am using Keil and I'm trying to convert the examples in the SDK to CPP by adding --cpp to the compiler string and
#ifdef __cplusplus
extern "C" {
#endif
...
#ifdef __cplusplus
}
#endif
to the headers but I cant seem to compile these targets. Could someone tell me how to configure Keil to use either the ARM or the GCC compiler for this? When switching to GCC I keep getting the error target CPU does not support ARM mode.
Regards,
Alex