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 !
micropython on PPC target
Re: micropython on PPC target
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.
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.
-
- Posts: 2
- Joined: Fri Oct 11, 2019 8:54 pm
Re: micropython on PPC target
@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
You may want to take a look at: https://github.com/micropython/micropython/pull/5093
-
- Posts: 2
- Joined: Fri Oct 11, 2019 8:54 pm
Re: micropython on PPC target
Thanks for the link! This will definitely help me.