final_project | ||
lab_1 | ||
lab_2 | ||
lab_3 | ||
lab_4 | ||
.gitignore | ||
CMakeLists.txt | ||
generic-gcc-avr.cmake | ||
README.md |
ECE 312 BABYYYY
I stole the makefile from some random tutorial.
Let's do folders for each lab once we get around to it.
Dependancies
AVR-gcc and stuff like that
sudo apt install -y gcc-avr avrdude avr-libc make cmake
You also have to add yourself to the dialout group.
sudo usermod -aG dialout <username>
CMAKE instructions
You have to specify a custom toolchain when you run cmake for the first time. Example:
mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../generic-gcc-avr.cmake ../
make