19 lines
347 B
Markdown
19 lines
347 B
Markdown
|
# Programming for the `atmega382p`
|
||
|
|
||
|
## Dependencies
|
||
|
|
||
|
```bash
|
||
|
dnf install avr-gcc avr-binutils avr-gcc-c++ avr-libc avrdude
|
||
|
```
|
||
|
|
||
|
Note: The `avr-libc` files will be located in `/usr/avr`.
|
||
|
|
||
|
## Build
|
||
|
|
||
|
It is assumed that the board will be available on `/dev/ttyUSB0`. Your user
|
||
|
should be part of the `dialout` group.
|
||
|
|
||
|
```bash
|
||
|
bash build.sh buttons
|
||
|
```
|