Skip to content

Commit 9d9d70e

Browse files
committed
Vagrant: support Mbed CLI 2
To use Mbed CLI 2, the python package `mbed-tools` is required, and the version of CMake needs to be at least 3.19 so we fetch the latest from the offical PPA.
1 parent 2c2891d commit 9d9d70e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

vagrant/bootstrap-user.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ mkdir -p ~/.local
77
mv gcc-arm-none-eabi-9-2019-q4-major/* ~/.local/
88

99
# Python environment
10-
python3 -m pip install --user cryptography pyasn1 pyyaml jinja2 cbor mbed-cli
10+
python3 -m pip install --user cryptography pyasn1 pyyaml jinja2 cbor mbed-cli mbed-tools

vagrant/bootstrap.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/env bash
22

3+
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | \
4+
gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
5+
apt-add-repository -y 'deb https://apt.kitware.com/ubuntu/ focal main'
36
apt-get update
47
apt-get full-upgrade -y
58
apt-get install -y \

0 commit comments

Comments
 (0)