Merge pull request #329 from shivharis/patch-1

Update build.mdx
This commit is contained in:
Foster Irwin 2022-05-05 10:49:15 -06:00 committed by GitHub
commit bfec4b21a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
```