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/TMS570LS1227: Error "F021 Flash API requires GCC language extensions enabled" after migration of project from CCS550 to CCS900

Part Number: TMS570LS1227

Tool/software: TI C/C++ Compiler

Hello,

probably not much to add to the title. Similar problems have been reported.

The legacy project is using F021 FLASH API version v01.15.00.

Reason for migration: CCS550 shall not run on with Windows 10 Enterprise.

In the CCS550 environment I compiled with the --gcc flag (without the flag I get the same error as shown in the title).
In the CCS900 envirnoment the --gcc makes no difference with respect to the problem.

I hope this issue could be resolved without changing the code.

The error is thrown in types.h:

#if defined(__TI_TMS470_V7__)
#if !defined(__GNUC__)
#error "F021 Flash API requires GCC language extensions enabled"
#endif
#endif

Used compiler is: TI v18.12.2.LTS

Regards
 Michael