AVR Baremetal

Motivation

So I started this quest on doing Baremetal programming of AVR micro-controllers just using

  • avr-gcc for compilation and object, elf file creation
  • avr-objcopy for creating hex file from elf file
  • avrdude and arduino programmer for flashing the chip.
  • make for automating the build, hex file generation process and flashing purposes.

Working Environment

Explore the project

❗
If you’re using PORTD, make sure to remove the TX and RX (D0 and D1) connections on the Arduino Uno before flashing!

References