This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/CC2530: Integrating C++ code into ZStack sample application

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK

Tool/software: TI C/C++ Compiler

Hi. I want to intergrate existing code written on C++ into ZStack sample application. In order to create in instance of a class I need to use "new" keyword. Is this a safe way to create and object, because it is recommended to use OSAL_MEM_ALLOC() function from OSAL to allocate memory.

Or is it possible to use c++ classes in ZStack applications at all?