Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 1.04 KB

README.md

File metadata and controls

33 lines (28 loc) · 1.04 KB

Breath Of Fresh AIR

Lucky Jordan & Peter Seger

Project Propsal

Can be found here

Final Report

Can be found here

Compiling and Running

These steps are necessary to get the necessary packages and tools needed for the Olin Electric Motorsports build chain.

Getting Libraries

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

Compiling and Flashing Boards

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