Part Number: TMS320F28379D
Tool/software: Code Composer Studio
Hello everyone,
I wanted to extend an existing Project by some c++-code.
I made a new .h and .cpp file.
And wrote a little Test-Class to check if the c++ is working properly.
.h file:
#ifndef IE_FIELDBUSPROTOKOLL_H_
#define IE_FIELDBUSPROTOKOLL_H_
#ifdef __cplusplus
extern "C" {
#endif
/*****************************************************************************/
/*! \file IE_FieldbusProtokoll.h
* \brief XXXXXXXX
* \author {Marcel.Kummer}
* \date {2018}
*****************************************************************************/
/*****************************************************************************/
/*! \addtogroup FieldbusProtokoll-MotherClass
* \{ */
/*****************************************************************************/
class FieldbusProtokoll {
public:
int a;
private:
void test();
};
#ifdef __cplusplus
}
#endif// extern "C"
/*****************************************************************************/
/*! \} */
/*****************************************************************************/
#endif /* IE_FIELDBUSPROTOKOLL_H_ */
and the .cpp file:
/*****************************************************************************/
/*! \file IE_FieldbusProtokoll.cpp
* \brief XXXXXXXXX
* \author {Marcel.Kummer}
* \date {2018}
*****************************************************************************/
#include <IE_FieldbusProtokoll.h>
/*****************************************************************************/
/*! \addtogroup FieldbusProtokoll-Motherclass
* \{ */
/*****************************************************************************/
void FieldbusProtokoll::test(){
this->a = 1;
}
/*****************************************************************************/
/*! \} */
/*****************************************************************************/
It's compiling without errors.
But the keywords: class, private, public aren't highlighted in any way.
Also when I use the FieldbusProtokoll-class anywhere in the Projekt CCS can't find the Symbol when pressing F3. ("Selected text cannot be mapped to a symbol name")
The CodeCompletion also isn't working while typing any class-related stuff. ("this." won't expand and suggest me any class members)
Do I have to adjust some settings in the project or what could lead to this behaviour?


