joshuad Posted December 19, 2017 Share Posted December 19, 2017 Is there a way of detecting the PMAC card endian-ness in script code? Link to comment Share on other sites More sharing options...
steve.milici Posted December 20, 2017 Share Posted December 20, 2017 You typically do not need to know this in script as PPMAC firmware manages this for you. Having said that, the pre-processor used with the IDE provides the following macros: ARM: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ Everything else (and PPC): #define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__ Link to comment Share on other sites More sharing options...
Recommended Posts