File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 11sudo apt update && sudo apt upgrade -y
2- sudo apt install -y libgpiod-dev libyaml-cpp-dev libbluetooth-dev openssl libssl-dev libulfius-dev liborcania-dev python3.10-venv git
32sudo apt install -y wget python3 python3-pip python3-wheel python3-venv g++ zip git \
4- ca-certificates libgpiod-dev libyaml-cpp-dev libbluetooth-dev \
5- libusb-1.0-0-dev libulfius-dev liborcania-dev libssl-dev pkg-config && \
3+ ca-certificates libgpiod-dev libi2c-dev libyaml-cpp-dev libbluetooth-dev \
4+ libusb-1.0-0-dev libulfius-dev liborcania-dev libssl-dev pkg-config
65wget -O get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
76python3 get-platformio.py
8- sudo mkdir -p /usr/local/bin
9- sudo ln -s ~ /.platformio/penv/bin/platformio /usr/local/bin/platformio
10- sudo ln -s ~ /.platformio/penv/bin/pio /usr/local/bin/pio
11- sudo ln -s ~ /.platformio/penv/bin/piodebuggdb /usr/local/bin/piodebuggdb
127mkdir ~ /meshtastic-source
138cd ~ /meshtastic-source
149git clone https://github.com/meshtastic/firmware.git
1510cd firmware/
1611git fetch --tags
1712latestTag=$( git describe --tags " $( git rev-list --tags --max-count=1) " )
1813git checkout $latestTag
19- . ~ /.platformio/penv/bin/activate
20- sudo ./bin/build-native.sh
14+ source ~ /.platformio/penv/bin/activate
15+ ./bin/build-native.sh
16+ deactivate
2117sudo ./bin/native-install.sh
You can’t perform that action at this time.
0 commit comments