/micropython-builder

Primary LanguageMakefileMIT LicenseMIT

MicroPython

This repository provides MicroPython builds for BeagleBoard.org boards.

Setup

If this is your first time using zephyr, Install Zephyr SDK before following the steps below.

  1. Create a workspace folder:
mkdir micropython-workspace
cd micropython-workspace
  1. Setup virtualenv
python -m venv .venv
source .venv/bin/activate
pip install west cc1352-flasher
  1. Setup Zephyr app:
west init -m https://github.com/beagleboard/micropython-builder.git --mf upstream_boards/west.yml .
west update
  1. Install python deps
west packages pip --install

Build

west build -p -b ${BOARD} modules/lib/micropython/ports/zephyr -d build

Flash

west flash

Helpful Links