mirror of
https://github.com/meshtastic/meshtastic.git
synced 2025-03-05 21:00:08 -08:00
commit
bfec4b21a7
|
@ -23,7 +23,7 @@ Meshtastic uses the [PlatformIO](https://platformio.org) development environment
|
|||
## Building
|
||||
|
||||
1. Open the newly cloned folder in [Visual Studio Code](https://code.visualstudio.com).
|
||||
1. To select the device you you wish to build for, first open your [command palette](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette) (`Ctrl + Shift + P`) and enter: `platformio: Switch Project Environment` and select your target.
|
||||
1. To select the device you you wish to build for, first open your [command palette](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette) (windows: `Ctrl + Shift + P` or mac: `command + Shift + P` ) and enter: `platformio: Switch Project Environment` and select your target.
|
||||
1. To build the firmware, simply run `PlatformIO: Build` from your command palette.
|
||||
1. Finally flashing the firmware to your device is as easy as running `PlatformIO: Upload`
|
||||
|
||||
|
@ -37,7 +37,7 @@ The build system is modular. Adding a new board variant for an already supported
|
|||
|
||||
```shell
|
||||
cd variants; mkdir m5stack_core
|
||||
cp ../heltec_v1/* m5stack_core
|
||||
cp heltec_v1/* m5stack_core
|
||||
cd m5stack_core
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue