Boron endianness?

Is the Boron little-endian or big-endian?

For the case I’m thinking of, I need to transmit 32-bit numbers in part of a 8-bit-at-a-time serial message, LSB first.


uint8_t buf[4];
*(uint32_t*)(buf) = 123;

buf[0] should be 0x7B, the rest of buf should be 0.

Have you tried to find that out yourself?
We could tell you but it usually sticks better in mind when you find it out yourself :wink:

The “issue” I often find is not to understand the order in which data is stored but which term to apply to that order.
Which term would you use for the endianness you are looking for?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.