Site Tools


Sidebar

Work

Projects Travel Singapore Socials (External)

projects:software:building_meshtastic_firmware_on_wsl

This is an old revision of the document!


Building Meshtastic Firmware on Windows Subsystem for Linux (WSL)

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.

Prepare Debian Environment

  1. Open and set up user
  2. sudo apt-get install git python3-venv
  3. curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py 
    python3 get-platformio.py

Prepare Meshtastic Firmware Build Environment

  1. git clone https://github.com/meshtastic/firmware.git meshtastic-firmware && cd meshtastic-firmware
  2. Optional: check out a tagged release
    git checkout tags/v2.3.7.30fbcab
  3. ./variants/xiao_ble/xiao_ble.sh

Build the Firmware

  1. pio run -e xiao_ble
  2. UNFINISHED FIXME
projects/software/building_meshtastic_firmware_on_wsl.1714193066.txt.gz · Last modified: 2024/04/27 04:44 by Andrew Yong