Skip to content

Bare-Metal Raspberry Pi port#3522

Closed
naums wants to merge 2 commits into
micropython:masterfrom
naums:master
Closed

Bare-Metal Raspberry Pi port#3522
naums wants to merge 2 commits into
micropython:masterfrom
naums:master

Conversation

@naums

@naums naums commented Dec 27, 2017

Copy link
Copy Markdown
Contributor

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

boochow commented Dec 27, 2017

Copy link
Copy Markdown
Contributor

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

@naums

naums commented Dec 27, 2017

Copy link
Copy Markdown
Contributor Author

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

boochow commented Dec 28, 2017

Copy link
Copy Markdown
Contributor

@naums ok, thanks.

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

boochow commented Jan 4, 2018

Copy link
Copy Markdown
Contributor

@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

dpgeorge commented May 4, 2021

Copy link
Copy Markdown
Member

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