Hi Jatin,
Not sure this will answer your question.
CW for MPC55xx/56xx V2.10 is the last version.
This tool supports big/little endian.
By default when a project is created, the big endian mode is selected.
This means the libraries included in the project were created with Big endian option too.
If you want to change to little endian you must:
- change the option,
- change the libraries.
I've created a project example.
This project contains 2 targets:
-> Big Endian - this is the default project,
-> Little Endian.
To build the Little Endian target, you must:
- change the compiler option for Bate Ordering to Little endian,
- add 2 new libraries to replace default big endian ones
a- Runtime.PPCEABI.VS.UC.a replaced by Runtime.PPCEABI.N.LE.UC.a
b- MSL_C.PPCEABI.bare.VS.UC.a replaced by MSL_C.PPCEABI.bare.N.LE.UC.a
Now I can build the little endian application.
Attached you will find the example I've created.
Hope this will help you.
Pascal