Bash script for avr-gcc and avrdude
This script will take a c file (named main.c), compile it into a main.o file, convert this to a .elf file and then convert the .elf to a .hex and finally flash the chip with this hex using avrdude. First install avrdude by opening terminal and entering : sudo apt-get install avrdude Then install avr-gcc:…