The process of compiling a program for embedded processors such as the
STM32 can involve quite a few details such as processor specific compilation
flags, paths to the compilation tools, etc. Generally the best approach is
to build a “make” script to guide the process. Rather than diving in at this
level, you should download the code template as described in Section 1.2 which
contains the necessary scripts. The layout of this directory is illustrated in
Figure 1.16.
In order to build this example on your system, you will need to modify
two constants in the file Makefile.common – TOOLROOT which should point