Atmega16u2 compiling

I have a custom project that makes use of an Atmega 16U2. Is there a way I can set up the Arduino IDE to create sketches for this chip? (As far as I know, no arduino boards use this processor other than for USB / Serial conversion.)

I'd appreciate any insight on how this can be accomplished. I am currently using Microchip Studio to compile projects for this chip but the code often does not execute as expected, even with the simplest of functions. I have therefore lost faith in it as a tool and want to switch to the Arduino IDE which i have used for years for other custom boards.

Cheers.

Hi @barath47. This boards platform adds support for the ATmega16U2 to Arduino IDE:

1 Like

@ptillisch , thanks for the tip. I will look into it!

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.