From 53170bbb5897288bd3d7b4e619834f3fa8327f98 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Mon, 23 Nov 2020 19:48:26 -0800 Subject: [PATCH] Update roboRIO toolchain installation instructions (#2883) There were conflicting instructions: install via the archive on the releases page, and install using a gradlew command. --- README.md | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 51eb2dba38..1002fc701b 100644 --- a/README.md +++ b/README.md @@ -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.