mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-11-10 07:34:11 -08:00
1.2 KiB
1.2 KiB
id | title | sidebar_label |
---|---|---|
build-env | 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) - 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