Hardware in the loop firmware, test engine, and test scripts for Purdue Electric Racing (docs).
./TestBench: the Teensy code./hil2: the main HIL "engine"./mk_assert: a simple and low magic test framework./device_configs: the device configuration files./netmaps: exported from Altium, maps signal names to physical locations./tests: the test scripts and configuration files
To install the required Python libraries, run:
python3 -m pip install -r requirements.txtpyserialfor serial communicationcantoolsfor CAN DBC encoding/decodingcoloramafor cross platform colored terminal output