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.