user28153: Does anyone know how to configure the Atmega32u4 to run using an external 8MHz oscillator ?
I needs to still be responsive to the Arduino IDE
Thanks

user3917: See §28.2 in Atmel-7766-8-bit-AVR-ATmega16U4-32U4_Datasheet.pdf, which explains usage of various fuse bits.
Also see engbedded.com/fusecalc, which lets you easily figure out fuse settings.  Fusecalc also tells you the strings to use as part of avrdude command strings.
Once you know the fuse settings, send them to your device via a command like  
avrdude -p m32u4 -c usbasp -u -U lfuse:w:0xEF:m -U hfuse:w:0xD5:m -U efuse:w:0x07:m

or like 
avrdude -p m32u4 -P $port -c arduino -u -U lfuse:w:0xEF:m -U hfuse:w:0xD5:m -U efuse:w:0x07:m

where $port represents a port name like /dev/ttyUSB0.
Note, it makes sense to read the fuses first, and put the readings into Fusecalc to see what they correspond to.  You can read the fuses via a command like
avrdude -p m32u4 -P $port -c arduino -U hfuse:r:-:i


28153: <p>Does anyone know how to configure the Atmega32u4 to run using an external 8MHz oscillator ?</p>

<p>I needs to still be responsive to the Arduino IDE</p>

<p>Thanks</p>
 3917: <p>See §28.2 in <a href="http://www.atmel.com/Images/Atmel-7766-8-bit-AVR-ATmega16U4-32U4_Datasheet.pdf" rel="nofollow noreferrer">Atmel-7766-8-bit-AVR-ATmega16U4-32U4_Datasheet.pdf</a>, which explains usage of various fuse bits.</p>

<p>Also see <a href="http://www.engbedded.com/fusecalc/" rel="nofollow noreferrer">engbedded.com/fusecalc</a>, which lets you easily figure out fuse settings.  Fusecalc also tells you the strings to use as part of avrdude command strings.</p>

<p>Once you know the fuse settings, send them to your device via a command like  </p>

<pre><code>avrdude -p m32u4 -c usbasp -u -U lfuse:w:0xEF:m -U hfuse:w:0xD5:m -U efuse:w:0x07:m
</code></pre>

<p>or like </p>

<pre><code>avrdude -p m32u4 -P $port -c arduino -u -U lfuse:w:0xEF:m -U hfuse:w:0xD5:m -U efuse:w:0x07:m
</code></pre>

<p>where <code>$port</code> represents a port name like <code>/dev/ttyUSB0</code>.</p>

<p>Note, it makes sense to read the fuses first, and put the readings into Fusecalc to see what they correspond to.  You can read the fuses via a command like</p>

<pre><code>avrdude -p m32u4 -P $port -c arduino -U hfuse:r:-:i
</code></pre>
