Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years 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
11 years 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.