mirror of
https://github.com/meshtastic/meshtastic.git
synced 2025-01-03 09:57:49 -08:00
1.4 KiB
1.4 KiB
id | title | sidebar_label |
---|---|---|
build | Creating a build environment | Building Meshtastic |
Meshtastic uses the PlatformIO development environment, that enables easy multiplatform development and centralized tooling.
Setup
-
Install PlatformIO, following the instructions available here.
-
Clone the
meshtastic-device
repository located here. (Instructions on cloning) -
Clone the Submodules
git submodule update --init
-
Some utilities and scripts use the Python programming language, Downloads available here.
Building
- Open the newly cloned folder in Visual Studio Code.
- To select the device you you wish to build for, first open your command palette (
Ctrl + Shift + P
) and enter:platformio: Switch Project Environment
and select your target. - To build the firmware, simply run
PlatformIO: Build
from your command palette. - Finally flashing the firmware to your device is as easy as running
PlatformIO: Upload