Cross compiling for AR71xx

Piotr Barszczewski <piotr@...>


I am wondering that since among others Zephyr supports Intel x86 (32- and 64-bit) would it be theoretically possible to cross compile it to AR71xx architecture, quite popular as OpenWRT host? I’ve done that with other C/C++ projects and even golang library with ENV CGO_ENABLED=1 and CC= pointing to my mips-openwrt-linux-musl-gcc toolchain.
I would want to try it out but the amount of potential problems to overcome is quite significant so wanted I to ask if anyone has tried that before or knows where one could find more information about such an experiment?
The reason for that is that it could potentially unify my development stack consisting of nRF528xx chips for BLE running on Zephyr <-> gateway devices (this is where Zephyr on AR71xx comes in) <-> desktop apps which again can be written in Zephyr. 

Best regards,

Join to automatically receive all group messages.