Page 1 of 1

micropython on PPC target

Posted: Fri Jul 12, 2019 9:04 pm
by miko53
Hello,

Is micropython portable on a ppc target ? I am looking for a scripting language for a embedded board based on ppc target in a posix environnement. Micropython seems great for that but it seems that the port exists for ARM, x86, x64, esp but not for ppc.

Is it complicated to port on ppc ?
I don't find a documentation on how port the language in another target, did I miss something in documentation ?

Thanks a lot !

Re: micropython on PPC target

Posted: Sat Jul 13, 2019 12:00 am
by dhylands
You should probably start with the minimal port, and modify it to get something simple working.

You'll need to implement the uart_core.c function for your MCU. You'll then be able to get a very basic Micropython REPL on the uart port.

Re: micropython on PPC target

Posted: Fri Oct 11, 2019 8:57 pm
by rufus_coder
@miko53 were you able to make any progress porting this to PPC? I have attempted to modify the uart_core.c file, header files, make, and linker scripts but, I have not been successful trying to run the code on Qemu emulating PPC. Any tips would be much appreciated!

Re: micropython on PPC target

Posted: Fri Oct 11, 2019 9:17 pm
by dhylands

Re: micropython on PPC target

Posted: Fri Oct 11, 2019 9:55 pm
by rufus_coder
Thanks for the link! This will definitely help me.