Site Tools


projects:software:building_meshtastic_firmware_on_wsl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
projects:software:building_meshtastic_firmware_on_wsl [2024/04/27 04:44] – created Andrew Yongprojects:software:building_meshtastic_firmware_on_wsl [2024/10/16 17:00] (current) – no longer require custom scripts for xiao_ble; ensure submodules are updated Andrew Yong
Line 15: Line 15:
 ===== Prepare Meshtastic Firmware Build Environment ===== ===== Prepare Meshtastic Firmware Build Environment =====
  
-  - <code>git clone https://github.com/meshtastic/firmware.git meshtastic-firmware && cd meshtastic-firmware</code> +  - ''git clone https://github.com/meshtastic/firmware.git meshtastic-firmware && cd meshtastic-firmware'' 
-  - Optional: check out a tagged release\\ <code>git checkout tags/v2.3.7.30fbcab</code> +  - Optional: check out a tagged release\\ <code>git checkout tags/v2.3.8.d490a33</code> 
-  - <code>./variants/xiao_ble/xiao_ble.sh</code>+  - ''git submodule init'' 
 +  - ''git submodule update''
  
 ===== Build the Firmware ===== ===== Build the Firmware =====
  
   - <code>pio run -e xiao_ble</code>   - <code>pio run -e xiao_ble</code>
-  - UNFINISHED FIXME+  - <code>cp firmware.uf2 /mnt/c/Users/YOUR_WINDOWS_USERNAME/Desktop/</code> 
 + 
 +===== Upload the Firmware ===== 
 + 
 +  - Connect the XIAO BLE to the computer USB and double tap the reset button, the red LED will breathe and a USB drive "XIAO-BOOT" will be mounted 
 +  - Copy firmware.uf2 from your desktop to the USB drive
projects/software/building_meshtastic_firmware_on_wsl.1714193066.txt.gz · Last modified: 2024/04/27 04:44 by Andrew Yong