Custom images to build for the roboRIO with cross
Supply firstrustcompetition/cross:IMAGE_VERSION
as a custom image to cross.
For example, add the following to your Cross.toml
:
[target.arm-unknown-linux-gnueabi]
image = "firstrustcompetition/cross:2020_v10"
Then build: cross build --target arm-unknown-linux-gnueabi
.
RoboRIO images are indentified using a tuple of three versions.
- The year, which identifies which ni-frc-XXXX-game-tools package to introspect
- The game tools version, which identifies which in-year version of the game tools package to introspect
- The FRC utilities version, which contains the actual image.
You'll typically want all of these to be on the latest version.
2020_19.0_19.0.0.49153-0+f1
^ ^ ^
| | |
| | utilities version
| |
| game tools version
|
year
Create a new release of this repo using a version tuple as the tag. CI will automatically download the suite, extract the roboRIO image, build a cross image, and push to Docker Hub.