Open fabianhugo opened 1 year ago
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:
sudo apt-get update && sudo apt-get install python-setuptools cmake build-essential ninja-build python-dev libffi-dev libssl-dev
sudo apt install virtualenv cd [workingdirectory] virtualenv --python=$(which python2) yottaenv source yottaenv/bin/activate
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py python2 get-pip.py
pip install yotta
sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi srecord
git clone https://github.com/lancaster-university/microbit-samples.git cd microbit-samples yotta build
Hope this helps someone.
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.