This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bootcode geneartion from C testcase for Cortex_R4

Have existing setup for CortexM3 to generate bootcode from C tetscases.

Able to use same setup  to generate bootcode for Cortex-M4 with minimum changes.

But seeing issue while using same setup for Cortex-R4.

Added "--apcs /interwork"  and changes cpu name " --cpu=Cortex-R4" in armcc command .

getting below error.

Error: L6242E: Cannot link object common_function.o as its attributes are incompatible with the image attributes.

   ... arm-isa clashes with m-profile.

Error: L6242E: Cannot link object default_handler.o as its attributes are incompatible with the image attributes.

   ... arm-isa clashes with m-profile.

Error: L6242E: Cannot link object vector_table.o as its attributes are incompatible with the image attributes.

   ... arm-isa clashes with m-profile.

Error: L6242E: Cannot link object qspi.o as its attributes are incompatible with the image attributes.

   ... arm-isa clashes with m-profile.

Let me know if you have any idea.