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.

TMS470MF06607: Issue with linking of F035 Flash Library

Part Number: TMS470MF06607

Hello TI,

I am trying to link pf035a_api_eabi.lib flash library with my application.

I have compiled my image with --enum_is_int option in armcc.exe

I am getting the following error while linking:

Error: L6242E: Cannot link object blank.obj as its attributes are incompatible with the image attributes.

... packed-enum clashes with enum_is_int.

Error: L6242E: Cannot link object compact.obj as its attributes are incompatible with the image attributes.

... packed-enum clashes with enum_is_int.

Error: L6242E: Cannot link object erase.obj as its attributes are incompatible with the image attributes.

... packed-enum clashes with enum_is_int.

Error: L6242E: Cannot link object prog_data.obj as its attributes are incompatible with the image attributes.

... packed-enum clashes with enum_is_int.

Error: L6242E: Cannot link object verify_data.obj as its attributes are incompatible with the image attributes.

... packed-enum clashes with enum_is_int.

Error: L6242E: Cannot link object Fapi_PollFlashStatus.obj as its attributes are incompatible with the image attributes.

... packed-enum clashes with enum_is_int.

Error: L6242E: Cannot link object sector_select.obj as its attributes are incompatible with the image attributes.

... packed-enum clashes with enum_is_int.

Error: L6242E: Cannot link object setup_fsm.obj as its attributes are incompatible with the image attributes.

... packed-enum clashes with enum_is_int.

 

I think the pf035a_api_eabi.lib is compiled without --enum_is_int option.And my application has OS related files which is compiled with --enum_is_int. --enum_is_int is required for proper functioning of OS.

Hence I cannot remove --enum_is_int option while compiling.

Please suggest a way to link the flash library without any errors.