micropython on PPC target

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
miko53
Posts: 1
Joined: Fri Jul 12, 2019 8:31 pm

micropython on PPC target

Post by miko53 » Fri Jul 12, 2019 9:04 pm

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 !

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: micropython on PPC target

Post by dhylands » Sat Jul 13, 2019 12:00 am

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.

rufus_coder
Posts: 2
Joined: Fri Oct 11, 2019 8:54 pm

Re: micropython on PPC target

Post by rufus_coder » Fri Oct 11, 2019 8:57 pm

@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!

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: micropython on PPC target

Post by dhylands » Fri Oct 11, 2019 9:17 pm


rufus_coder
Posts: 2
Joined: Fri Oct 11, 2019 8:54 pm

Re: micropython on PPC target

Post by rufus_coder » Fri Oct 11, 2019 9:55 pm

Thanks for the link! This will definitely help me.

Post Reply