We are using AM1808 processor. In its datasheet, it's written that it only supports little endian. If we use gnube (big endian) compiler, is it possible to use it in big endian mode?
In our design, AM1808 processor communicates to another processor, which is big endian, through SPI. There are various data structures passing over SPI between 2 processors. Since the other processor is big endian and AM1808 is little endian, we face difficulties in accessing the members of the structures. Can we solve this problem by using the gnube (big endian) compiler toolchain? Or do we have to change the byte order of each of the structure members we use?