Vehicle Control Unit (VCU) for the 2026 Longhorn Racing Solar car
Clone this repository using the following command
git clone git@github.com:lhr-solar/PS-VehicleControlUnit.git --recursiveFollow the installation instructions for your specific platform, found here.
Additionally, install the Arduino IDE
All firmware is stored in the Firmware/ directory and must be run while in a nix shell. For the first time you will need to run
chmod +x ./run_nix.sh
./run_nix.shThis will place you in a nix shell with all needed dependencies. After the first time, you only need to run the below command to enter the nix shell.
./run_nix.shTo compile production firmware, simply run:
makeTo compile a specific test file, run:
make TEST=[name of test excluding .c and test_]Test files are located in test/ and must have the prefix test_ or else the test won't compile correctly. If you want to run the blinky test, which is located in tests/blinky_test.c you will run
make TEST=blinky