Skip to content

Vehicle Control Unit (VCU) for the 2026 Longhorn Racing Solar car

License

Notifications You must be signed in to change notification settings

lhr-solar/PS-VehicleControlUnit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VehicleControlUnit

Vehicle Control Unit (VCU) for the 2026 Longhorn Racing Solar car

CubeMX Picture

Getting Started

Cloning

Clone this repository using the following command

git clone git@github.com:lhr-solar/PS-VehicleControlUnit.git --recursive

Installation

Follow the installation instructions for your specific platform, found here.

Additionally, install the Arduino IDE

Command Usage

Compiling Firmware

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.sh

This 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.sh

To compile production firmware, simply run:

make

Compiling Tests

To 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

About

Vehicle Control Unit (VCU) for the 2026 Longhorn Racing Solar car

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages