Repository of AVR projects.
Install the following software packages on your system:
- avr-binutils
- avr-gcc
- avr-gdb
- avr-libc
- avrdude
- scons
The above packages can usually be found through your system's package manager.
-
Plug in your AVR flash device; note the device port in
/dev
. -
Build the hex and flash your device; for example:
scons --flash --port=/dev/ttyACM0 test_serial
This will prompt for your sudo password. Type
scons --help
for more options; pass additional options if necessary. -
Enjoy!