Update building.mdx (#1686)
Some checks failed
CI / quality (push) Has been cancelled
CI / build (push) Has been cancelled
Crowdin Action / synchronize-with-crowdin (push) Has been cancelled

* Update building.mdx

Added a section for "Update the Build Environment"

* Update building.mdx

Combining steps for easier application
This commit is contained in:
Jason P 2025-01-23 12:46:53 -06:00 committed by GitHub
parent a7a8509d3f
commit c78fc720d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,6 +22,17 @@ Meshtastic uses [PlatformIO](https://platformio.org), a development environment
If you want to build the RP2040 targets and get a 'Filename too long' error on Windows, please refer to [the Platformio documentation for this toolchain](https://arduino-pico.readthedocs.io/en/latest/platformio.html#important-steps-for-windows-users-before-installing)
:::
## Update the Build Environment
1. Change to `firmware` folder
```shell
cd firmware
```
2. Gather the latest changes to the [Meshtastic Firmware](https://github.com/meshtastic/firmware) repository and [submodules](https://github.com/meshtastic/firmware/blob/master/.gitmodules)
```shell
git pull --recurse-submodules
```
## Build
1. Open the newly cloned folder in [Visual Studio Code](https://code.visualstudio.com). If you do this for the first time, this can take quite some while as PlatformIO will download all the necessary tooling and libraries. Also if platformio is not installed, VSCode will ask you to install it, probably requiring a restart of the program.