Big-endian microcontrollers?

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

1 Like

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

1 Like