ece312/README.md

30 lines
545 B
Markdown

# 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
```