• Stars
    star
    218
  • Rank 181,805 (Top 4 %)
  • Language
    C
  • License
    MIT License
  • Created about 7 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

bare metal Raspberry Pi Zero / Zero W port of MicroPython

micropython-raspberrypi

MicroPython on bare metal Raspberry Pi Zero / Zero W / 2

How to build

git clone https://github.com/boochow/micropython-raspberrypi.git
cd micropython-raspberrypi
git submodule update --init
cd micropython; git submodule update --init; cd ..
cd raspberrypi

for Raspberry Pi Zero/Zero W,

make BOARD=RPI1

for Raspberry Pi 2

make BOARD=RPI2

Options

  1. MICROPY_HW_USBHOST=1 to enable USB keyboard support.
  2. MICROPY_MOUNT_SD_CARD=1 to mount SD card on /sd in the boot sequence(default).

How to install

  1. download bootcode.bin and start.elf from https://github.com/raspberrypi/firmware/tree/master/boot
  2. copy bootcode.bin and start.elf to the root of your microSD card
  3. copy build/firmware.img to the root of your microSD card
  4. 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.)

Modules and Classes

See wiki.

References

The First bare metal Raspberry Pi port by Stefan Naumann. (Bare-Metal Raspberry Pi port by naums ยท Pull Request #3522 ยท micropython/micropython)

csud USB host driver by Alex Chadwick. (Chadderz121/csud: Chadderz's Simple USB Driver for Raspberry Pi I modified this to support RPi zero/zero W. The modified version is here).

sd.c SD card driver by Zoltan Baldaszti. (raspi3-tutorial/0B_readsector at master ยท bztsrc/raspi3-tutorial)

A lot of bare metal examples by David Welch. (dwelch67/raspberrypi: Raspberry Pi ARM based bare metal examples)

More Repositories

1

MicroPython-ST7735

ST7735 TFT LCD driver for MicroPython
Python
197
star
2

pico_test_projects

Some projects to test Raspberry Pi Pico unique functionalities, such as interpolators or scanvideo library.
C
88
star
3

FBConsole

frame buffer console class for MicroPython
Python
57
star
4

Waves2

a simple wavetable synthesizer for Korg logue SDK. runs on prologue, minilogue xd, NTS-1, NTS-1 mkII
C++
40
star
5

TFLite_Micro_MicroSpeech_M5Stack

M5Stack (ESP32) port of TensorFlow Lite for Microcontrollers demo "Micro Speech"
C++
30
star
6

picture

Picture display for oscilloscopes
Makefile
24
star
7

lissa

generate signal for drawing lissajous figures
Makefile
23
star
8

abSynth-FM

FM Synthesizer with step sequencer for Arduboy
C++
22
star
9

breakout_rpi_pico

Breakout game for Raspberry Pi Pico with Pimoroni Pico Display pack
C++
22
star
10

InkyConverter

an image conversion tool for pimoroni Inky pHAT ePaper display
C++
17
star
11

freeverb-logue

Korg logue SDK port of Freeverb
C++
15
star
12

teleconf

an effect which generates telephone-like sounds from inputs
Makefile
14
star
13

picovaders

a shooting game for Arduboy
Arduino
13
star
14

TFLite_Micro_MagicWand_M5Stack

M5Stack (ESP32) port of TensorFlow Lite for Microcontrollers demo "Magic Wand"
C++
13
star
15

prologue_tools

Python
12
star
16

schroeder

Basic implementation of Schroeder reverbrator for logue SDK
Makefile
10
star
17

bare_matal_rpi_zero

C
9
star
18

maxisynth

KORG logue SDK 2 for drumlogue synth unit sample code using Maximilian library
C++
6
star
19

veryshort

Makefile
5
star
20

breakout-m5stack

A simple breakout game for M5Stack
C++
5
star
21

ArduboyImager

an image conversion tool for development of Arduboy application
C++
4
star
22

abshell

a comman shell for arduboy
C
4
star
23

eurorack_drumlogue

drumlogue port of mutable instruments modules
C++
4
star
24

SimpleVirtualAnalog

a wave table based OSC. a python script for generating wave table is included.
C
3
star
25

W5500_fritzing_data

3
star
26

MasterVol2

master volume controller for logueSDK-ready synthesizers
Makefile
3
star
27

pwmtest

PWM sound synthesize test for Arduboy
C++
2
star
28

BLIT_osc

a sawtooth oscillator for KORG prologue/minilogue-xd/NTS-1 using BLIT technique
Makefile
2
star
29

LFO-OSC

low frequency oscillator for NTS-1
Makefile
2
star
30

eurorack_nts-1_mkii

C++
1
star
31

ST7735_LCD_fritzing_data

1
star
32

simple_vocoder

An example implementation of 8-band vocoder using logue SDK
C++
1
star
33

eurorack_logue-sdk

C++
1
star
34

pitchy

C++
1
star