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.
- Create a workspace folder:
mkdir microblocks-workspace
cd microblocks-workspace
- Setup virtualenv
python -m venv .venv
source .venv/bin/activate
pip install west cc1352-flasher
- Setup Zephyr app:
west init -m https://openbeagle.org/ayush1325/microblocks .
west update
- Setup Arduino module
ln -srf modules/lib/ArduinoCore-API/api modules/lib/Arduino-Zephyr-API/cores/arduino/.
- Install python deps
pip install -r zephyr/scripts/requirements-base.txt
Build
west build -b beagleconnect_freedom microblocks -p
Flash
west flash