© Norman Dunbar 2020
N. DunbarArduino Software Internalshttps://doi.org/10.1007/978-1-4842-5790-6_2

2. Arduino Compilation

Norman Dunbar1 
Rawdon, West Yorkshire, UK

This chapter is all about what happens when you compile an Arduino sketch and how the various header files are used. Hopefully, by the time you have read (and understood) this chapter of the book, you’ll have a much better idea of what happens during the compilation of an Arduino sketch. However, before we dive into the gory details of a sketch’s compilation, we need to understand a bit about some of the text files that live in and around the $ARDINST directory.

These files are used to set up the IDE’s menu options and to define the AVR microcontroller and Arduino board to be used. ...

Get Arduino Software Internals: A Complete Guide to How Your Arduino Language and Hardware Work Together now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.