Driver station

Setup

  1. Install Teensy Loader here.

Make changes

  1. Most of the code lives in /motors/driver_station*.

Deploy

  1. Build driver station. This outputs a file bazel-bin/motors/driver_station.hex.

    bazel build -c opt --config=cortex-m4f //motors:driver_station
    
  2. Send the file to your local development machiine.

    scp <user@build.frc971.org>:917-Robot-Code/bazel-bin/motors/driver_station.hex ~/Downloads/driver_station.hex
    
  3. Open hex file in Teensy loader. Press button on Teensy.

References

  • Electrical schematics here.