user15903: I have an Arduino based board using ATmega168PB, but so far only Atmel's provided toolchain supports this microcontroller. I can download the toolchain from Atmel's website, but I am not sure how to make the Arduino environment use it.

user368: In the directory for the new core create a new platform.txt and give the entry for compiler.path the location of the bin/ directory containing the Atmel toolchain.
compiler.path=/path/to/bin/


15903: <p>I have an Arduino based board using ATmega168PB, but so far only Atmel's provided toolchain supports this microcontroller. I can download the toolchain from Atmel's website, but I am not sure how to make the Arduino environment use it.</p>
 368: <p>In the directory for the new core create a new <code>platform.txt</code> and give the entry for <code>compiler.path</code> the location of the <code>bin/</code> directory containing the Atmel toolchain.</p>

<pre><code>compiler.path=/path/to/bin/
</code></pre>
