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.

TMS320F28335: How to customize Makefile +gmake

Part Number: TMS320F28335

Dear team:

My customer uses CCS5.5 to compile a large project (in order to use the simulation function, that is, to output the CIO interface).

Because there are many source files, Makefile files are written for the codes of different modules for management. This is how he sets the build settings in the project -> properties.

The configuration in label 1 is used to identify (for the purpose of name), the build command gmake used in label 2 and the location of the build in label 3 (that is, the location of a Makefile, part of the Makefile code is shown in Figure 2). But when he built it like this, the following error appeared:

(PS: “命令语法不正确”means Command syntax is incorrect)

Best regards

  • Hello,

    Were the makefiles created/generated on a Linux machine?

    Thanks

    ki

  • Hi KI:

    The makefile is compiled by gcc under the Mingw (Linux-like) tool of the eclipse platform and can be run.

    Because CCS is based on eclipse, My customer followed the same idea to run the makefile file on the CCS platform (that is, select the Makefile file and source file of the corresponding module in the build ocation option in the figure above), but the above gmake syntax error display appeared.

    Can gmake execute the makefile created in this way?

  • Can gmake execute the makefile created in this way?

    It typically can, but the error the customer is seeing can happen if the makefile is Linux specific. This would cause issue on Windows. Does the same makefile build fine on CCS 5.5 Linux?