Hello,
Is there anybody who knows how to cross compile hello-world example on RIOT for an openwrt distribution, which is using a MIPS architecture ?
Cheers, Maxence
Hello,
Is there anybody who knows how to cross compile hello-world example on RIOT for an openwrt distribution, which is using a MIPS architecture ?
Cheers, Maxence
Hi,
RIOT native does not currently run on MIPS anyways.
Cheers, Ludwig
Ludwig, do you mean that I can't compile RIOT with a mips toolchain adapted to my openwrt version and to my hardware platform ?
Cheers, Maxence
-----Message d'origine-----
If you want to run the RIOT hardware emulator "native" as a Linux process on the MIPS architecture, you have to port it to this architecture first. Native has some some assembler lines which are only written for x86 and arm as of now.
Cheers, Ludwig
Ok thank you for your answer Ludwig. I am going to try to port native on mips architecture.
Cheers, Maxence
-----Message d'origine-----
Hi Maxence,
You need to figure out if the ucontext API is available on the target platform/architecture, translate the functions in tramp.S and add MIPS register access in irq_cpu.c.
Cheers, Ludwig