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/TM4C1294NCPDT: Code with Direct Registration Access Model and C++

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: EK-TM4C1294XL

Tool/software: TI C/C++ Compiler

Hello, good morning again, now I have other questions regarding the example codes but using the record access models.

Is there any reference where I can find example code, most of the examples that the compiler has here are using libraries, I am interested in knowing a little more about the micro at the record level.

The other question I have is about the CCS compiler, can I use the C++ language in the compiler, how do I tell the compiler that I am using C++, and are there any references where I can look?
 
Sorry for the too many questions, I'm an electronic engineer student from the Engineering Faculty at the National Autonomous University of Mexico (UNAM) and I'm taking these subjects:

Microprocessors and microcontrollers
Embedded Systems

and we use the EK-TM4C1294XL, without more than adding a cordial greeting and a gratefulness to them to help me.

  • Hi,

    Yes, all or our examples are built using the TivaWare library. If you are referring to creating your software using DRM (Direct Memory Manipulation) then we do not support it. Please refer to the item #4 in the below support FAQ. Basically, if you want to use DRM, you will be on your own. You can look at the source code of the API we provide to understand how the peripherals are configured and used at the DRM level. 

     With that said, I find the below University of Texas course materials to be helpful if you are going to use DRM. They have examples for TM4C using DRM. See below link.

     

    The TI compiler should recognize both C and C++ code. If you have further questions concerning CCS or C++ please kindly post your questions in the respective forum as experts there will be able to assist.

    https://e2e.ti.com/support/tools/ccs/f/81

    I also find this website helpful when mixing C and C++ code. 

    https://isocpp.org/wiki/faq/mixing-c-and-cpp

  • Thanks for the information!! I'll ask around and see how to create, but I don't know how to create a project in CCS.