Other Parts Discussed in Thread: CCSTUDIO,
Tool/software: Code Composer Studio
hi,
i am using ccstudio compiler for cc2640r2f in that compiler how to create complete c++ project . c++ is it support to ccstudio
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.
Hi,
harish kumar35546 said:c++ is it support to ccstudio
Yes.
For an example, check the example bigtime from the TI-RTOS package. You can explore its source code contents at the online link:
https://dev.ti.com/tirex/explore/node?node=AMQ-EIkjVti3vqjv60QsNQ__krol.2c__LATEST
The same project is available from inside CCS if you install the Simplelink CC2640R2 SDK from the TI Resource Explorer.
For details on how to use the TI Resource Explorer in CCS, check section 5.2 of the CCS User's Guide at:
https://software-dl.ti.com/ccs/esd/documents/users_guide/index.html
Hope this helps,
Rafael
Hi,
I want to create a C++ project in CCSTUDIO version 9.3 with using this controller cc2640r2f is it possible to create C++ project or not. if it is possible how to create the project please let me know. if it is not possible why its not possible please tell me.
i am using linux os system.
i am using cc2640r2f simple link.
C++ projects can be created and built in CCS. However the SimpleLink SDK for CC2640r2f does not come with C++ examples, other than the TI-RTOS bigtime example that Rafael mentioned in the previous post. For these devices, we do recommend starting with an example project from SDK due to the additional configuration and other details that need to be set up for code to run on these devices.
The recommended starting point is described here:
https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_getting-started.html#simplelink-mcu
You could even start with the "empty" driver example project and then change the code to C++ or add your own C++ source files to it. If you have a mix of C and C++ source files, make sure to follow general programming conventions for declaring functions that will be called from C files:
http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html