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

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:software:building_meshtastic_firmware_on_wsl [2024/04/27 05:39] – [Upload the Firmware] spelling 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>
-  - <code>./bin/uf2conv.py .pio/build/xiao_ble/firmware.hex -c -o firmware.uf2 -f 0xADA52840</code> 
   - <code>cp firmware.uf2 /mnt/c/Users/YOUR_WINDOWS_USERNAME/Desktop/</code>   - <code>cp firmware.uf2 /mnt/c/Users/YOUR_WINDOWS_USERNAME/Desktop/</code>
  
Line 28: Line 28:
  
   - 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   - 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 drivw+  - Copy firmware.uf2 from your desktop to the USB drive
projects/software/building_meshtastic_firmware_on_wsl.1714196361.txt.gz · Last modified: 2024/04/27 05:39 by Andrew Yong