Can be found here
Can be found here
These steps are necessary to get the necessary packages and tools needed for the Olin Electric Motorsports build chain.
First run the setup.sh script to get all the defualt AVR libraries.
$ sudo bash setup.sh
Then you need to add an additional AVR library for the specific MCU we use (ATmega16m1)
$ bash getDir.sh
To flash your C code onto an ATmega, you need to compile that code into a certain type that the ATmega can read.
$ python3 make.py
Then just enter what board you want to flash (BREATHOFFRESHAIR) and select if you want to flash it or just compile it. Select to just compile it.
$ Flash (y/n) or Set Fuses(fuses):fuses
n
Voila! Happy programming