Closed zephyrbot closed 7 years ago
by Leandro Pereira:
The SDK 0.9 release notes specifies that the compiler has been patched to support little-endian, but -mlittle-endian
is not supported, and that doesn't seem to be the default either. Linking with libhal.a
, which is a binary-only static library provided by Espressif and found in their FreeRTOS port, fails with the following error (repeating for every object file in the library archive):
libhal.a(cache.o): compiled for a little endian system and target is big endian
by Juro Bystricky:
There is going to be a new version of the Xtensa toolchain in SDK 0.9.1 which should resolve the issue.
Blocks GH-58
Reported by Leandro Pereira:
The Xtensa cross-compilers shipped with SDK 0.9 are for big-endian targets only. We need to also support little-endian targets (i.e. enable -mlittle-endian/-EL) so ESP32 is also supported.
(Imported from Jira SDK-55)