Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
user avatar
authored
Forked from BeagleBoard.org / vsx-examples
Source project has a limited visibility.

MicroBlocks on Zephyr

This repository is aimed to build MicroBlocks for Zephyr boards. While it is only being used for BeagleConnect Freedom for now, it can be easily exteneded to support other boards.

Setup

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

  1. Create a workspace folder:
mkdir microblocks-workspace
cd microblocks-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://openbeagle.org/ayush1325/microblocks .
west update
  1. Setup Arduino module
ln -srf modules/lib/ArduinoCore-API/api modules/lib/Arduino-Zephyr-API/cores/arduino/.
  1. Install python deps
pip install -r zephyr/scripts/requirements-base.txt

Build

west build -b beagleconnect_freedom microblocks -p

Flash

west flash

Helpful Links