Skip to content

Conversation

@naums
Copy link
Contributor

@naums naums commented Dec 27, 2017

Hello.

This pull requests contains mainly a Makefile and start-code for a bare-metal port of Micropython to the Raspberry Pi along with driver-code for the UART-interface to receive any output from the device. It does not contain additional modules and does not feature any sort of command prompt.

This port works on the Raspberry Pi Zero (tested) and should also work on the Raspberry Pi 1. It will however probably not work out-of-the-box on the Raspberry Pi 2 or 3, as they feature a different processor.

If you want to read more, I wrote a term paper [1] about porting Micropython to bare-metal Raspberry Pi (and adding modules to it).

[1] https://www.stefannaumann.de/en/2017/12/porting-micropython-to-bare-metal-raspberry-pi-2/

Regards,
Stefan Naumann

@boochow
Copy link
Contributor

boochow commented Dec 27, 2017

Hi, @naums this is very interesting project.
Are you planning to implement REPL on bare-rpi ?

@naums
Copy link
Contributor Author

naums commented Dec 27, 2017

Yes and no. I'm not going to implement that anew. I saw something like a REPL somewhere in the libs-folder. I didn't manage to work out how to link that one into this port, back when I tried the first time, but I could give it another try later.

@boochow
Copy link
Contributor

boochow commented Dec 28, 2017

@naums ok, thanks.

boochow added a commit to boochow/micropython-raspberrypi that referenced this pull request Dec 30, 2017
@boochow
Copy link
Contributor

boochow commented Jan 4, 2018

@naums FYI starting from your PR, I tried porting REPL on RPi referring MicroPython on Unicorn.
It works, although its abilities are very limited.
The repository is here.

@dpgeorge dpgeorge added the ports Relates to multiple ports, or a new/proposed port label May 4, 2021
@dpgeorge
Copy link
Member

dpgeorge commented May 4, 2021

Thanks for this, it's great to see ports like this.

The work here has been extended by @boochow 's excellent work in the repo linked above, and anyone interested to run MP on bare-metal RPi boards should definitely look at that repo.

@dpgeorge dpgeorge closed this May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ports Relates to multiple ports, or a new/proposed port

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants