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

How to specify a veriable in big-endian format?

Hi,everybody,
I am facing a problem now. I want to specify a veriable in big endian while the whole memory in little endian.
You know,it is very easy to achieve this in IAR toolchain by adding a keyword __big_endian, when defining the veriable, but how can i do in MDK?
Thanks!

Parents
  • Go to 'Options for Target - Target' and check or uncheck the 'Big Endian' checkbox as required. Note that this checkbox is present/enabled only when the selected MCU device supports endianess configuration.

Reply
  • Go to 'Options for Target - Target' and check or uncheck the 'Big Endian' checkbox as required. Note that this checkbox is present/enabled only when the selected MCU device supports endianess configuration.

Children