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:can't compile!!!

Other Parts Discussed in Thread: TMS320F28335, C2000WARE

部件號: TMS320F28335

can't compile!!!

I tried for a long time please help me
The built environment is really frustrating

Cannot compile normally after adding GpioCtrlRegs.GPAMUX1.all = 0;

_GpioCtrlRegs ./main.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "OOOO.out" not built

>> Compilation failure
makefile:142: recipe for target 'OOOO.out' failed
gmake[1]: *** [OOOO.out] Error 1
makefile:138: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

  • Hello Lin,

    It seems that the GpioCtrlRegs bitfield name could not be recognized, which is likely because there is a directory or file that is not included properly. Could you send an image of the File Search Path options in your project properties? You can access it by right-clicking the project, selecting properties, and then going to CCS Build -> C2000 Linker -> File Search Path. Also an image of your Include Options would be helpful, located in CCS Build -> C2000 Compiler -> Include Options of the project properties.

    If you want to confirm the right project properties, you can access the GPIO example project at: C2000Ware_X_XX_XX_XX\device_support\f2833x\examples. This project should be set up to run properly, with the correct includes and source files. Let me know any other information you find.

    Best regards,

    Omer Amir