Hi,
We are using NXP LPC11C35 and µVision v4.71.2.0. We want to use big-endian format at our variables. At Keil->Project->Options->Target->Code generation->big endian checkbox is disabled. Is it possible for the specific uC to use big-endian format? If yes, how can we achieve that?
Thanks in advance.
That's a strange argument. I think you are overestimating the complexity involved in endian conversion. People use ntohs/htons/ntohl/htonl all the time, it's nothing new. The good practice would be to test all the parts of the protocol anyway, be it big endian or little endian. If you insist on a big endian CPU, have a look at ColdFire. They have a very nice range of MCU's.