Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Successfully building this with yotta and Ubuntu 20.04 in 2023 #40

Open
fabianhugo opened this issue Mar 30, 2023 · 0 comments
Open

Successfully building this with yotta and Ubuntu 20.04 in 2023 #40

fabianhugo opened this issue Mar 30, 2023 · 0 comments

Comments

@fabianhugo
Copy link

Hi,
just started from a fresh install of Ubuntu 20.04.6 and wanted to document the necessary steps of building this in march '23:

Install requirements of yotta, leaving out easy_install pip (link)

sudo apt-get update && sudo apt-get install python-setuptools cmake build-essential ninja-build python-dev libffi-dev libssl-dev

Create VirtualEnv to protect Python Installation (Installing yotta with pip3/python3 can mess up your python installation!)

sudo apt install virtualenv
cd [workingdirectory]
virtualenv --python=$(which python2) yottaenv
source yottaenv/bin/activate

Install pip2

wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
python2 get-pip.py

Install Yotta inside your Virtual Environment

pip install yotta

Install requirements for microbit-samples

sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi srecord

Clone microbit-samples and build

git clone https://github.com/lancaster-university/microbit-samples.git
cd microbit-samples
yotta build

Hope this helps someone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant