This guide shows how to generate a .bin (binary) file from your sketch on Arduino IDE.
Generate a .bin file in Arduino IDE
As an example, we’ll generate a .bin file from the Blink example. Follow the next steps to generate a .bin file from your sketch in Arduino IDE.
1) First, go to Tools > Board and select the right board (for example, ESP32 DEVKIT DOIT Board).
2) Save your sketch.
3) To generate a .bin file from your sketch, go to Sketch > Export compiled Binary
4) A new file on the folder sketch should be created. Go to Sketch > Show Sketch Folder.
5) You should have two files in your Sketch folder: the .ino and the .bin file.
Related content: ESP32 Over-the-air (OTA) Programming – Web Updater Arduino IDE
We hope you’ve found this guide useful.
Thanks for reading!