diff --git a/README.md b/README.md index d2d1272..ce771fc 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,21 @@ 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 +``` + +## 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 +```