This repository holds builds of Python for the RoboRIO, and associated build
scripts. You don't need to build this yourself, instead use the robotpy-installer
and execute robotpy-installer download-python
to download them.
Compiling this can eat up most of your RoboRIO's disk space, so you'll probably want to reimage it before using the RoboRIO in a competition.
There are several non-automated steps:
cfdisk
to partition your USB drivemkswap
to initialize the spaceswapon
cfdisk
to partition as linux partitionmkfs.ext2
to format itmkdir /media/sda1/bin
mkdir /media/sda1/include
mkdir /media/sda1/lib
mkdir /media/sda1/lib
rmdir /usr/local/lib
ln -s /media/sda1/bin /usr/local/bin
ln -s /media/sda1/include /usr/local/include
ln -s /media/sda1/lib /usr/local/lib
Once your RoboRIO is sufficiently mangled, execute this from your host:
make ROBORIO=roborio-XXXX-frc.local BUILD_HOME=/media/sda1 all
Building on a first generation RoboRIO takes about 6 to 7 hours.