From 8af6ba05430a38a996420a7d513e446db1b4bb2d Mon Sep 17 00:00:00 2001 From: David Lenfesty Date: Tue, 3 Sep 2019 10:38:04 -0600 Subject: [PATCH] Updated README --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 +```