4
STM Project Development
In this chapter I will demonstrate how to build C/C++ language projects with a STM Nucleo board using the toolchain created in Chapter 2 and the CubeMX application described in Chapter 3. I will be using C/C++ language to create the source code for these projects. It would be helpful, but not really required, if readers are somewhat familiar with the C/C++ language in order to achieve a better understanding of the entire process. I will go thoroughly into the example code for the “Hello World” project to help clarify what is happening with the source code for those readers who are not too proficient in using C.
Hello World Project
The traditional and customary “Hello World” program is the one that beginning developers ...
Get Programming with STM32: Getting Started with the Nucleo Board and C/C++ 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.