Updated README

This commit is contained in:
David Lenfesty 2019-09-03 10:38:04 -06:00
parent 227f8c22dd
commit 8af6ba0543

View File

@ -3,3 +3,21 @@
I stole the makefile from some random tutorial. I stole the makefile from some random tutorial.
Let's do folders for each lab once we get around to it. 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
```