lancaster-university / lancaster-university/microbit-samples
Successfully building this with yotta and Ubuntu 20.04 in 2023
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 119
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No target documentation file or test is named. Review the repository's existing build instructions, then verify the listed Ubuntu 20.04.6 setup and yotta build steps; done means the reproducible requirements and commands are incorporated without ambiguity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, git, python, ubuntu
- Domain
- build-system, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100