Conductor for a daisy chain of LTC6804 12-cell battery management ICs. Responsible for safely managing the charging and discharging of large battery packs for electric vehicles for MIT's project teams. Designed for use with ARM Cortex-M microcontrollers and includes a build system capable of static code analysis, unit testing, and in-cicruit hardware testing.
- Build Tools (Make, etc)
- gcc-arm-none-eabi
- Low Level CMSIS Libraries
- lpc21isp flashing tool
- Unity unit testing framework
- oclint c static analysis tool
To compile the firmware binary, run make
make
To run the various unit tests,
make test
To run the static code analyzer
make lint
To run hardware tests
make test_writeflash
To write the binary to flash for the device
make writeflash
To open a serial connection to the device for debugging
make com
To analyze the binary size
make print_size
When porting to other platforms, ensure you provide new low-level CMSIS libraries and an appropriate linked script (gcc.ld). Also, modify the Makefile to use the approrpriate flashing and serial port software