Work
Projects- 3D Printing Projects
- Amateur Radio
- Automotive Projects
- Electronics Projects
- Homelab Projects
- Horticulture Projects
- Project Projects
- Software Projects
- Tumblr (photography)
-
Work
ProjectsThis is an old revision of the document!
I needed to build Meshtastic firmware on WSL in order to produce binary UF2 firmware for the Meshtastic XIAO BLE variant.
Here's what I had to do.
sudo apt-get install git python3-venv
curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py python3 get-platformio.py
git clone https://github.com/meshtastic/firmware.git meshtastic-firmware && cd meshtastic-firmware
git checkout tags/v2.3.7.30fbcab
./variants/xiao_ble/xiao_ble.sh
pio run -e xiao_ble
./bin/uf2conv.py .pio/build/xiao_ble/firmware.hex -c -o firmware.uf2 -f 0xADA52840
cp firmware.uf2 /mnt/c/Users/YOUR_WINDOWS_USERNAME/Desktop/