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.
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://github.com/beagleboard/microblocks-zephyr.git --mf west_pilot.yml .
west update
- Setup Arduino module
ln -srf modules/lib/ArduinoCore-API/api modules/lib/Arduino-Zephyr-API/cores/arduino/.
- Install python deps
west packages pip --install
west build -b beagleconnect_freedom microblocks-zephyr.git -p
west flash