New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bare-Metal Raspberry Pi port #3522

Open
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@naums
Contributor

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

This comment has been minimized.

Show comment
Hide comment
@boochow

boochow Dec 27, 2017

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

boochow commented Dec 27, 2017

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

@naums

This comment has been minimized.

Show comment
Hide comment
@naums

naums Dec 27, 2017

Contributor

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.

Contributor

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

This comment has been minimized.

Show comment
Hide comment
@boochow

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

This comment has been minimized.

Show comment
Hide comment
@boochow

boochow 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.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment