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.

CCS/F021FLASHAPI: Linker Problem

Part Number: F021FLASHAPI
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

Tool/software: Code Composer Studio

Hi guys,

I like to give some feedback about F021 Flash api library. I am using F28335 for years, now I am going to switch to new F28379D. I had a problem about flash api yesterday. The problem was at linking of my 23789D CCS project. The linker could not find F021 flash api functions (undefined symbol error) So it took me almost a day to find out, but I saw that there is no extern "C" declaration in the new F021 flash api library header files, and my project was written in C++. I looked at flash api header files of 28335 (Flash2833x_API_Config.h and Flash2833x_API_Library.h), both of them have extern "C" declaration, so I didn't have any problem using C++. May be I missed something during integration of the new F021 library, but I solved the problem by adding extern "C" to the file F021.h where the function definitions are. 

To sum up, If I didn't do anything wrong during integration, please add extern "C" decleration to the new version of F021 flash api library header files, so that people using C++ would not have any problem during linking.

Ps: I am using the latest version of controlSuite and C2000ware.

Regards,

Hakan