user50542: I want to obtain the .hex file from my Arduino sketch. I have followed various guides but there is no .hex file in my output folder. 
How can I obtain my hex file?
Here are my preferences:



This is the contents of my output folder




user37622: Based on your setting with the URL for esp8266 package and bin file name with "...generic" I assume you want it for esp8266.
esp8266 doesn't use hex format and "Export compiled binary" creates bin. You can upload it with esptool.
For AVR boards "Export compiled binary" generates hex. You can upload it with avrdude.

50542: <p>I want to obtain the <code>.hex</code> file from my Arduino sketch. I have followed various guides but there is no <code>.hex</code> file in my output folder. </p>

<p>How can I obtain my hex file?</p>

<p>Here are my preferences:</p>

<blockquote>
  <p><a href="https://i.stack.imgur.com/jePRw.png" rel="nofollow noreferrer" title="Arduino IDE preferences"><img src="https://i.stack.imgur.com/jePRw.png" alt="Arduino IDE preferences" title="Arduino IDE preferences"></a></p>
</blockquote>

<p>This is the contents of my output folder</p>

<blockquote>
  <p><a href="https://i.stack.imgur.com/nnMG3.png" rel="nofollow noreferrer" title="Output folder"><img src="https://i.stack.imgur.com/nnMG3.png" alt="Output folder" title="Output folder"></a></p>
</blockquote>
 37622: <p>Based on your setting with the URL for esp8266 package and bin file name with "...generic" I assume you want it for esp8266.</p>

<p>esp8266 doesn't use hex format and "Export compiled binary" creates bin. You can upload it with esptool.</p>

<p>For AVR boards "Export compiled binary" generates hex. You can upload it with avrdude.</p>
