From IDE to the command line – watching the build process unfold
In this section, our aim is to understand how the compiler within the IDE handles our code when we initiate a build. Additionally, we will delve into the practical applications of some of the GNU Binary Tools we discussed in the previous section.
Observing the build process from the IDE’s perspective
Let’s start by revisiting the bare-metal GPIO driver we developed in the previous chapter.
Begin by launching your STM32CubeIDE. To conduct a proper analysis of the build commands that the IDE executes, it’s necessary to first clean the project and then build again. The reason for this is straightforward – we’ve already built the project, in a previous chapter. Without any modifications to the source code since then, a new build attempt would skip the detailed command execution we aim to scrutinize, since the source code hasn’t changed.
Let’s clean the project...