mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
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:
21
README.md
21
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user