Doing AVR Development on a Mac?

Yeah, we know. The Arduino development environment is quite limiting - especially if you are using an AVR chip that is not supported or you don’t have room for the bootloader in your project.

Something you might not have realised is that the Arduino environment comes with all the development tools needed (avr-gcc, etc) needed to build and burn firmwares for a large number of AVR based MCUs. ¬†Rather than waste your time building and installing development environment you can just hijack Arduino’s ones for your purposes with a single line of shell code. ¬†We’ve added the following to our .bashrc:

Using this we are able to compile axe.io’s usb firmware without issue.