Hey,
So today we look into something which I really was looking for recently. In nutshell it is setup of required components which are necessary to program AVRs on our MacOS.
Here I assume you for sure already have HomeBrew installed as it will be our main point of software installation.
Add new tap
brew tap osx-cross/avr
Install avr-gcc
brew install avr-libc
This one will install avr-binutils
and avr-gcc
. The avr-gcc
installation takes time as it is compiling … so make ur self your favourite drink here 😉
Install avrdude
brew install avrdude --with-usb
Avrdude error when loading MCU in Eclipse
If you have error when using Eclipse and avrdude it seems that the AVR plugin has not been updated for a while. Although this does not affect programming can be easily solved. My friend sanderv32 has created a really nice AVRdude wrapper which solves this problem once and for all!
You can find his repo here => https://github.com/sanderv32/avrdude-av
Happy coding!