Update roboRIO toolchain installation instructions (#2883)

There were conflicting instructions: install via the archive on
the releases page, and install using a gradlew command.
This commit is contained in:
Tyler Veness
2020-11-23 19:48:26 -08:00
committed by GitHub
parent 467258e050
commit 53170bbb58

View File

@@ -36,25 +36,18 @@ Using Gradle makes building WPILib very straightforward. It only has a few depen
- On Windows, install the JDK 11 .msi from the link above
- On macOS, install the JDK 11 .pkg from the link above
- C++ compiler
- On Linux, install GCC
- On Linux, install GCC 7 or greater
- On Windows, install [Visual Studio Community 2019](https://visualstudio.microsoft.com/vs/community/) and select the C++ programming language during installation (Gradle can't use the build tools for Visual Studio 2019)
- On macOS, install the Xcode command-line build tools via `xcode-select --install`
- [ARM compiler toolchain](https://github.com/wpilibsuite/roborio-toolchain/releases)
- For 2020 and beyond, use GCC version 7 or greater
- ARM compiler toolchain
- Run `./gradlew installRoboRioToolchain` after cloning this repository
- If the WPILib installer was used, this toolchain is already installed
- Raspberry Pi toolchain (optional)
- Run `./gradlew installRaspbianToolchain` after cloning this repository
## Setup
Clone the WPILib repository. If the toolchains are not installed, install them, and make sure they are available on the system PATH. The roboRIO toolchain can be installed via
```bash
./gradlew installRoboRioToolchain
```
and the Raspberry Pi toolchain can be installed via
```bash
./gradlew installRaspbianToolchain
```
Clone the WPILib repository and follow the instructions above for installing any required tooling.
See the [styleguide README](https://github.com/wpilibsuite/styleguide/blob/master/README.md) for wpiformat setup instructions.