Big-endian microcontrollers?

(Michael Richters) #1

Are there any microcontrollers that Kaleidoscope might run on that are big-endian? If so, it would be good to move the definition of the Key structure out of Kaleidoscope and into Kaleidoscope-Hardware-* instead, so the order of the keyCode and flags bytes can be reversed. It might be good to do it anyway, because that union does contain a hardware dependency, after all

(Gergely Nagy) #2

IIRC ARM can be either little- or big-endian, and it depends on the implementor. Most are little-endian, however.