Discover this podcast and so much more

Podcasts are free to enjoy without a subscription. We also offer ebooks, audiobooks, and so much more for just $11.99/month.

The Arduino Development Toolchain - How it all gets done...

The Arduino Development Toolchain - How it all gets done...

FromLearn Programming and Electronics with Arduino


The Arduino Development Toolchain - How it all gets done...

FromLearn Programming and Electronics with Arduino

ratings:
Length:
9 minutes
Released:
Mar 23, 2017
Format:
Podcast episode

Description

Discussion: In this lesson, we're going to do an overview of the Arduino toolchain.  The toolchain includes all of the software tools that are between us pressing the Verify/Upload buttons and that code actually getting loaded onto the integrated circuit on the Arduino board. I definitely want to stress the keyword overview because there is a lot going on behind the scenes that actually makes it happen.  In practice for us, though, the entire process is just a matter of pressing a button. As we start to dig in, it's tempting to want to know every detail.  However, remember that our goal in this course is to learn programming and electronics. If we're not careful, we can get pulled down this huge rabbit hole.  That being said, I do think it's important to be familiar with the process. We don’t need to understand it in depth.  I just want you to be able to understand and recognize some of the terms and basic concepts associated with this toolchain. Specifically, we’ll discuss: What Is a Toolchain A Toolchain Analogy Toolchain Basics What in the World Is a Toolchain? So, what is a toolchain in the first place?  In programming, a toolchain is just a series of programming tools that work together in order to complete a task. If we were cooking something, like carrot soup, the toolchain might include a carrot peeler, a produce knife, a pot, some water, and a stove. Together, these tools help you create the desired output, carrot soup. When we're developing programs for Arduino, we'll also be using a toolchain.  This all happens behind the scenes. On our end, we literally only have to press a button for the code to get to the board, but it wouldn’t happen without the toolchain. A Helpful Analogy So, I want to start peeling back the curtain on this Arduino toolchain.  Imagine for a moment that you're an author.  In fact, you're a New York Times bestselling author... just like me. What type of toolchain might you use?  Maybe you start off with text editing software, just like Microsoft Word, to type your awesome story. Once you're done with that manuscript, you send it off to a professional editor at a publishing company.  That professional editor is part of this toolchain.  He will look over your manuscript and point out any errors.  He might do some rearranging and other things, as well. After he sends the suggested edits back to you, you make any necessary corrections.  Then, you give the manuscript back to that professional editor to do one last check for errors. He then hands it off to the office next door at that publishing company.  The publishing company can't just take that Microsoft Word file and send it off to a printer.  They need a special file type to format the book for how it should look on a physical page when it actually gets printed. Therefore, they take the manuscript in a Microsoft Word file format, and they turn it into a new file format.  Once this is done, the publisher can send it off to be printed. Luckily, to make the process of printing a whole lot easier, this publisher has an in-house printer.  So, he simply needs to just go right down the hall, so to speak.  The printer takes that file and prints it onto an actual physical page. So, let's review this author's toolchain.  The author writes with a text editor program.  Then, he sends the manuscript to an editor at a publishing company. That editor reviews the manuscript until it is perfect.  He then sends it next door to be formatted. The manuscript is converted into the proper file format, and it is sent off to the printer to create the physical book.  Finally, voilà, somebody buys your book from Amazon to read all about zombies over a warm cup of latte. Arduino Toolchain Basics Why did I go through that long scenario?  Well, the Arduino has a similar toolchain.  When we start writing our code, and we become the author. We do this in the Arduino IDE, which is akin to a text editor.  We also write the code in a programming language called C++, with a fi
Released:
Mar 23, 2017
Format:
Podcast episode

Titles in the series (61)

Video lessons on learning programming and electronics with Arduino. This is part of our Arduino Crash Course and Arduino Course for Absolute Beginners. It's designed to take someone with little or no experience in programming and electronics and get them fast-tracked to learning the skills to prototype using Arduino. We'll include some lessons from the first edition and the second edition of our training course.