© Norman Dunbar 2024
N. DunbarArduino Software InternalsMaker Innovations Serieshttps://doi.org/10.1007/979-8-8688-0171-6_2

2. Arduino Compilation

Norman Dunbar1  
(1)
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 part 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 ...

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.