Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Ayush Singh's avatar
Ayush Singh authored
- Add MPL-2.0
- Same as upstream smallvm since we are directly using the source files
  from smallvm.

Signed-off-by: Ayush Singh's avatarAyush Singh <ayush@beagleboard.org>
3293a3c3

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