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.

Problem with mixing C and assembly codes on CC5.4 and Tiva launchpad



Hello,

I am using Tiva launchpad (ARM Cortex M4) with CCS5.4 and trying to mix C code with assembly. According to spnu151i.pdf example 6.1 I applied some code in basic example from Stellaris Launchpad Workschop (lab3). Below CCS project with the files. Errors appear during compiling main.c.  Statement "extern "C"" seems to be a problem. "Expected an identifier" is returned by compilator, but there is no syntax error. What can be the problem?