Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


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

Compilation error partial segment belongs to different memory class

When I am trying to compile my code, i am getting the following error

ERROR L115: PARTIAL SEGMENT BELONGS TO DIFFERENT MEMORY CLASS SEGMENT: ?C_C51STARTUP MODULE: C:\KEIL\C51\LIB\CH51L.LIB (?C_INIT)

can any body explain me why this error and how it can be resolved?