{"id":15170411,"url":"https://github.com/boochow/micropython-raspberrypi","last_synced_at":"2025-05-02T22:31:03.195Z","repository":{"id":112529015,"uuid":"111968677","full_name":"boochow/micropython-raspberrypi","owner":"boochow","description":"bare metal Raspberry Pi Zero / Zero W port of MicroPython","archived":false,"fork":false,"pushed_at":"2020-04-30T20:53:27.000Z","size":295,"stargazers_count":228,"open_issues_count":13,"forks_count":27,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-07T07:42:51.398Z","etag":null,"topics":["micropython","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boochow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-25T01:52:52.000Z","updated_at":"2025-03-31T01:45:19.000Z","dependencies_parsed_at":"2023-05-15T16:45:42.918Z","dependency_job_id":null,"html_url":"https://github.com/boochow/micropython-raspberrypi","commit_stats":{"total_commits":272,"total_committers":2,"mean_commits":136.0,"dds":0.003676470588235281,"last_synced_commit":"0fb6bf74067ef17abc14eb94f19bca6efa3ef5d8"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boochow%2Fmicropython-raspberrypi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boochow%2Fmicropython-raspberrypi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boochow%2Fmicropython-raspberrypi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boochow%2Fmicropython-raspberrypi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boochow","download_url":"https://codeload.github.com/boochow/micropython-raspberrypi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252116082,"owners_count":21697304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["micropython","raspberry-pi"],"created_at":"2024-09-27T08:02:16.696Z","updated_at":"2025-05-02T22:30:58.173Z","avatar_url":"https://github.com/boochow.png","language":"C","readme":"# micropython-raspberrypi\n\nMicroPython on bare metal Raspberry Pi Zero / Zero W / 2\n\n## How to build\n```\ngit clone https://github.com/boochow/micropython-raspberrypi.git\ncd micropython-raspberrypi\ngit submodule update --init\ncd micropython; git submodule update --init; cd ..\ncd raspberrypi\n```\nfor Raspberry Pi Zero/Zero W,\n```\nmake BOARD=RPI1\n```\nfor Raspberry Pi 2\n```\nmake BOARD=RPI2\n```\n## Options\n1. `MICROPY_HW_USBHOST=1` to enable USB keyboard support.\n1. `MICROPY_MOUNT_SD_CARD=1` to mount SD card on /sd in the boot sequence(default).\n\n## How to install\n\n1. download `bootcode.bin` and `start.elf` from https://github.com/raspberrypi/firmware/tree/master/boot\n1. copy `bootcode.bin` and `start.elf` to the root of your microSD card\n1. copy `build/firmware.img` to the root of your microSD card\n1. copy build/config.txt to the root of your microSD card. (if `config.txt` already exists, edit it to add a line `kernel=firmware.img`.)\n\n## Modules and Classes\n\nSee [wiki](https://github.com/boochow/micropython-raspberrypi/wiki).\n\n## References\n\nThe First bare metal Raspberry Pi port by Stefan Naumann. ([Bare\\-Metal Raspberry Pi port by naums · Pull Request \\#3522 · micropython/micropython](https://github.com/micropython/micropython/pull/3522))\n\ncsud USB host driver by Alex Chadwick. ([Chadderz121/csud: Chadderz's Simple USB Driver for Raspberry Pi](https://github.com/Chadderz121/csud) I modified this to support RPi zero/zero W. The modified version is [here](https://github.com/boochow/csud)).\n\nsd.c SD card driver by Zoltan Baldaszti. ([raspi3\\-tutorial/0B\\_readsector at master · bztsrc/raspi3\\-tutorial](https://github.com/bztsrc/raspi3-tutorial/tree/master/0B_readsector))\n\nA lot of bare metal examples by David Welch. ([dwelch67/raspberrypi: Raspberry Pi ARM based bare metal examples](https://github.com/dwelch67/raspberrypi))","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboochow%2Fmicropython-raspberrypi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboochow%2Fmicropython-raspberrypi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboochow%2Fmicropython-raspberrypi/lists"}