9 years, 8 months ago.

Specify endianism at compile/build time.

Is there any way to get the compiler to switch between building in little endian format and big endian?

Also how does one get or build a version of mbed.a in a specific endian format?

Thanks,

1 Answer

9 years, 8 months ago.

Well you can get the source code (mbed-src), and compile it yourself. But why would you want that. Building the mbed lib with different endianness is not intended and will break alot of peripheral libs. All standard defines for bitfields are created for one endianess.

Accepted Answer