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/TMS320F280049: TMS320F280049

Part Number: TMS320F280049
Other Parts Discussed in Thread: TMS320F28069, , C2000WARE

Tool/software: Code Composer Studio

Dear TI engineers,

I transplant code from TMS320F28069 to TMS320F280049, recently. The version of CCS is also transform from 7.3.0 to 9.0.1. But some errors happen when I compile the whole code. The error could be see in the picture. Some other details could be also see in pictures.

The code in TMS320F28069 would not be compiled fail. How should I solve this problem? In my mind, I could put the header file which mask the dual specifier in my project. However, the whole project would be seems too huge and inflexible in this way. So, what is the best solution?

Looking forward to your reply and best wishes to you.

  • I'm not sure how you are using the types in your code, but it appears the issue may be due to mixing the typedefs in stdint.h with #defines in OS_CPU.h. I'm not familiar with the OS_CPU.h file, but the examples provided with C2000Ware all use the type definitions provided in f28004x_device.h or stdint.h. I would advise including header files in your code similar to what is done in the examples. 

  • Dear AartiG,

    OK.

    I mask stdint.h in the f28004x_device.h.

    Thanks for you help.

    Best wishes to you.